41 lines
959 B
PHP
41 lines
959 B
PHP
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-4">
|
|
</div>
|
|
<div class="col-md-4">
|
|
<h2>ALL RECEIPTS</h2>
|
|
</div></div></br>
|
|
<div class="row">
|
|
<div class="col-md-4">
|
|
</div>
|
|
<div class="col-md-8">
|
|
<table class="table">
|
|
<tr>
|
|
<th> Receipt No</th>
|
|
<th> Date</th>
|
|
<th> Donor Id</th>
|
|
<th> Amount</th>
|
|
<th> Mode</th>
|
|
<th> Details</th>
|
|
<th> Cause</th>
|
|
<th> Action</th>
|
|
|
|
</tr>
|
|
<?php foreach ($receiptdata as $row)
|
|
{ ?>
|
|
<tr>
|
|
<td><?php echo $row['receipt_no'];?></td>
|
|
<td><?php echo $row['date'];?></td>
|
|
<td><?php echo $row['donor_id'];?></td>
|
|
<td><?php echo $row['amount'];?></td>
|
|
<td><?php echo $row['mode_of_receipt'];?></td>
|
|
<td><?php echo $row['receipt_details'];?></td>
|
|
<td><?php echo $row['cause_name'];?></td>
|
|
<td><a href="<?= base_url() ?>/Dashboard/edit_receipt/<?php echo $row['receipt_id'];?>">Edit</a></td>
|
|
</tr>
|
|
<?php } ?>
|
|
<table>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|