?
Current Path : /home1/savoy/www/savoyglobal.net/sec_old/application/views/inventory/ |
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/www/savoyglobal.net/sec_old/application/views/inventory/add_inventory.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <script> function get_course(course_id) { $('#course_id').empty().html('<CENTER><img src="<?=base_url()?>assets/images/loading.gif" class="loading"/></CENTER>'); $('#course_id').load("<?=site_url() ?>/master/get_course_franchisee/"+course_id); } </script> <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>Creating new Inventory Details</h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('master/addinmaster/insert_inventory/view_inventory/1',$attributes); ?> <div class="grid_6"> <div class="box"> <div class="header"> <span></span> </div> <div class="content no-padding"> <div class="section _100"> <label>Franchisee</label> <div> <select class="required chzn-done" 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 class="section _100"> <label>Course</label> <div> <select class="chzn-done required" name="course_id" id="course_id"> <option value="">Select</option> </select> </div> </div> <div class="section _100"> <label>Inventory Type</label> <div> <input name="inventory_type" id="inventory_type" class="required" /> </div> </div> <div class="section _100"> <label> Remarks</label> <div> <textarea name="inventory_remarks" id="inventory_remarks" ></textarea> </div> </div> </div> <?php //// $this->load->view('unique_form'); ?> <div class="actions"> <div class="actions-left"> <input type="reset" /> <input type="hidden" name="resfunction" value="search_inventory"/> </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();?>