Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
23936 tejbeer 1
<style>
2
	.table-striped > tbody > tr:nth-child(odd) > td{
3
  		background: white;
4
  		background-color: white;
5
	}
6
	.table-striped > tbody > tr:nth-child(even) > td{
7
  		background: white;
8
  		background-color:white;
9
	}
10
	.table-striped > tbody > tr:hover > td,
11
	.table-striped > tbody > tr:hover {
12
		background-color: #e98c8f;
13
	  	color:white;
14
	}
15
	.btn:hover{
16
  		color: grey;
17
  		text-decoration: none;
18
	}
19
	.btn-primary:hover{
20
  		color: grey;
21
  		text-decoration: none;
22
	}
23
	.sale-details{
24
		cursor:pointer;
25
	}
26
</style>
27
<section class="wrapper">
28
	<div class="row">
29
		<div class="col-lg-12">
30
			<h3 class="page-header"><i class="icon_document_alt"></i>SCHEME</h3>
31
			<ol class="breadcrumb">
32
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
33
				<li><i class="icon_document_alt"></i>WALLET REQUEST</li>						  	
34
			</ol>
35
		</div>
36
	</div>
37
 
38
	<input id="url" name="url" type="hidden" value="$url"/>
39
	<div id="add-wallet-request-table">
40
		<div class="row">
41
	    	<div class="col-lg-12">
42
	    		<table class="table table-striped table-advance table-hover">
43
	    			<tbody>
44
	    				<tr>
45
	    					<th>Retailer Id</th>
46
	    					<th>Retailer Name</th>
47
	    					<th>Email</th>
48
	    					<th>City</th>
49
	    					<th>State</th>
23985 tejbeer 50
	    					<th>Mobile</th>
23936 tejbeer 51
	    					<th>Transaction Reference</th>
52
	    					<th>Amount</th>
53
	    					<th>Created On</th>
54
	    					<th>Updated On </th>
55
	    					#if($rStatus == "pending")
23985 tejbeer 56
	    					<th colspan = 2>Status</th>
23936 tejbeer 57
	    					#end
58
	    				</tr>
59
	    					#if(!$walletRequest.isEmpty())
60
			    			#foreach( $request in $walletRequest )
61
			    				<tr class="add-wallet" data="$request.getId()">
62
			    					<td>$request.getRetailerId()</td>
63
			    					<td>$fofoIdsAndRetailerName.get($request.getRetailerId()).getBusinessName()</td>
64
			    					<td>$fofoIdsAndRetailerName.get($request.getRetailerId()).getEmail()</td>
65
			    					<td>$fofoIdsAndRetailerName.get($request.getRetailerId()).getAddress().city</td>
66
			    					<td>$fofoIdsAndRetailerName.get($request.getRetailerId()).getAddress().state</td>
23985 tejbeer 67
			    					<td>$fofoIdsAndRetailerName.get($request.getRetailerId()).getMobileNumber()</td>
23936 tejbeer 68
			    					<td>$request.getTransaction_reference()</td>
69
			    					<td>$request.getAmount()</td>
23956 tejbeer 70
			    					<td>$request.getCreateTimestamp().format($dateTimeFormatter)</td>
71
			    					<td>$request.getUpdateTimestamp().format($dateTimeFormatter)</td>
23936 tejbeer 72
			    					#if($request.getStatus()=="pending")
73
			    					<td><button class="btn btn-primary approve" data-requestid="$request.getId()"  type="button" style="width:100%;border-radius:0px;">Approve</button>
74
								     </td>
23985 tejbeer 75
								     <td><button class="btn btn-primary rejected" data-requestid="$request.getId()"  type="button" style="width:100%;border-radius:0px;">Reject</button>
76
								     </td>
23936 tejbeer 77
			    					#end	
78
			    				</tr>	
79
			    	   #end
80
		    			#else
81
		    				<tr>
82
		    					<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
83
		    				</tr>
84
		    			#end
85
	    			</tbody>
86
	    		</table>
87
	    	</div>
88
	    </div>
89
    </div>
90
 
91
    #if(!$walletRequest.isEmpty())
92
    	<div class="row" id="add-wallet-request-paginated">
93
    		<div class="col-lg-9">
94
    			<p>Showing <span class="start">$start</span> to <span class="end">$end</span> of <span class="size">$size</span> items</p>
95
    		</div>
96
    		<div class="col-lg-3" style="text-align:right;">
97
				<div class="btn-group" style="width:40%">
98
					<button class="btn btn-primary previous" disabled="disabled" style="width:100%">Previous</button>
99
				</div>
100
				<div class="btn-group" style="width:40%">
101
					#if($end >= $size)
102
						<button class="btn btn-primary next" style="width:100%" disabled="disabled">Next</button>
103
					#else
104
						<button class="btn btn-primary next" style="width:100%">Next</button>
105
					#end
106
				</div>
107
	    	</div>
108
	    </div>
109
    #end
110
</section>
111
<div id="add-wallet-request-container" style="background:white;background-color:white;">
112
</div>