Subversion Repositories SmartDukaan

Rev

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