?
Current Path : /home1/savoy/public_html/savoyglobal.net/koaladraft/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/public_html/savoyglobal.net/koaladraft/application/views/accounting/sub_acc_ledger.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'); ?> </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"> <?php $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('accounting/getAccountingReports/sub_general_ledger/_general_ledger', $attributes); ?> <div class="clean"></div> <div class="grid_6"> <div class="box"> <div class="header main"> <span>Sub/Acc General Ledger</span> </div> <div class="content no-padding"> <div class="section _100" > <label>Choose Main Account</label> <div> <input name="main_account" id="main_account" class="required" > <input name="main_account_id" id="main_account_id" class="required" type="hidden"> </div> </div> <div class="section _100" > <label>Range From</label> <div> <input type="text" name="code1" id="code1" onkeypress="suggestsubofmainaccount('code1',1);"/> <input type="hidden" name="rangefrom" id="code1_id"/> </div> </div> <div class="section _100" > <label>Range To</label> <div> <input type="text" name="code2" id="code2" onkeypress="suggestsubofmainaccount('code2',1);"/> <input type="hidden" name="rangeto" id="code2_id"/> </div> </div> <div class="section _100"> <label>Start Date</label> <div> <input style="width: 150px;float: left;" value="<?= date('d-m-Y') ?>" name="start_date" id="start_date" class="required calfocus" > </div> </div> <div class="section _100"> <label>End Date</label> <div> <input style="width: 150px;float: left;" value="<?= date('d-m-Y') ?>" name="end_date" id="end_date" class="required calfocus" > </div> </div> <div class="section _100"> <label>Report In</label> <div> <select name="reportin" id="reportin" class="chzn-done"> <option value="pdf" selected="selected">PDF</option> <option value="xls">XLS</option> </select> </div> </div> <div class="grid_12"> <div class="actions"> <div class="actions-left"> <input type="reset"> <input type="hidden" name="file_name" value="Sub Account Ledger"/> </div> <div class="actions-right"> <button style="margin-left: 130px;" type="submit" id="submit" class="clickimage" onclick="addformdata1('validateform')" >Generate</button> </div> </div> </div> </div> </div> <?php echo form_close(); ?> <!-- <div id="loadresult"></div>--> </div> </div> <div class="push clear"></div> </div> <div class="clear"></div> <div class="push"></div> </div> <?php $this->load->view('footer'); ?> <script src="<?= base_url() ?>assets/js/jquery.autocomplete.js"></script> <script> $(document).ready(function() { suggestmainaccount('#main_account'); }); function suggestsubofmainaccount(divid,flag) { var mainaccountid=$('#main_account_id').val(); if(mainaccountid=='' && flag==1) { alert("Select main account"); } else { $("#"+divid).autocomplete("<?= site_url() ?>/master/autosuggestsubofmainaccount/"+mainaccountid, { width: 250, selectFirst: false }); } } </script> </body> </html>