?
Current Path : /home1/savoy/www/savoyglobal.net/drafthr/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/drafthr/system/application/views/Accounting/ageing_report_page.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('Accounting/reportfunctions'); ?> <script> jQuery(document).ready(function () { $('.one').datepick({dateFormat: 'dd-mm-yyyy'}); $('.two').datepick({dateFormat: 'dd-mm-yyyy'}); suggestaccount('accountname'); }); </script> <div class="select-bar"> <br/><br/> </div> <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <script type="text/javascript"> function generateageing() { if(validateform('acc_name')) { fromdate= $('#fromdate').val(); accval= $('#acc_name').val(); sbstr=accval.substring(0,3); if(sbstr!='CRP'&& sbstr!='INS'&& sbstr!='EMP'&& sbstr!='IDL') { alert("This account no cannot be processed") return false; } else { window.location.href = "<?= site_url('accounting/pdf_ageing_report/') ?>"+"/"+fromdate+"/"+accval; } } } </script> <form id="customForm" name="customForm"> <fieldset> <div class="leftalign"> <ul> <li><label>Choose Account</label> <input name="acc_name" type="text" id="acc_name" /> <input name="to_bank" type="hidden" id="to_bank" readonly /> <img id="inliexample2" src="<?=base_url()?>/assets/images/button-search.png" title="Search" class="clickimage" onclick="showaccountdiv()" /></li> <div style='display:none'> <div id='inline_example1' style='padding:10px; background:#fff;'> </div> </div> <li >OR</li> <li> <label>Choose Account No</label><input type="text" name="accountname" id="accountname" /> <img src="<?=base_url()?>/assets/images/use.png" class="clickimage" onclick="useaccountname($('input#accountname').val())" alt="" width="20" height="20" /> <input type="hidden" name="accountname_id" id="accountname_id"> </li> <li> <div id="enddet" > </div> <li><label> Date</label><label><input class="one" id="fromdate" name="fromdate" value="<?=date('d-m-Y')?>" readonly="true" type="text" style="background-image: url(../../../../assets/images/datefocus.gif);"></label></li> </ul> </div> <div class="centeralign"><ul> <li><label><input type="button" value="Generate Report" class="clickimage" onclick="return generateageing();"></label></li> </ul> </div> </fieldset> </form>