?
Current Path : /home1/savoy/public_html/savoyglobal.net/rms/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/savoyglobal.net/rms/application/views/accounting/single_bank_journal.php |
<div class="grid_12" style="width: 97%;"> <div class="box"> <div class="header main">BANK JOURNAL DETAILS</div> <div class="content no-padding"> <table class="table1" style="width: 100%;" > <tr style="border-bottom: 1px solid #C8C8C8;"> <th colspan="3" style="width: 50%;padding: 5px 0;">Transaction No: <?= $journal_refs->reference; ?></th> <th colspan="3">Date: <?= $this->mastermodel->convertdatenormalformat($journal_refs->journal_date); ?></th> </tr> </table> </table> <table class="table"> <tr> <td colspan="6" style="padding: 5px 0;"></td> </tr> <tr> <th>Slno</th> <th>Account Code</th> <th>Account Name</th> <th>Debit</th> <th>Credit</th> <th>Description</th> </tr> <?php $i = 1; foreach ($journal as $row) { ?> <tr> <td><?= $i++ ?></td> <td><?= $row['chart_account_code'] ?></td> <td><?= $this->mastermodel->get_single_field_value('finance_chart_master', 'chart_account_name', 'chart_account_code', $row['chart_account_code']); ?></td> <td><?php if ($row['debit'] != 0) echo $row['debit']; ?></td> <td><?php if ($row['credit'] != 0) echo $row['credit']; ?></td> <td><?= $row['description'] ?></td> </tr> <?php } ?> </table> </div><br/> <?php if ($journal_refs->posted == 0) { ?> <div class="actions"> <div class="actions-right"> <input type="button" id="button1" class="clickimage" onclick="post(<?= $journal_refs->journal_id ?>, 'search_bank_journal', 'view_bank_journal')" value="POST" style="padding:3px 5px;"/> </div> </div> <?php } ?> </div> </div>