?
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/manage_sale.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?> <html class="no-js" lang="en"> <head> <?php $this->load->view('jsfiles'); $this->load->view('header'); $this->load->view('commonfunctions'); $this->load->view('settings/settingsfunctions'); ?> <script type="text/javascript"> $(document).ready(function() { viewdata('inventory','viewininventorysearch','search_sale','view_sale','1'); }); function load_inventory_student_details(batch_id,inventory_id,page) { $("#inner_content").empty().html('<CENTER><img src="<?= base_url() ?>assets/images/loading.gif" class="loading"/></CENTER>'); $("#inner_content").load("<?= site_url() ?>/inventory/load_inventory_student_details/"+batch_id+"/"+inventory_id+"/"+page); } function suggestBatch(div) { $(div).autocomplete("<?= site_url() ?>/master/autosuggestbatch/", { width: 250, selectFirst: false, onCallBack: function(id,index) { // get_student(id) } }); } function suggestStudent(div){ $('#stud_details').css('display','none'); $(div).autocomplete("<?= site_url() ?>/master/autosuggeststudent/", { width: 250, selectFirst: false, onCallBack: function(id,index) { if(id!="") { $.ajax({ type: "POST", dataType:"json", url: "<?= site_url('master/getStudentDetails/') ?>/"+id, success: function(data) { $('#stud_details').css('display','block'); $('#stud_gender').val(data.gender); $('#stud_reg').val(data.reg_no); $('#stud_nationality').val(data.nationality); } }); } else { $('#stud_details').css('display','none'); $('#stud_gender,#stud_reg').val(''); } } }); } </script> </head> <body> <div id="height-wrapper"> <?php $this->load->view('menu'); ?> <div role="main" class="container_12" id="content-wrapper"> <div id="main_content"> <?php $this->load->view('top'); ?> <div id="inner_content"> </div> </div> <div class="push clear"></div> </div> <div class="clear"></div> <div class="push"></div> </div> <?php $this->load->view('footer'); ?> </body> </html>