43 lines
1.1 KiB
PHP
43 lines
1.1 KiB
PHP
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-3">
|
|
</div>
|
|
<div class="col-md-4">
|
|
<h2>ALL RECEIPTS</h2>
|
|
</div></div></br>
|
|
<div class="row">
|
|
<div class="col-md-3">
|
|
</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>
|
|
<th> Get Receipt</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>
|
|
<td><a href="<?= base_url() ?>/Dashboard/view_receipt/<?php echo $row['receipt_id'];?>">View Receipt</a></td>
|
|
</tr>
|
|
<?php } ?>
|
|
<table>
|
|
<a href="<?= base_url() ?>/Dashboard/last_receipt">Edit</a>
|
|
</div>
|
|
</div>
|
|
</div>
|