?
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/add_inventory.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?> <!--<script type="text/javascript" src="<?= base_url() ?>assets/scripts/jquery-1.4.4.min.js"></script> --> <script> function get_course(course_id) { $('#course_id').empty().html('<CENTER><img src="<?=base_url()?>assets/img/loading.gif" class="loading"/></CENTER>'); $('#course_id').load("<?=site_url() ?>/master/get_course_franchisee/"+course_id); $('#course_id_chzn').remove(); $('#course_id').removeClass('chzn-done'); $('#course_id').show(); } </script> <?php $this->load->view('documentreadyfunctions'); ?> <!-- BEGIN PAGE LEVEL STYLES --> <!-- END PAGE LEVEL STYLES --> <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>Add new Inventory</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/insert_inventory/view_inventory/1',$attributes); ?> <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"> <select class="required chosen span12" name="franchisee_id" id="franchisee_id" onchange="get_course(this.value)"> <option value="">Select</option> <?php $franchisee=$this->mastermodel->getdatas('franchisee','franchisee_id'); foreach($franchisee as $list) { ?> <option value="<?=$list['franchisee_id'];?>"><?=$list['franchisee_name'];?></option> <?php } ?> </select> </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> </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" /> </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" class="required m-wrap span12" /> </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">Required</option> <option value="0">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" ></textarea> </div> </div> </div> </div> </div> <div class="form-actions"> <input type="hidden" name="tab_name" value="class"/> <input type="hidden" name="resfunction" value="search_class"/> <button type="submit" onclick="addformdata('validateform')" class="btn blue"><i class="icon-ok"></i> Save</button> <button type="button" onclick="viewdata('master','viewinmastersearch','search_class','view_class','<?= $_SESSION['pagenum']; ?>')" class="btn">Cancel</button> </div> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div>