?
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_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> <!-- BEGIN PAGE LEVEL STYLES --> <link rel="stylesheet" href="<?= base_url(); ?>assets/plugins/data-tables/DT_bootstrap.css" /> <!-- END PAGE LEVEL STYLES --> <div class="row-fluid"> <div class="span12"> <!-- BEGIN EXAMPLE TABLE PORTLET--> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption"><i class="icon-cogs"></i>Reverse Auto Journal</div> <div class="actions"> <!-- <a href="#" onclick="addformdisplay('add_auto_journal','accounting')" class="btn green"><i class="icon-plus"></i> Add</a>--> </div> </div> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate'); // echo form_open('accounting/addinaccounting/insert_journal_voucher/view_journal_voucher/1', $attributes); $type = $this->mastermodel->getdatas('finance_transaction_code', "transaction_id") ?> <div class="portlet-body"> <table class="table table-striped table-hover table-bordered" id="sample_4"> <tr> <th><input type="radio" name="receipt_voucher" class="chosen" 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="chosen" value="0" onclick="addformdisplay('view_reverse_journal', 'accounting')" checked="true"/></th><th><label>Reverse</label></th> </tr> </table> <!-- <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption"><i class="icon-cogs"></i>Search Transaction </div> </div> <div class="portlet-body">--> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label"> Transaction No::</label> <div class="controls"> <input type="text" name="reference" id="reference" style="width: 250px;"/> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Transaction Type:</label> <div class="controls"> <select name="type" id="type" class="chosen" style="width: 250px;"> <option value="all">All</option> <?php foreach ($type as $value) { echo'<option value="' . $value['transaction_id'] . '">' . $value['transaction_name'] . '</option>'; } ?> </select> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">From:</label> <div class="controls"> <input type="text" value="<?php echo date("d-m-Y"); ?>" readonly="readonly" name="from" id="from" class="calfocus" style="width: 250px;"/> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">To:</label> <div class="controls"> <input type="text" value="<?php echo date("d-m-Y"); ?>" readonly="readonly" class="calfocus" name="to" id="to" style="width: 250px;"> </div> </div> </div> </div> <div class="form-actions"> <input type="hidden" name="resfunction" value="search_amenities"/> <button type="button" onclick="searchtransaction(1)" id="button1"class="btn blue"><i class="icon-ok"></i> Find Transaction</button> </div> <!-- </div> </div> </div>--> </div> </div> </div> <div id="loadresult"></div> <div style="display: none"> <div id="color"></div> </div>