Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
18808 manish.sha 1
<div class="container">
2
	<div class="row">
3
		<div class="col-lg-12 table-responsive">
4
			<h3>Credit History Transactions</h3>
5
			<table class="table table-striped">
6
				<thead>
7
					<tr>
8
						<th><?php echo ('Id');?></th>
9
						<th><?php echo ('UserId');?></th>
10
						<th><?php echo ('Creditor_Id');?></th>
11
						<th><?php echo ('Payment_id');?></th>
12
						<th><?php echo ('Amount');?></th>
13
						<th><?php echo ('Transaction_type');?></th>
14
						<th><?php echo ('Created');?></th>
15
						<th><?php echo ('Shipping_id');?></th>
16
					</tr>
17
				</thead>
18
				<tbody>
19
					<?php foreach($creditHistory AS $creditH):?>
20
						<tr>
21
							<td><?php echo $creditH['id'];?></td>
18850 naman 22
							<td>
18857 naman 23
							<?php echo $this->Html->link($usersMap[$creditH['user_id']], array('controller' => 'users', 'action' => 'credithistory',$usersMap[$creditH['user_id']])); ?>
18850 naman 24
							<?php //echo $usersMap[$creditH['user_id']];?>							
25
							</td>
18808 manish.sha 26
							<td><?php echo $creditH['creditor_id'];?></td>
27
							<td><?php echo $creditH['payment_id'];?></td>
28
							<td><?php echo $creditH['amount'];?></td>
29
							<td><?php echo $creditH['credit_type'];?></td>
30
							<td><?php echo $creditH['created'];?></td>
31
							<td><?php echo $creditH['shipping_id'];?></td>
32
						</tr>
33
					<?php endforeach;?>
34
				</tbody>
35
			</table>
36
		</div>
37
	</div>
18850 naman 38
	<ul class="pager">
39
	  	<?php if($page>1):?>
40
	    <li><a href="?page=<?php echo $page-1;?>">Previous</a></li>
41
		<?php endif;?>
42
	    <li><a href="?page=<?php echo $page+1;?>">Next</a></li>
43
  	</ul>
18808 manish.sha 44
</div>