?
Current Path : /home1/savoy/public_html/oscarerp.com/application/views/master/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/oscarerp.com/application/views/master/edit_inventory.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="icons_main"> <div class="icons"> <img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('master','viewinmastersearch','search_inventory','view_inventory','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Updating Inventory Details</h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('master/addinmaster/update_inventory/view_inventory/1',$attributes); $course=$this->mastermodel->get_data('franchisee_course',$viewinfo->franchisee_id,'franchisee_id') ?> <div class="grid_6"> <div class="box"> <div class="header"> <span></span> </div> <div class="content no-padding"> <div class="section _100"> <label>Franchisee Name</label> <div class="single_page"> <?=$this->mastermodel->get_single_field_value('franchisee','franchisee_name','franchisee_id',$viewinfo->franchisee_id)?> </div> </div> <div class="section _100"> <label>Course Name</label> <div class="single_page"> <select class="chzn-done required" name="course_id" id="course_id" > <option value="">Select</option> <?php foreach($course as $list) { ?> <option value="<?=$list['course_id'];?>"<?php if($list['course_id']==$viewinfo->course_id){echo "selected";}?>><?=$this->mastermodel->get_single_field_value('course','course_name','course_id',$list['course_id']);?></option> <?php } ?> </select> </div> </div> <div class="section _100"> <label>Inventory Type</label> <div> <input name="inventory_type" id="inventory_type" class="required" value="<?=$viewinfo->inventory_type?>"/> </div> </div> <div class="section _100"> <label> Remarks</label> <div> <textarea name="inventory_remarks" id="inventory_remarks" ><?=$viewinfo->inventory_remarks?></textarea> </div> </div> </div> <div class="actions"> <div class="actions-left"> <input type="reset" /> <input type="hidden" name="resfunction" value="search_inventory"/> <input type="hidden" name="inventory_id" value="<?=$viewinfo->inventory_id?>"/> </div> <div class="actions-right"> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </div> </div> </div> </div> <?php echo form_close();?>