?
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/searchtransactionpage.php |
<div class="grid_12"> <div class="box"> <div class="header main no-icon"> Transactions </div> <div class="content no-padding"> <table class="table"> <tr> <th width="10%">Sl No.</th> <th>Transaction No</th> <th width="15%">Type</th> <th width="10%">Date</th> <th>Description</th> <th width="10%">Action</th> </tr> <div style="margin-top: 25px;position: absolute;background-color: white" journal_id="viewmsg2"></div> <?php $i = 0; foreach ($journal as $bank_trans) { $single_view=""; if($bank_trans['transaction_id']==1) $single_view = 'single_payment_voucher'; else if($bank_trans['transaction_id']==2) $single_view = 'single_receipt_voucher'; else if($bank_trans['transaction_id']==3) $single_view = 'single_journal_voucher'; if($bank_trans['transaction_id']==4) $single_view = 'single_bank_journal'; $i = $i + 1; $rid = $bank_trans['journal_id']; $tid = $bank_trans['reference']; $type = $bank_trans['transaction_name']; $des = $bank_trans['description']; $tran_date = $this->mastermodel->convertdatenormalformat($bank_trans['journal_date']); echo "<tr> <td>" . $i . "</td> <td style='text-align:center;'>" . $bank_trans['reference'] . "</td> <td>" . $type . "</td> <td>" . $tran_date . "</td> <td>" . $des . "</td> <td style='text-align:center;'>"; if($single_view!="0") { ?> <img src="<?= base_url() ?>/assets/images/view-icon.png" id="editclass" title="View" width="20" height="20" alt="View Entry" align = "center" onclick="viewthis_unpost(<?= $bank_trans['journal_id'] ?>,'search_auto_journal','view_fixed_journal')" style="cursor: pointer" class="clickimage1" /> <?php } ?> <img src="<?= base_url() ?>/assets/images/reve.jpg" journal_id="anchor" title="Reverse" width="20" height="20" alt="rev" align = "center" <?php if ($bank_trans['posted'] == 1) { ?> onclick="alert('Transaction Closed')" class="revers" <?php } else { ?> onclick="viewthis_rev_transaction(<?= $bank_trans['journal_id'] ?>)" class="clickimage1" <?php } ?> style="cursor: pointer;" /> <?php echo "</td></tr>"; } ?> </table> </div> </div> </div> <div class="actions-left"> <div style="display:none"> <div id="empdiv"></div> </div> </div>