Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
23936 tejbeer 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>Retailer Id</th>
7
				<th>Retailer Name</th>
8
				<th>Email</th>
9
				<th>City</th>
10
				<th>State</th>
11
				<th>Transaction Reference</th>
24753 tejbeer 12
				<th>Bank Name</th>
24089 tejbeer 13
				<th>Reference Date</th>
23936 tejbeer 14
				<th>Amount</th>
15
				<th>Created On</th>
16
				<th>Updated On </th>
17
				#if($rStatus == "pending")
18
				<th>Status</th>
19
				#end
20
 
21
			</tr>
22
					#if(!$walletRequest.isEmpty())
33959 aman.kumar 23
						#foreach( $walletData in $walletRequest )
24
						<tr class="add-wallet" data="$walletData.getId()">
25
							<td>$walletData.getRetailerId()</td>
26
							<td>$fofoIdsAndRetailerName.get($walletData.getRetailerId()).getBusinessName()</td>
27
							<td>$fofoIdsAndRetailerName.get($walletData.getRetailerId()).getEmail()</td>
28
							<td>$fofoIdsAndRetailerName.get($walletData.getRetailerId()).getAddress().city</td>
29
							<td>$fofoIdsAndRetailerName.get($walletData.getRetailerId()).getAddress().state</td>
30
							<td>$walletData.getTransaction_reference()</td>
31
							#if($walletData.getBank_name())
32
								<td>$walletData.getBank_name()</td>
24753 tejbeer 33
			    					#else
34
			    					<td> null</td>
35
			    			#end
33959 aman.kumar 36
							<td>$walletData.getReference_date()</td>
37
							<td class="currency">$walletData.getAmount()</td>
38
							<td>$walletData.getCreateTimestamp().format($dateTimeFormatter)</td>
39
							<td>$walletData.getUpdateTimestamp().format($dateTimeFormatter)</td>
40
							#if($walletData.getStatus()=="pending")
41
								<td>
42
									<button class="btn btn-primary approve" data-requestid="$walletData.getId()"
43
											type="button" style="width:100%;border-radius:0px;">Approve
44
									</button>
23936 tejbeer 45
						     </td>
33959 aman.kumar 46
								<td>
47
									<button class="btn btn-primary rejected" data-requestid="$walletData.getId()"
48
											type="button" style="width:100%;border-radius:0px;">Reject
49
									</button>
23993 tejbeer 50
						    </td>
51
 
23936 tejbeer 52
	    					#end	
53
	    				</tr>
54
    			 #end
55
    			#else
56
    				<tr>
57
    					<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
58
    				</tr>
59
    			#end
60
			</tbody>
61
		</table>
62
	</div>
63
</div>