?
Current Path : /home1/savoy/www/savoyglobal.net/sibs_draft/system/application/views/Accounting/ |
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/sibs_draft/system/application/views/Accounting/customerpayment.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <?php $this->load->view('header'); $this->load->view('Accounting/accounting_common_function'); ?> <script> $(document).ready(function(){ //Display Loading Image showunpost_customerpayment(1); }); function showcustomerpayment_page(pagenum) { $("#gl_class").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#gl_class").load("<?= site_url('accounting/viewcustaccount_pages/view_customerpayment/2/') ?>" +"/" + pagenum); } function showunpost_customerpayment(pagenum) { $("#gl_class").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#gl_class").load("<?= site_url('accounting/viewunpostcust_payment/view_unpost_customerpayment/2/') ?>" +"/" + pagenum); } function addcustomerpayment_page() { $("#gl_class").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#gl_class").load("<?= site_url('accounting/viewaccount_page/add_customerpayment') ?>"); } function process_customerpayment(refid) { $("#gl_class").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#gl_class").load("<?= site_url('accounting/Insertpayment/') ?>/"+refid,function(data){ showunpost_customerpayment(1) }); } function edit_customerpayment(refid) { $("#gl_class").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#gl_class").load("<?= site_url('accounting/Geteditpayment/edit_customer_payment/') ?>/"+refid); } function del_customerpayment(refid,pageno) { $("#gl_class").load("<?= site_url('accounting/delete_trans_custdata/') ?>" +"/" +'1' + "/" + refid+ "/" + pageno,function(){ showcustomerpayment_page(pageno); }); } function view_customerpayment(cusid,tid) { $(".anchor").colorbox({width:"66%",height:"70%", inline:true, href:"#combo"}); $("#combo").load("<?= site_url('accounting/viewsinglecustpayment/') ?>" + "/" + cusid + "/" + tid,function(){ }); } function view_deposit(refid) { $(".anchor").colorbox({width:"66%",height:"70%", inline:true, href:"#combo"}); $("#combo").load("<?= site_url('accounting/viewsinglepayment/') ?>" +"/" +'2' + "/" + refid,function(){ }); } function showsinglecustomerpayment(id) { $("#gl_class").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#gl_class").load("<?= site_url('accounting/viewsinglecustaccount_pages/viewsinglecust_payment/') ?>" +"/" + id); } function del_unpost(rwd,field,pageno) { $("#ck_permission").load("<?= site_url('master/check_permissions/') ?>"+"/"+rwd,function(data) { if(data==1) { $("#gl_class").load("<?= site_url('accounting/deleteunpost_journal/unposted_pay_dep') ?>" +"/" + field,function(data){ showunpost_customerpayment(pageno) }); } }); } function search_unposted_customer_payment(seloption,serctext) { serctext = serctext.replace(/ /g,"~"); serctext = serctext.replace(/\//g,"_"); $("#gl_class").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading" /></CENTER>'); $('#gl_class').load("<?php echo site_url('accounting/search_unposted_customer_payment/view_unpost_customerpayment/'); ?>/"+ seloption + "/" +1+ "/"+serctext); } function search_posted_customer_payment(seloption,serctext) { serctext = serctext.replace(/ /g,"~"); serctext = serctext.replace(/\//g,"_"); $("#gl_class").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading" /></CENTER>'); $('#gl_class').load("<?php echo site_url('accounting/search_posted_customer_payment/view_customerpayment/'); ?>/"+ seloption + "/" +1+ "/"+serctext); } </script> <body> <div id="main"> <div style="display: none" id="temp"></div> <?php $this->load->view('menu'); ?> <div id="middle"> <?php $this->load->view('leftbar'); ?> <div id="center-column"> <?php $this->load->view('topbar'); ?> <div id="addmenu" style="display: none"> </div> <div style="" id="Main-content"> <div id="gl_class"></div> <div> </div> </div> </div> </div> <?php $this->load->view('footer'); ?> </div> </body> </html> <div id="noname" style="display:none" > <div id='combo' style='padding:10px; background:#fff;'></div> </div> <div style="display:none" > <div id="customerdiv"></div></div>