Subversion Repositories SmartDukaan

Rev

Rev 23993 | Rev 24753 | 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>
24089 tejbeer 12
				<th>Reference Date</th>
23936 tejbeer 13
				<th>Amount</th>
14
				<th>Created On</th>
15
				<th>Updated On </th>
16
				#if($rStatus == "pending")
17
				<th>Status</th>
18
				#end
19
 
20
			</tr>
21
					#if(!$walletRequest.isEmpty())
22
	    			#foreach( $request in $walletRequest )
23
	    				<tr class="add-wallet" data="$request.getId()">
24
	    					<td>$request.getRetailerId()</td>
25
	    					<td>$fofoIdsAndRetailerName.get($request.getRetailerId()).getBusinessName()</td>
26
	    					<td>$fofoIdsAndRetailerName.get($request.getRetailerId()).getEmail()</td>
27
	    					<td>$fofoIdsAndRetailerName.get($request.getRetailerId()).getAddress().city</td>
28
	    					<td>$fofoIdsAndRetailerName.get($request.getRetailerId()).getAddress().state</td>
29
	    					<td>$request.getTransaction_reference()</td>
24089 tejbeer 30
	    					<td>$request.getReference_date()</td>
23936 tejbeer 31
	    					<td>$request.getAmount()</td>
23956 tejbeer 32
	    					<td>$request.getCreateTimestamp().format($dateTimeFormatter)</td>
33
	    					<td>$request.getUpdateTimestamp().format($dateTimeFormatter)</td>
23936 tejbeer 34
	    					#if($request.getStatus()=="pending")
35
	    					<td><button class="btn btn-primary approve"  data-requestid="$request.getId()" type="button" style="width:100%;border-radius:0px;">Approve</button>
36
						     </td>
23993 tejbeer 37
						    <td><button class="btn btn-primary rejected" data-requestid="$request.getId()"  type="button" style="width:100%;border-radius:0px;">Reject</button>
38
						    </td>
39
 
23936 tejbeer 40
	    					#end	
41
	    				</tr>
42
    			 #end
43
    			#else
44
    				<tr>
45
    					<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
46
    				</tr>
47
    			#end
48
			</tbody>
49
		</table>
50
	</div>
51
</div>