| Line 4... |
Line 4... |
| 4 |
<h3>List of User Sanctions</h3>
|
4 |
<h3>List of User Sanctions</h3>
|
| 5 |
<table class="table table-striped">
|
5 |
<table class="table table-striped">
|
| 6 |
<thead>
|
6 |
<thead>
|
| 7 |
<tr>
|
7 |
<tr>
|
| 8 |
<th><?php echo ('UserId');?></th>
|
8 |
<th><?php echo ('UserId');?></th>
|
| - |
|
9 |
<th><?php echo ('UserName');?></th>
|
| 9 |
<th><?php echo ('Creditor_Id');?></th>
|
10 |
<th><?php echo ('Creditor_Id');?></th>
|
| 10 |
<th><?php echo ('Credit_limit');?></th>
|
11 |
<th><?php echo ('Credit_limit');?></th>
|
| 11 |
<th><?php echo ('Credit_blocked');?></th>
|
12 |
<th><?php echo ('Credit_blocked');?></th>
|
| 12 |
<th><?php echo ('Loan');?></th>
|
13 |
<th><?php echo ('Loan');?></th>
|
| 13 |
<th><?php echo ('Credit_available');?></th>
|
14 |
<th><?php echo ('Credit_available');?></th>
|
| Line 19... |
Line 20... |
| 19 |
</thead>
|
20 |
</thead>
|
| 20 |
<tbody>
|
21 |
<tbody>
|
| 21 |
<?php foreach($userSanctions AS $userSanction):?>
|
22 |
<?php foreach($userSanctions AS $userSanction):?>
|
| 22 |
<tr>
|
23 |
<tr>
|
| 23 |
<td><?php echo $usersMap[$userSanction['user_id']];?></td>
|
24 |
<td><?php echo $usersMap[$userSanction['user_id']];?></td>
|
| - |
|
25 |
<td><?php echo $usersName[$userSanction['user_id']];?></td>
|
| 24 |
<td><?php echo $userSanction['creditor_id'];?></td>
|
26 |
<td><?php echo $userSanction['creditor_id'];?></td>
|
| 25 |
<td><?php echo $userSanction['credit_limit'];?></td>
|
27 |
<td><?php echo $userSanction['credit_limit'];?></td>
|
| 26 |
<td><?php echo $userSanction['credit_blocked'];?></td>
|
28 |
<td><?php echo $userSanction['credit_blocked'];?></td>
|
| 27 |
<td><?php echo $userSanction['loan'];?></td>
|
29 |
<td><?php echo $userSanction['loan'];?></td>
|
| 28 |
<td><?php echo intval($userSanction['credit_limit'])-(intval($userSanction['credit_blocked'])+intval($userSanction['loan']));?></td>
|
30 |
<td><?php echo intval($userSanction['credit_limit'])-(intval($userSanction['credit_blocked'])+intval($userSanction['loan']));?></td>
|