Subversion Repositories SmartDukaan

Rev

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