| 25496 |
tejbeer |
1 |
|
|
|
2 |
<section class="wrapper">
|
|
|
3 |
<div class="row">
|
|
|
4 |
<div class="col-lg-12">
|
| 32457 |
jai.hind |
5 |
<h3 class="page-header"><i class="icon_document_alt"></i>Approvals Payment Pending</h3>
|
| 25496 |
tejbeer |
6 |
<ol class="breadcrumb">
|
|
|
7 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
| 30260 |
tejbeer |
8 |
<li><i class="icon_document_alt"></i>Payment Pending</li>
|
| 25496 |
tejbeer |
9 |
</ol>
|
|
|
10 |
</div>
|
|
|
11 |
</div>
|
|
|
12 |
|
| 26792 |
tejbeer |
13 |
#if(!$oldApproved.isEmpty())
|
| 25587 |
tejbeer |
14 |
<h4 class="modelHeaderCustom" style="font-size:22px;padding:10px;">$oldMonth Refferals</h4>
|
|
|
15 |
#foreach($oApproved in $oldApproved.keySet())
|
|
|
16 |
<div class="row">
|
|
|
17 |
|
|
|
18 |
<div class="col-lg-2 form-group">
|
|
|
19 |
<input placeholder="month" id="oldMonth" name="oldMonth" type="text" value="$oldMonth" class="form-control input-sm" readonly>
|
|
|
20 |
</div>
|
|
|
21 |
|
|
|
22 |
<div class="col-lg-2 form-group">
|
|
|
23 |
<input placeholder="refereeEmail" id="refereeEmail" name="refereeEmail" type="text" value="$oApproved" class="form-control input-sm" readonly>
|
|
|
24 |
</div>
|
|
|
25 |
<div class="col-lg-2 form-group">
|
|
|
26 |
<input placeholder="Count" id="oldMonthCount" name="oldMonthCount" type="text" value="$oldApproved.get($oApproved)" class="form-control input-sm" readonly>
|
|
|
27 |
</div>
|
| 27595 |
tejbeer |
28 |
|
| 29878 |
tejbeer |
29 |
#set($mul =$oldApproved.get($oApproved) * 5000)
|
| 25587 |
tejbeer |
30 |
<div class="col-lg-2 form-group">
|
| 29987 |
tejbeer |
31 |
<input placeholder="Amount" id="oldMonthrefferalAmount" name="oldMonthrefferalAmount" type="text" value="$mul" class="form-control input-sm" >
|
| 25587 |
tejbeer |
32 |
</div>
|
| 27595 |
tejbeer |
33 |
|
| 25587 |
tejbeer |
34 |
<div class="col-lg-2 form-group">
|
| 26418 |
tejbeer |
35 |
<button class="btn btn-primary" onclick="oldRefferalAmountSubmit(`$oApproved`,$oldApproved.get($oApproved),`$oldMonth`)" type="button">Add Money to Wallet</button>
|
| 25587 |
tejbeer |
36 |
</div>
|
|
|
37 |
|
|
|
38 |
</div>
|
|
|
39 |
#end
|
| 26792 |
tejbeer |
40 |
<div id="refferal-table">
|
|
|
41 |
<div class="row">
|
|
|
42 |
<div class="col-lg-12">
|
|
|
43 |
<table class="table table-striped table-advance table-hover">
|
|
|
44 |
<tbody>
|
|
|
45 |
<tr>
|
|
|
46 |
<th>Referee Id</th>
|
|
|
47 |
<th>Referee Name</th>
|
|
|
48 |
<th>Referee Email</th>
|
| 29891 |
tejbeer |
49 |
<th>Business Name</th>
|
| 26792 |
tejbeer |
50 |
<th>Referee Mobile</th>
|
|
|
51 |
<th>Referal Name</th>
|
|
|
52 |
<th>Mobile</th>
|
|
|
53 |
<th>city</th>
|
|
|
54 |
<th>state</th>
|
|
|
55 |
<th>Created On</th>
|
|
|
56 |
<th>Updated On</th>
|
|
|
57 |
<th>Approved Timestamp</th>
|
|
|
58 |
|
|
|
59 |
</tr>
|
|
|
60 |
#if(!$oldPreMonthapproved.isEmpty())
|
|
|
61 |
#foreach( $request in $oldPreMonthapproved )
|
|
|
62 |
<tr class="refferal-table" data="$request.getId()">
|
|
|
63 |
<td>$request.getId()</td>
|
|
|
64 |
<td>$request.getRefereeName()</td>
|
|
|
65 |
<td>$request.getRefereeEmail()</td>
|
| 29891 |
tejbeer |
66 |
#if($customerRetailerMap.get($request.getRefereeEmail()).getBusinessName())
|
|
|
67 |
<td>$customerRetailerMap.get($request.getRefereeEmail()).getBusinessName()</td>
|
|
|
68 |
#else
|
|
|
69 |
<td></td>
|
|
|
70 |
#end
|
| 26792 |
tejbeer |
71 |
<td>$request.getRefereeMobile()</td>
|
|
|
72 |
<td>$request.getFirstName() $request.getLastName()</td>
|
|
|
73 |
<td>$request.getMobile()</td>
|
|
|
74 |
<td>$request.getCity()</td>
|
|
|
75 |
<td>$request.getState()</td>
|
|
|
76 |
<td>$request.getCreatedTimestamp().format($dateTimeFormatter)</td>
|
|
|
77 |
<td>$request.getUpdatedTimestamp().format($dateTimeFormatter)</td>
|
|
|
78 |
#if($request.getApprovedTimestamp())
|
|
|
79 |
<td>$request.getApprovedTimestamp().format($dateTimeFormatter)</td>
|
|
|
80 |
#else
|
|
|
81 |
<td> </td>
|
|
|
82 |
#end
|
|
|
83 |
|
|
|
84 |
</tr>
|
|
|
85 |
#end
|
|
|
86 |
#else
|
|
|
87 |
<tr>
|
|
|
88 |
<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
|
|
|
89 |
</tr>
|
|
|
90 |
#end
|
|
|
91 |
</tbody>
|
|
|
92 |
</table>
|
|
|
93 |
</div>
|
|
|
94 |
</div>
|
|
|
95 |
</div>
|
|
|
96 |
|
| 25587 |
tejbeer |
97 |
#end
|
| 25496 |
tejbeer |
98 |
|
| 25587 |
tejbeer |
99 |
#if(!$preApproved.isEmpty())
|
|
|
100 |
<h4 class="modelHeaderCustom" style="font-size:22px;padding:10px;">$previousMonth Refferals</h4>
|
|
|
101 |
#foreach($pApproved in $preApproved.keySet())
|
|
|
102 |
<div class="row">
|
|
|
103 |
|
|
|
104 |
<div class="col-lg-2 form-group">
|
|
|
105 |
<input placeholder="month" id="previousMonth" name="previousMonth" type="text" value="$previousMonth" class="form-control input-sm" readonly>
|
|
|
106 |
</div>
|
| 25496 |
tejbeer |
107 |
|
| 25587 |
tejbeer |
108 |
<div class="col-lg-2 form-group">
|
|
|
109 |
<input placeholder="refereeEmail" id="refereeEmail" name="refereeEmail" type="text" value="$pApproved" class="form-control input-sm" readonly>
|
| 25496 |
tejbeer |
110 |
</div>
|
| 25587 |
tejbeer |
111 |
|
|
|
112 |
<div class="col-lg-2 form-group">
|
|
|
113 |
<input placeholder="Count" id="count" name="count" type="text" value="$preApproved.get($pApproved)" class="form-control input-sm" readonly>
|
|
|
114 |
</div>
|
| 27595 |
tejbeer |
115 |
|
| 29878 |
tejbeer |
116 |
#set($mul =$preApproved.get($pApproved) * 5000)
|
| 25587 |
tejbeer |
117 |
<div class="col-lg-2 form-group">
|
| 29987 |
tejbeer |
118 |
<input placeholder="Amount" id="refferalAmount" name="refferalAmount" type="text" value="$mul" class="form-control input-sm" >
|
| 25587 |
tejbeer |
119 |
</div>
|
| 27595 |
tejbeer |
120 |
|
| 25587 |
tejbeer |
121 |
|
|
|
122 |
<div class="col-lg-2 form-group">
|
| 26418 |
tejbeer |
123 |
<button class="btn btn-primary" type="button" onclick="refferalAmountSubmit(`$pApproved`,$preApproved.get($pApproved),`$previousMonth`)"> Add Money to wallet</button>
|
| 25587 |
tejbeer |
124 |
</div>
|
|
|
125 |
|
|
|
126 |
</div>
|
|
|
127 |
#end
|
| 26792 |
tejbeer |
128 |
<div id="refferal-table">
|
|
|
129 |
<div class="row">
|
|
|
130 |
<div class="col-lg-12">
|
|
|
131 |
<table class="table table-striped table-advance table-hover">
|
|
|
132 |
<tbody>
|
|
|
133 |
<tr>
|
|
|
134 |
<th>Referee Id</th>
|
|
|
135 |
<th>Referee Name</th>
|
|
|
136 |
<th>Referee Email</th>
|
| 29891 |
tejbeer |
137 |
<th>Business Name</th>
|
| 26792 |
tejbeer |
138 |
<th>Referee Mobile</th>
|
|
|
139 |
<th>Referal Name</th>
|
|
|
140 |
<th>Mobile</th>
|
|
|
141 |
<th>city</th>
|
|
|
142 |
<th>state</th>
|
|
|
143 |
<th>Created On</th>
|
|
|
144 |
<th>Updated On</th>
|
|
|
145 |
<th>Approved Timestamp</th>
|
|
|
146 |
|
|
|
147 |
</tr>
|
|
|
148 |
#if(!$preCurrMonthapproved.isEmpty())
|
|
|
149 |
#foreach( $request in $preCurrMonthapproved )
|
|
|
150 |
<tr class="refferal-table" data="$request.getId()">
|
|
|
151 |
<td>$request.getId()</td>
|
|
|
152 |
<td>$request.getRefereeName()</td>
|
|
|
153 |
<td>$request.getRefereeEmail()</td>
|
| 29891 |
tejbeer |
154 |
#if($customerRetailerMap.get($request.getRefereeEmail()).getBusinessName())
|
|
|
155 |
<td>$customerRetailerMap.get($request.getRefereeEmail()).getBusinessName()</td>
|
|
|
156 |
#else
|
|
|
157 |
<td></td>
|
|
|
158 |
#end
|
| 26792 |
tejbeer |
159 |
<td>$request.getRefereeMobile()</td>
|
|
|
160 |
<td>$request.getFirstName() $request.getLastName()</td>
|
|
|
161 |
<td>$request.getMobile()</td>
|
|
|
162 |
<td>$request.getCity()</td>
|
|
|
163 |
<td>$request.getState()</td>
|
|
|
164 |
<td>$request.getCreatedTimestamp().format($dateTimeFormatter)</td>
|
|
|
165 |
<td>$request.getUpdatedTimestamp().format($dateTimeFormatter)</td>
|
|
|
166 |
#if($request.getApprovedTimestamp())
|
|
|
167 |
<td>$request.getApprovedTimestamp().format($dateTimeFormatter)</td>
|
|
|
168 |
#else
|
|
|
169 |
<td> </td>
|
|
|
170 |
#end
|
|
|
171 |
|
|
|
172 |
</tr>
|
|
|
173 |
#end
|
|
|
174 |
#else
|
|
|
175 |
<tr>
|
|
|
176 |
<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
|
|
|
177 |
</tr>
|
|
|
178 |
#end
|
|
|
179 |
</tbody>
|
|
|
180 |
</table>
|
|
|
181 |
</div>
|
|
|
182 |
</div>
|
|
|
183 |
</div>
|
| 25587 |
tejbeer |
184 |
#end
|
|
|
185 |
|
| 26766 |
tejbeer |
186 |
|
| 26792 |
tejbeer |
187 |
#if($pastApproved)
|
| 26766 |
tejbeer |
188 |
<h4 class="modelHeaderCustom" style="font-size:22px;padding:10px;"> Refferals</h4>
|
|
|
189 |
#foreach($pstApproved in $pastApproved.keySet())
|
|
|
190 |
<div class="row">
|
|
|
191 |
|
|
|
192 |
<div class="col-lg-2 form-group">
|
|
|
193 |
<input placeholder="refereeEmail" id="refereeEmail" name="refereeEmail" type="text" value="$pstApproved" class="form-control input-sm" readonly>
|
|
|
194 |
</div>
|
|
|
195 |
|
|
|
196 |
<div class="col-lg-2 form-group">
|
|
|
197 |
<input placeholder="Count" id="count" name="count" type="text" value="$pastApproved.get($pstApproved)" class="form-control input-sm" readonly>
|
|
|
198 |
</div>
|
| 27595 |
tejbeer |
199 |
|
|
|
200 |
|
| 30462 |
tejbeer |
201 |
#set($mul =$pastApproved.get($pstApproved) * 5000)
|
| 26766 |
tejbeer |
202 |
<div class="col-lg-2 form-group">
|
|
|
203 |
<input placeholder="Amount" id="refferalAmount" name="refferalAmount" type="text" value="$mul" class="form-control input-sm" readonly>
|
|
|
204 |
</div>
|
| 27595 |
tejbeer |
205 |
|
| 26766 |
tejbeer |
206 |
|
|
|
207 |
<div class="col-lg-2 form-group">
|
|
|
208 |
<button class="btn btn-primary" type="button" onclick="refferalAmountSubmit(`$pstApproved`,$pastApproved.get($pstApproved),`$previousMonth`)"> Add Money to wallet</button>
|
|
|
209 |
</div>
|
| 25587 |
tejbeer |
210 |
|
| 26766 |
tejbeer |
211 |
</div>
|
|
|
212 |
#end
|
| 26792 |
tejbeer |
213 |
<div id="refferal-table">
|
|
|
214 |
<div class="row">
|
|
|
215 |
<div class="col-lg-12">
|
|
|
216 |
<table class="table table-striped table-advance table-hover">
|
|
|
217 |
<tbody>
|
|
|
218 |
<tr>
|
|
|
219 |
<th>Referee Id</th>
|
|
|
220 |
<th>Referee Name</th>
|
|
|
221 |
<th>Referee Email</th>
|
| 29891 |
tejbeer |
222 |
<th>Business Name</th>
|
| 26792 |
tejbeer |
223 |
<th>Referee Mobile</th>
|
|
|
224 |
<th>Referal Name</th>
|
|
|
225 |
<th>Mobile</th>
|
|
|
226 |
<th>city</th>
|
|
|
227 |
<th>state</th>
|
|
|
228 |
<th>Created On</th>
|
|
|
229 |
<th>Updated On</th>
|
|
|
230 |
<th>Approved Timestamp</th>
|
|
|
231 |
|
|
|
232 |
</tr>
|
|
|
233 |
#if(!$pastrefferal.isEmpty())
|
|
|
234 |
#foreach( $request in $pastrefferal )
|
|
|
235 |
<tr class="refferal-table" data="$request.getId()">
|
|
|
236 |
<td>$request.getId()</td>
|
|
|
237 |
<td>$request.getRefereeName()</td>
|
|
|
238 |
<td>$request.getRefereeEmail()</td>
|
| 29891 |
tejbeer |
239 |
#if($customerRetailerMap.get($request.getRefereeEmail()).getBusinessName())
|
|
|
240 |
<td>$customerRetailerMap.get($request.getRefereeEmail()).getBusinessName()</td>
|
|
|
241 |
#else
|
|
|
242 |
<td></td>
|
|
|
243 |
#end
|
| 26792 |
tejbeer |
244 |
<td>$request.getRefereeMobile()</td>
|
|
|
245 |
<td>$request.getFirstName() $request.getLastName()</td>
|
|
|
246 |
<td>$request.getMobile()</td>
|
|
|
247 |
<td>$request.getCity()</td>
|
|
|
248 |
<td>$request.getState()</td>
|
|
|
249 |
<td>$request.getCreatedTimestamp().format($dateTimeFormatter)</td>
|
|
|
250 |
<td>$request.getUpdatedTimestamp().format($dateTimeFormatter)</td>
|
|
|
251 |
#if($request.getApprovedTimestamp())
|
|
|
252 |
<td>$request.getApprovedTimestamp().format($dateTimeFormatter)</td>
|
|
|
253 |
#else
|
|
|
254 |
<td> </td>
|
|
|
255 |
#end
|
|
|
256 |
|
|
|
257 |
</tr>
|
|
|
258 |
#end
|
|
|
259 |
#else
|
|
|
260 |
<tr>
|
|
|
261 |
<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
|
|
|
262 |
</tr>
|
|
|
263 |
#end
|
|
|
264 |
</tbody>
|
|
|
265 |
</table>
|
|
|
266 |
</div>
|
|
|
267 |
</div>
|
|
|
268 |
</div>
|
|
|
269 |
|
| 26766 |
tejbeer |
270 |
#end
|
| 25587 |
tejbeer |
271 |
|
| 26792 |
tejbeer |
272 |
|
|
|
273 |
|
| 26766 |
tejbeer |
274 |
|
|
|
275 |
|
| 25496 |
tejbeer |
276 |
</section>
|