40 lines
847 B
PHP
40 lines
847 B
PHP
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-4">
|
|
</div>
|
|
<div class="col-md-4">
|
|
<h2>ALL TRANSACTIONS</h2>
|
|
</div></div></br>
|
|
<div class="row">
|
|
<div class="col-md-4">
|
|
</div>
|
|
<div class="col-md-8">
|
|
<table class="table">
|
|
<tr>
|
|
<th> Transaction Date</th>
|
|
<th> Reference</th>
|
|
|
|
<th> Remarks</th>
|
|
<th> Amount</th>
|
|
<th> Donation Ref</th>
|
|
<th> dAction</th>
|
|
|
|
</tr>
|
|
<?php foreach ($receiptdata as $row)
|
|
{ ?>
|
|
<tr>
|
|
<td><?php echo $row['date'];?></td>
|
|
<td><?php echo $row['ref_1'];?></td>
|
|
|
|
<td><?php echo $row['remarks'];?></td>
|
|
<td><?php echo $row['amount'];?></td>
|
|
<td><?php echo $row['donation_ref'];?></td>
|
|
<td><a href="<?= base_url() ?>/Dashboard/edit_transaction/<?php echo $row['id'];?>">Edit</a></td>
|
|
|
|
</tr>
|
|
<?php } ?>
|
|
<table>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|