?
Current Path : /home1/savoy/public_html/savoyglobal.net/sec/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/savoyglobal.net/sec/application/views/master/edit_inventory.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Updating Inventory Details</div> <div class="tools"> <a href="#" onclick="viewdata('master','viewinmastersearch','search_inventory','view_inventory','<?=$_SESSION['pagenum'];?>')" class="remove"></a> </div> </div> <div class="portlet-body form"> <!-- BEGIN FORM--> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate'); echo form_open('master/addinmaster/update_inventory/view_inventory/1',$attributes); $course=$this->mastermodel->get_data('franchisee_course',$viewinfo->franchisee_id,'franchisee_id') ?> <h3 class="form-section"></h3> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Franchisee</label> <div class="controls"> <?=$this->mastermodel->get_single_field_value('franchisee','franchisee_name','franchisee_id',$viewinfo->franchisee_id)?> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Course </label> <div class="controls"> <select class="required chosen span12" 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> </div> <div class="row-fluid"> <div class="span6 "> <div class="row-fluid"> <div class="control-group"> <label class="control-label">Inventory Type</label> <div class="controls"> <input name="inventory_type" id="inventory_type" class="required m-wrap span12" value="<?=$viewinfo->inventory_type?>" /> </div> </div> </div> </div> <div class="span6 "> <div class="row-fluid"> <div class="control-group"> <label class="control-label">Stock Reorder Qty</label> <div class="controls"> <input name="inventory_reorder_qty" id="inventory_reorder_qty" value="<?=$viewinfo->inventory_reorder_qty ?>" class="required m-wrap span12" /> </div> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Alert On Homepage</label> <div class="controls"> <select name="inventory_alert" class="required chosen m-wrap span12" > <option value="">--Select--</option> <option value="1" <?php if($viewinfo->inventory_alert=="1"){echo "selected";}?>>Required</option> <option value="0" <?php if($viewinfo->inventory_alert=="0"){echo "selected";}?>>Not Required</option> </select> </div> </div> </div> <div class="span6 "> <div class="row-fluid"> <div class="control-group"> <label class="control-label">Remarks</label> <div class="controls"> <textarea name="inventory_remarks" id="inventory_remarks" class="m-wrap span12" ><?=$viewinfo->inventory_remarks?></textarea> </div> </div> </div> </div> </div> <div class="form-actions"> <input type="hidden" name="tab_name" value="inventory"/> <input type="hidden" name="resfunction" value="search_inventory"/> <input type="hidden" name="inventory_id" value="<?= $viewinfo->inventory_id; ?>"/> <button type="submit" onclick="addformdata('validateform')" class="btn blue"><i class="icon-ok"></i> Save</button> <button type="button" onclick="viewdata('master','viewinmastersearch','search_inventory','view_inventory','<?=$_SESSION['pagenum'];?>')" class="btn">Cancel</button> </div> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div> <