?
Current Path : /home1/savoy/public_html/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/public_html/oscarerp.com/application/views/accounting/add_auto_journal.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); $accounts = $this->mastermodel->getdatas('finance_chart_master', 'chart_type_id', '', 'chart_master_id'); ?> <script src="<?= base_url() ?>assets/js/jquery.autocomplete.js"></script> <script type="text/javascript"> $(document).ready(function() { checkfiscalyear(); suggestaccount('.payment_account'); $(".delRow_payment").btnDelRow(function() { getSum(); }); $(".addRow_payment").btnAddRow({inputBoxAutoNumber: true}, function(row) { suggestaccount('.payment_account'); }, function(row) { var rowIndex = row.index() + 1; return validateRow(); } ); }); </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_auto_journal', 'view_fixed_journal', '<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Creating Auto Journal</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_auto_journal/view_fixed_journal/1', $attributes); ?> <div class="grid_12"> <div class="box"> <div class="content no-padding"> <div class="header main">Add Auto Journal</div> <table class="table"> <tr> <td> Title </td> <td> <textarea class="required" name="auto_journal_title" id="auto_journal_title" style='width:250px;height:30px' ></textarea> </td> </tr> </table> </div> </div> </div> <div class="grid_12"> <div class="box"> <div class="content no-padding"> <div class="header main"> Deposit Items</div> <table class="table"> <thead> <tr> <th width="25%">Acc code</th> <th width="20%">Debit</th> <th width="20%">Credit</th> <th width="25%">Description</th> <th width="10%"> <input type="button" id="button2" value="Add More" class="addRow_payment" title="Add Row" style="width:75px;"/> </th> </tr> </thead> <tbody> <tr class="addAccount"> <td> <input type="text" name="account1" id="account1" data-id='account_id1' value='' class="required payment_account" /> <input type="hidden" name="account_id1" id="account_id1" /> </td> <td> <input type="text" name="debit1" id="debit1" onblur="validateAmount(this)" class="auto text_r" /> </td> <td> <input type="text" name="credit1" id="credit1" onblur="validateAmount(this)" class="auto text_r"/> </td> <td> <textarea name="description1" id="description1" style="height: 60px;"></textarea> </td> <td> <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/images/icons/close.png" alt="Delete Row" class="delRow_payment clickimage" title="Delete Row"/> </td> </tr> </tbody> </table> <table class="table" > <tr> <th width="25%" style="text-align: right">Total</th> <th width="20%"> <input type="text" id="sumdebit" class="newcls text_r" readonly="readonly" value="0" name="sumdebit"/> </th> <th width="20%"> <input type="text" id="sumcredit" class="newcls text_r" readonly="readonly" value="0" name="sumcredit"/> </th> <th width="35%" colspan="2"></th> </tr> </table> </div> </div> </div> <?php ?> <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="return insertpayment()">Process Deposit</button> </div> </div> </div> </div> <?php echo form_close(); ?>