Subversion Repositories SmartDukaan

Rev

Rev 24992 | Rev 34156 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 24992 Rev 33959
Line 18... Line 18...
18
				<th>Status</th>
18
				<th>Status</th>
19
				#end
19
				#end
20
			
20
			
21
			</tr>
21
			</tr>
22
					#if(!$walletRequest.isEmpty())
22
					#if(!$walletRequest.isEmpty())
23
	    			#foreach( $request in $walletRequest )
23
						#foreach( $walletData in $walletRequest )
24
	    				<tr class="add-wallet" data="$request.getId()">
24
						<tr class="add-wallet" data="$walletData.getId()">
25
	    					<td>$request.getRetailerId()</td>
25
							<td>$walletData.getRetailerId()</td>
26
	    					<td>$fofoIdsAndRetailerName.get($request.getRetailerId()).getBusinessName()</td>
26
							<td>$fofoIdsAndRetailerName.get($walletData.getRetailerId()).getBusinessName()</td>
27
	    					<td>$fofoIdsAndRetailerName.get($request.getRetailerId()).getEmail()</td>
27
							<td>$fofoIdsAndRetailerName.get($walletData.getRetailerId()).getEmail()</td>
28
	    					<td>$fofoIdsAndRetailerName.get($request.getRetailerId()).getAddress().city</td>
28
							<td>$fofoIdsAndRetailerName.get($walletData.getRetailerId()).getAddress().city</td>
29
	    					<td>$fofoIdsAndRetailerName.get($request.getRetailerId()).getAddress().state</td>
29
							<td>$fofoIdsAndRetailerName.get($walletData.getRetailerId()).getAddress().state</td>
30
	    					<td>$request.getTransaction_reference()</td>
30
							<td>$walletData.getTransaction_reference()</td>
31
	    					#if($request.getBank_name())
31
							#if($walletData.getBank_name())
32
			    					<td>$request.getBank_name()</td>
32
								<td>$walletData.getBank_name()</td>
33
			    					#else
33
			    					#else
34
			    					<td> null</td>
34
			    					<td> null</td>
35
			    			#end
35
			    			#end
36
	    					<td>$request.getReference_date()</td>
36
							<td>$walletData.getReference_date()</td>
37
	    					<td class="currency">$request.getAmount()</td>
37
							<td class="currency">$walletData.getAmount()</td>
38
	    					<td>$request.getCreateTimestamp().format($dateTimeFormatter)</td>
38
							<td>$walletData.getCreateTimestamp().format($dateTimeFormatter)</td>
39
	    					<td>$request.getUpdateTimestamp().format($dateTimeFormatter)</td>
39
							<td>$walletData.getUpdateTimestamp().format($dateTimeFormatter)</td>
40
	    					#if($request.getStatus()=="pending")
40
							#if($walletData.getStatus()=="pending")
-
 
41
								<td>
41
	    					<td><button class="btn btn-primary approve"  data-requestid="$request.getId()" type="button" style="width:100%;border-radius:0px;">Approve</button>
42
									<button class="btn btn-primary approve" data-requestid="$walletData.getId()"
-
 
43
											type="button" style="width:100%;border-radius:0px;">Approve
-
 
44
									</button>
42
						     </td>
45
						     </td>
-
 
46
								<td>
43
						    <td><button class="btn btn-primary rejected" data-requestid="$request.getId()"  type="button" style="width:100%;border-radius:0px;">Reject</button>
47
									<button class="btn btn-primary rejected" data-requestid="$walletData.getId()"
-
 
48
											type="button" style="width:100%;border-radius:0px;">Reject
-
 
49
									</button>
44
						    </td>
50
						    </td>
45
						     
51
						     
46
	    					#end	
52
	    					#end	
47
	    				</tr>
53
	    				</tr>
48
    			 #end
54
    			 #end