Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
22551 ashik.ali 1
<div class="row">
2
	<div class="col-lg-12">
3
		<table class="table table-striped table-advance table-hover">
4
			<tbody>
5
				<tr>
6
					<th>Id</th>
7
					<th>Reference</th>
8
					<th>Reference Type</th>
9
					<th>+ / -</th>
10
					<th>Amount</th>
11
					<th>Date</th>
12
					<th>Description</th>
13
				</tr>
14
				#if(!$walletHistories.isEmpty())
15
	    			#foreach( $walletHistory in $walletHistories )
16
	    				<tr class="wallet-details" data="$walletHistory.getId()">
17
	    					<td>$walletHistory.getId()</td>
18
	    					<td>$walletHistory.getReference()</td>
19
	    					<td>$walletHistory.getReferenceType()</td>
20
	    					#if($walletHistory.getAmount() >= 0)
21
	    						<td>+</td>
22
	    						<td>$walletHistory.getAmount()</td>
23
	    					#else
24
	    						<td>-</td>
25
	    						#set($amount = 0-$walletHistory.getAmount())
26
	    						<td>$amount</td>
27
	    					#end
28
	    					<td>$walletHistory.getFormattedDate()</td>
29
	    					#if($walletHistory.getDescription())
30
	    						<td>$walletHistory.getDescription()</td>
31
	    					#else
32
	    						<td></td>
33
	    					#end
34
	    				</tr>
35
	    			#end
36
    			#else
37
    				<tr>
38
    					<td colspan="6" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
39
    				</tr>
40
    			#end
41
			</tbody>
42
	    </table>
43
	</div>
44
</div>