Subversion Repositories SmartDukaan

Rev

Rev 18943 | 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>Loan History Transactions</h3>
5
			<table class="table table-striped">
6
				<thead>
7
					<tr>
8
						<th><?php echo ('Id');?></th>
19730 naman 9
						<th><?php echo ('UserName');?></th>
18808 manish.sha 10
						<th><?php echo ('UserId');?></th>
11
						<th><?php echo ('Creditor_Id');?></th>
12
						<th><?php echo ('Payment_id');?></th>
13
						<th><?php echo ('Amount');?></th>
14
						<th><?php echo ('Transaction_type');?></th>
15
						<th><?php echo ('Created');?></th>
16
						<th><?php echo ('Loan_id');?></th>
17
						<th><?php echo ('Due_date');?></th>
18
						<th><?php echo ('Value_date');?></th>
19
						<th><?php echo ('Invoice_Number');?></th>
18943 naman 20
						<th><?php echo ('Courier_Name');?></th>
21
						<th><?php echo ('AirwayBill_Number');?></th>
18808 manish.sha 22
					</tr>
23
				</thead>
24
				<tbody>
25
					<?php foreach($loanHistory AS $loanH):?>
26
						<tr>
27
							<td><?php echo $loanH['id'];?></td>
19730 naman 28
							<td><?php echo $usersName[$loanH['user_id']];?></td>
18859 naman 29
							<?php //echo $usersMap[$loanH['user_id']];?>
18858 naman 30
							<td><?php echo $this->Html->link($usersMap[$loanH['user_id']], array('controller' => 'users', 'action' => 'loanhistory',$usersMap[$loanH['user_id']])); ?></td>
18808 manish.sha 31
							<td><?php echo $loanH['creditor_id'];?></td>
32
							<td><?php echo $loanH['payment_id'];?></td>
33
							<td><?php echo $loanH['amount'];?></td>
34
							<td><?php echo $loanH['credit_type'];?></td>
35
							<td><?php echo $loanH['created'];?></td>
36
							<td><?php echo $loanH['loan_id'];?></td>
37
							<td><?php echo $loanH['due_date'];?></td>
38
							<td><?php echo $loanH['value_date'];?></td>
18943 naman 39
							<td><?php echo $loanH['invoiceNumber'];?></td>	
40
							<td><?php echo $loanH['courier'];?></td>
41
							<td><?php echo $loanH['airwayBillNo'];?></td>						
18808 manish.sha 42
						</tr>
43
					<?php endforeach;?>
44
				</tbody>
45
			</table>
46
		</div>
47
	</div>
18858 naman 48
	<ul class="pager">
49
	  	<?php if($page>1):?>
18906 naman 50
	    	<li><a href="?page=<?php echo $page-1;?>">Previous</a></li>
18858 naman 51
		<?php endif;?>
18906 naman 52
		<?php if($hasMore == true):?>
53
	    	<li><a href="?page=<?php echo $page+1;?>">Next</a></li>
54
	    <?php endif;?>	    
18858 naman 55
  	</ul>
18808 manish.sha 56
</div>