Subversion Repositories SmartDukaan

Rev

Rev 18790 | Rev 19729 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
18770 manish.sha 1
<div class="container">
18781 manish.sha 2
	<div class="row">
3
		<div class="col-lg-12 table-responsive">
4
			<h3>List of User Sanctions</h3>
5
			<table class="table table-striped">
6
				<thead>
7
					<tr>
18791 manish.sha 8
						<th><?php echo ('UserId');?></th>
18781 manish.sha 9
						<th><?php echo ('Creditor_Id');?></th>
10
						<th><?php echo ('Credit_limit');?></th>
11
						<th><?php echo ('Credit_blocked');?></th>
12
						<th><?php echo ('Loan');?></th>
18791 manish.sha 13
						<th><?php echo ('Credit_available');?></th>
18781 manish.sha 14
						<th><?php echo ('Status');?></th>
15
						<th><?php echo ('Created');?></th>
18791 manish.sha 16
						<th><?php echo ('Updated');?></th>
18781 manish.sha 17
						<th><?php echo ('Ticket_Size');?></th>
18
					</tr>
19
				</thead>
20
				<tbody>
21
					<?php foreach($userSanctions AS $userSanction):?>
22
						<tr>
18789 manish.sha 23
							<td><?php echo $usersMap[$userSanction['user_id']];?></td>
18781 manish.sha 24
							<td><?php echo $userSanction['creditor_id'];?></td>
25
							<td><?php echo $userSanction['credit_limit'];?></td>
26
							<td><?php echo $userSanction['credit_blocked'];?></td>
27
							<td><?php echo $userSanction['loan'];?></td>
18783 manish.sha 28
							<td><?php echo intval($userSanction['credit_limit'])-(intval($userSanction['credit_blocked'])+intval($userSanction['loan']));?></td>
18781 manish.sha 29
							<td><?php echo $userSanction['active'];?></td>
30
							<td><?php echo date("d/m/Y H:i:s", intval($userSanction['created'])/1000);?></td>
31
							<td><?php echo date("d/m/Y H:i:s", intval($userSanction['updated'])/1000);?></td>
32
							<td><?php echo $userSanction['ticket_size'];?></td>
33
						</tr>
34
					<?php endforeach;?>
35
				</tbody>
36
			</table>
37
		</div>
38
	</div>
18770 manish.sha 39
</div>