56 lines
1.1 KiB
PHP
56 lines
1.1 KiB
PHP
<style>
|
|
table {
|
|
|
|
width: 80% ;
|
|
}
|
|
td {
|
|
width: 25% ;
|
|
}
|
|
</style>
|
|
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-2">
|
|
</div>
|
|
<div class="col-md-4">
|
|
<h2>Donors List</h2>
|
|
</div></div></br>
|
|
<div class="row">
|
|
<div class="col-md-2">
|
|
</div>
|
|
<div class="col-md-8">
|
|
<table class="table table-bordered" id="dataTable" cellspacing="0">
|
|
<tr>
|
|
<th> Name</th>
|
|
<th> Phone</th>
|
|
<th > Email</th>
|
|
<th> Pan </th>
|
|
<th> Address</th>
|
|
<th> DOB</th>
|
|
<th> Gender</th>
|
|
<th> Org Name</th>
|
|
<th> GSTIN</th>
|
|
<th> Action</th>
|
|
|
|
</tr>
|
|
<?php foreach ($receiptdata as $row)
|
|
{ ?>
|
|
<tr>
|
|
<td><?php echo $row['name'];?></td>
|
|
<td><?php echo $row['phone'];?></td>
|
|
<td ><?php echo $row['email'];?></td>
|
|
<td><?php echo $row['pan'];?></td>
|
|
<td><?php echo $row['address'];?></td>
|
|
<td><?php echo $row['date_of_birth'];?></td>
|
|
<td><?php echo $row['gender'];?></td>
|
|
<td><?php echo $row['org_name'];?></td>
|
|
<td><?php echo $row['gstin'];?></td>
|
|
<td><a href="<?= base_url() ?>/My_controller/edit_donor/<?php echo $row['id'];?>">Edit</a></td>
|
|
</tr>
|
|
<?php } ?>
|
|
<table>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|