| 19892 |
manas |
1 |
<div class="container">
|
|
|
2 |
<div class="row">
|
|
|
3 |
<div class="col-lg-12 table-responsive">
|
|
|
4 |
<h3>Loan Outstanding Payments</h3>
|
|
|
5 |
<table class="table table-striped">
|
|
|
6 |
<thead>
|
|
|
7 |
<tr>
|
|
|
8 |
<th><?php echo ('User Name');?></th>
|
|
|
9 |
<th><?php echo ('Email Id');?></th>
|
|
|
10 |
<th><?php echo ('Counter Name');?></th>
|
|
|
11 |
<th><?php echo ('Creditor Id');?></th>
|
|
|
12 |
<th><?php echo ('Payment Id');?></th>
|
|
|
13 |
<th><?php echo ('Total Amount');?></th>
|
|
|
14 |
<th><?php echo ('Due Date');?></th>
|
|
|
15 |
<th><?php echo ('Repayment Date');?></th>
|
|
|
16 |
<th><?php echo ('Amount To Be Paid');?></th>
|
|
|
17 |
</tr>
|
|
|
18 |
</thead>
|
|
|
19 |
<tbody>
|
|
|
20 |
<?php foreach($outstandingPayments AS $loanH):?>
|
|
|
21 |
<tr>
|
|
|
22 |
<td><?php echo $usersName[$loanH['user_id']];?></td>
|
|
|
23 |
<td><?php echo $usersMap[$loanH['user_id']]; ?></td>
|
|
|
24 |
<td><?php echo $loanH['counter_name'];?></td>
|
|
|
25 |
<td><?php echo $loanH['creditor_id'];?></td>
|
|
|
26 |
<td><?php echo $loanH['payment_id'];?></td>
|
|
|
27 |
<td><?php echo $loanH['totalAmount'];?></td>
|
|
|
28 |
<td><?php echo date('Y-m-d H:i:s', $loanH['created']/1000);?></td>
|
|
|
29 |
<td style='width: 20px'><input type="date" name="date_from" value="Date"/></td>
|
|
|
30 |
<td style='width: 20px'><input type="number" name="amount" value="amount"/></td>
|
|
|
31 |
<td><input type="submit" value="Mark as Settled"/></td>
|
|
|
32 |
</tr>
|
|
|
33 |
<?php endforeach;?>
|
|
|
34 |
</tbody>
|
|
|
35 |
</table>
|
|
|
36 |
</div>
|
|
|
37 |
</div>
|
|
|
38 |
</div>
|