?
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/add_bank_journal.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() { checkfiscalyear(); suggest_bank_account('#from_account,#to_account'); }); </script> <div class="icons_main"> <div class="icons"> <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('accounting', 'viewinaccountingsearch', 'search_bank_journal', 'view_bank_journal', '<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Creating Bank Journal</h4> </div> </div> <div id="viewmsg" style="width: 100%;float: left;height: 25px;"></div> <?php $bankacc = $this->mastermodel->getdatas('finance_bank_account', 'bank_account_id', 'asc', 'bank_account_id'); $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('accounting/addinaccounting/insert_bank_journal/view_bank_journal/1', $attributes); ?> <input type="hidden" name="transaction_id" value="4"/> <div class="grid_6"> <div class="box"> <div class="content no-padding"> <div class="header main"> Bank To Bank Transfer</div> <table class="table"> <tr> <td>From Account</td> <td> <input type="text" name="from_account" id="from_account" style="width: 300px;" onchange="empty_text('from_account_id')" class="required" onblur="check_bank('from_account')"/> <input type="hidden" name="from_account_id" id="from_account_id" /> </td> </tr> <tr> <td>To Account</td> <td> <input type="text" name="to_account" id="to_account" style="width: 300px;" onchange="empty_text('to_account_id')" class="required" onblur="check_bank('to_account')"/> <input type="hidden" name="to_account_id" id="to_account_id" /> </td> </tr> <tr> <td>Amount</td> <td><input class="w_90 text_r required auto" type="text" name="amount" id="amount" style="width: 200px;" onblur="checkamount(this.id)"/></td> </tr> </table> </div> </div> </div> <?php ?> <div class="grid_6"> <div class="box"> <div class="content no-padding"> <div class="header main"> </div> <table class="table"> <tr> <td>Transaction No: </td> <td><input class="w_90 " type="text" name="transaction_no" readonly="readonly" value="auto-generated" id="course"/></td> </tr> <tr> <td>Date</td> <td><input class="w_90 required calfocus" type="text" name="journal_date" id="journal_date" /></td> </tr> </table> </div> </div> </div> <div class="grid_12"> <div class="box" id='payment_mode'> </div> </div> <div class="grid_12"> <div class="box"> <div class="actions"> <div class="actions-left"> <input type="reset"> </div> <div class="actions-right"> <button type="submit" id="button1" class="clickimage" onclick=" checkdatavalidity($('#from_account_id').val(),'from_account','From Account not in List'); checkdatavalidity($('#to_account_id').val(),'to_account','To Bank Account not in List'); addformdata('validateform')">Transfer Amount</button> </div> </div> </div> </div> <?php echo form_close(); ?>