?
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_reverse_journal.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <script> function searchtransaction(pagenum) { var ref = document.getElementById('reference').value; var to = document.getElementById('to').value; var from = document.getElementById('from').value; var type = document.getElementById('type').value; $("#loadresult").empty().html('<CENTER><img src="<?= base_url() ?>/assets/images/loading.gif" class="loading"/></CENTER>'); ref = ref.replace(/ /g, "~"); ref = ref.replace(/\//g, "_"); $("#loadresult").load("<?= site_url('accounting/searchtransaction/searchtransactionpage/') ?>" + "/" + type + "/" + from + "/" + to + "/" + ref); } </script> <div class="icons_main"> <div class="icons"> </div> <div class="icons_caption"> <h4>Reverse Auto Journal </h4> </div> </div> <div id="viewmsg2" style="width: 100%;float: left;"></div> <?php //$attributes=array('id'=>'validateform','class'=>'validate'); //echo form_open('',$attributes); $type = $this->mastermodel->getdatas('finance_transaction_code', "transaction_id") ?> <div class="clean"></div> <div class="grid_12"> <div class="box"> <div class="header main no-icon">Auto Journal details </div> <div class="content no-padding"> <table class="table"> <tr> <th><input type="radio" name="receipt_voucher" class="chzn-done" value="1" onclick="viewdata('accounting', 'viewinaccountingsearch', 'search_auto_journal', 'view_fixed_journal', '1')" /></th><th><label>Fixed</label></th> <th><input type="radio" checked="checked" name="receipt_voucher" class="chzn-done" value="0" onclick="addformdisplay('view_reverse_journal', 'accounting')" checked="true"/></th><th><label>Reverse</label></th> </tr> </table> </div> </div> </div> <div class="grid_12"> <div class="box"> <div class="header main no-icon"> Search Transaction <span></span> </div> <div class="content no-padding"> <table class="table"> <tr> <td> Transaction No: <br/> <input type="text" name="reference" id="reference" style="width: 250px;"/> </td> <td> From <br/> <input type="text" value="<?php echo date("d-m-Y"); ?>" readonly="readonly" name="from" id="from" class="calfocus" style="width: 250px;"/> </td> </tr> <tr> <td> Transaction Type: <br/> <select name="type" id="type" class="chzn-done" style="width: 250px;"> <option value="all">All</option> <?php foreach ($type as $value) { echo'<option value="' . $value['transaction_id'] . '">' . $value['transaction_name'] . '</option>'; } ?> </select> </td> <td> To <br/> <input type="text" value="<?php echo date("d-m-Y"); ?>" readonly="readonly" class="calfocus" name="to" id="to" style="width: 250px;"> </td> </tr> </table> </div> <div class="actions"> <div class="actions-left"> <input type="reset"> <input type="hidden" name="resfunction" value="search_amenities"/> </div> <div class="actions-right"> <button type="button" class="clickimage" name="search" onclick="searchtransaction(1)" id="button1" >Find Transaction</button> </div> </div> </div> </div> <div id="loadresult"></div> <div style="display: none"> <div id="color"></div> </div> <?php // echo form_close();?>