?
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_post_dated_cheque.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(); $(".addRow_payment").btnAddRow({inputBoxAutoNumber: true}, function(row) { suggestchartaccount('.payment_account'); }); suggestchartaccount('.payment_account'); suggest_bank_account('#bankacc'); }); </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_post_dated_cheque','view_post_dated_cheque','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Add Post Dated Cheque </h4> </div> </div> <div id="viewmsg" style="width: 100%;float: left;height: 25px;"></div> <?php $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('accounting/addinaccounting/insert_post_dated_cheque/view_post_dated_cheque/1', $attributes); $payment_type = $this->mastermodel->getdatas('finance_payment_types', 'payment_type_id', 'asc'); ?> <input type="hidden" name="payment_type_id" value="2"/> <div class="grid_12"> <div class="box"> <div class="content no-padding"> <div class="header main"> Post Dated Cheque Details</div> <table class="table"> <tr> <th>Transaction Type</th> <th>Cheque Date</th> <th>Cheque No</th> <th>Cheque Info</th> </tr> <tr> <td> <select name="transaction_id" id="transaction_id" class="chzn-done required"> <option value="">Select</option> <option value="1">PV</option> <option value="2">RV</option> </select> </td> <td> <input class="required calfocus" type="text" name="cheque_date" id="cheque_date"/> <div style="padding: 0 5px;width:127px;display: block;height: 9px;"><span style="color: red;" id="cheque_no_date"></span></div> </td> <td> <input class="w_90 required num_only" type="text" name="cheque_no" id="cheque_no" /><br/> <div style="color: red;padding: 0 5px;width:200px;display: block;height: 25px;"><span id="cheque_no_info"></span></div> </td> <td> <textarea class=" required" name="cheque_info" id="cheque_info"></textarea> </td> </tr> </table> </div> </div> </div> <?php // ?> <div class="grid_12"> <div class="box" id='payment_mode'> </div> </div> <div class="grid_12"> <div class="box"> <div class="content no-padding"> <div class="header main"> Deposit Items</div> <table class="table"> <tr> <th>Acc code</th> <th>Description</th> <th>Amount</th> <th><input type="button" id="button2" value="Add More" class="addRow_payment" title="Add Row" style="width:75px;"/></th> </tr> <tr> <td> <input type="text" name="payment_to1" id="payment_to1" data-id='payment_to_id1' value='' class="required payment_account" /> <input type="hidden" name="payment_to_id1" id="payment_to_id1" /> </td> <td><textarea name="description1" id="description1"></textarea></td> <td><input class="w_90 text_r required auto" type="text" name="amount1" id="amount1" onblur="checkamount(this.id)"/></td> <td> <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/> </td> </tr> </table> </div> </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="checkdata('payment_to', 'payment_account','No existing Account selected'); checkdatavalidity($('input#bankacc_id').val(), 'bankacc', 'No existing Bank Account selected'); addformdata('validateform')">Process Deposit</button> </div> </div> </div> </div> <div style="height: 300px;"> </div> <?php echo form_close(); ?>