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