?
Current Path : /home1/savoy/www/oscarerp.com/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/oscarerp.com/application/views/accounting/view_reconciliation.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <script src="<?= base_url() ?>assets/js/jquery.autocomplete.js"></script> <script> $(document).ready(function() { suggest_bank_account('#account'); }); function searchreconcile() { if(document.getElementById('account_id').value!="") { var acc=document.getElementById('account_id').value.split("~"); var account = acc[1]; var cheque=$('#reconcile_cheq:checked').length var statement = document.getElementById('statement').value; $("#loadresult").empty().html('<CENTER><img src="<?= base_url() ?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#loadresult").load("<?= site_url('accounting/searchreconcile/searchreconcilepage/') ?>" + "/" + account + "/" + statement+"/"+cheque ); } else alert("Select Any Account") } function check_reconcile() { var statement = document.getElementById('statement').value; if(statement!='new') { document.getElementById("reconcile_cheq").disabled=false; } } </script> <div id="viewmsg2" style="width: 100%;float: left;height: 25px;"></div> <div class="icons_main"> <div class="icons"> </div> <div class="icons_caption"> <h4>Reconciliation</h4> </div> </div> <?php $accounts = $this->mastermodel->getdatas('finance_chart_master', 'chart_type_id', '', 'chart_master_id'); $reconcile = $this->mastermodel->getdistinct_rec_date(); $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('', $attributes); ?> <div class="clean"></div> <div class="grid_12"> <div class="box"> <div class="header main no-icon"> Reconcile Bank Account <span></span> </div> <div class="content no-padding"> <table class="table"> <tr> <th>Account :</th> <th>Bank Statement :</th> <th>Reconciled Cheque</th> </tr> <tr> <td> <input type="text" name="account" id="account" style="width: 300px;" onchange="empty_text('account_id')"/> <input type="hidden" name="account_id" id="account_id" /> </td> <td> <select name="statement" id="statement" class="required chzn-done" onchange="check_reconcile()"> <option value="new">New</option> <?php foreach ($reconcile as $value) { echo '<option value="'.$value['reconcile_date'].'">'.$this->mastermodel->convertdatenormalformat($value['reconcile_date']).'</option>'; } ?> </select> </td> <td><input type="checkbox" name="reconcile_cheq" id="reconcile_cheq" disabled/></td> </tr> </table> </div> <div class="actions"> <div class="actions-left"> <input type="reset"> </div> <div class="actions-right"> <button type="button" class="clickimage" name="search" onclick="searchreconcile()" id="button1" >Find Transaction</button> </div> </div> </div> </div> <?php echo form_close(); ?> <div id="loadresult"></div> <div style="display: none"> <div id="color"></div> </div> <?php