?
Current Path : /home1/savoy/www/savoyglobal.net/eldertree/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/eldertree/application/views/accounting/view_reconciliation.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); $this->load->view('accounting/accountingfunctions'); ?> <!--<script src="<?= base_url() ?>assets/scripts/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/img/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 class="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Reconciliation</div> </div> <div class="portlet-body form"> <!-- BEGIN FORM--> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate'); $accounts = $this->mastermodel->getdatas('finance_chart_master', 'chart_type_id'); $reconcile = $this->mastermodel->getdistinct_rec_date(); echo form_open('', $attributes); ?> <h3> Reconcile Bank Account</h3> <div id="viewmsg" style="width: 100%;float: left;height: 25px;"></div> <table class="table table-striped table-hover table-bordered" id="sample_3" style="background-color: white;"> <tr> <th>Account :</th> <th>Bank Statement :</th> <th>Reconciled Cheque</th> </tr> <tr> <td> <input type="text" name="account" class="span12" id="account" style="" onchange="empty_text('account_id')"/> <input type="hidden" name="account_id" id="account_id" /> </td> <td> <select name="statement" id="statement" class="required chosen span12" 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 class="form-actions"> <button type="button" class="clickimage" class="btn blue" name="search" onclick="searchreconcile()" id="button1" >Find Transaction</button> </div> <?php echo form_close(); ?> <!-- END FORM--> <div id="loadresult"></div> <div style="display: none"> <div id="color"></div> </div> </div> </div> </div> </div>