Subversion Repositories SmartDukaan

Rev

Rev 26792 | Rev 29878 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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>
27595 tejbeer 28
 
29
	   	#set($mul =$oldApproved.get($oApproved) * 2000)
25587 tejbeer 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>
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>
49
	    					<th>Referee Mobile</th>
50
	    					<th>Referal Name</th>
51
	    					<th>Mobile</th>
52
	    					<th>city</th>
53
	    					<th>state</th>
54
	    					<th>Created On</th>
55
	    					<th>Updated On</th>
56
	    					<th>Approved Timestamp</th>
57
 
58
	    				</tr>
59
	    					#if(!$oldPreMonthapproved.isEmpty())
60
			    			#foreach( $request in $oldPreMonthapproved )
61
			    				<tr class="refferal-table" data="$request.getId()">
62
			    					<td>$request.getId()</td>
63
			    					<td>$request.getRefereeName()</td>
64
			    					<td>$request.getRefereeEmail()</td>
65
			    					<td>$request.getRefereeMobile()</td>
66
			    					<td>$request.getFirstName() $request.getLastName()</td>
67
			    					<td>$request.getMobile()</td>
68
			    					<td>$request.getCity()</td>
69
			    					<td>$request.getState()</td>
70
			    					<td>$request.getCreatedTimestamp().format($dateTimeFormatter)</td>
71
			    					<td>$request.getUpdatedTimestamp().format($dateTimeFormatter)</td>
72
			    					#if($request.getApprovedTimestamp())
73
			    					<td>$request.getApprovedTimestamp().format($dateTimeFormatter)</td>
74
			    					#else
75
			    					<td> </td>
76
			    					#end
77
 
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
 
25587 tejbeer 91
#end
25496 tejbeer 92
 
25587 tejbeer 93
#if(!$preApproved.isEmpty())
94
<h4 class="modelHeaderCustom" style="font-size:22px;padding:10px;">$previousMonth Refferals</h4>
95
#foreach($pApproved in $preApproved.keySet())
96
<div class="row">
97
 
98
 <div class="col-lg-2 form-group">
99
				<input placeholder="month" id="previousMonth" name="previousMonth" type="text" value="$previousMonth" class="form-control input-sm" readonly>
100
		</div>
25496 tejbeer 101
 
25587 tejbeer 102
		  <div class="col-lg-2 form-group">
103
				   	<input placeholder="refereeEmail" id="refereeEmail" name="refereeEmail" type="text" value="$pApproved" class="form-control input-sm" readonly>
25496 tejbeer 104
		</div>	
25587 tejbeer 105
 
106
       <div class="col-lg-2 form-group">
107
				<input placeholder="Count" id="count" name="count" type="text" value="$preApproved.get($pApproved)" class="form-control input-sm" readonly>
108
		</div>
27595 tejbeer 109
 
110
	   	#set($mul =$preApproved.get($pApproved) * 2000)
25587 tejbeer 111
             <div class="col-lg-2 form-group">
112
				   	<input placeholder="Amount" id="refferalAmount" name="refferalAmount" type="text" value="$mul" class="form-control input-sm" readonly>
113
		</div>	
27595 tejbeer 114
 
25587 tejbeer 115
 
116
	<div class="col-lg-2 form-group">
26418 tejbeer 117
			<button class="btn btn-primary" type="button" onclick="refferalAmountSubmit(`$pApproved`,$preApproved.get($pApproved),`$previousMonth`)"> Add Money to wallet</button>
25587 tejbeer 118
	</div>			
119
 
120
</div>	
121
#end	
26792 tejbeer 122
<div id="refferal-table">
123
		<div class="row">
124
	    	<div class="col-lg-12">
125
	    		<table class="table table-striped table-advance table-hover">
126
	    			<tbody>
127
	    				<tr>
128
	    					<th>Referee Id</th>
129
	    					<th>Referee Name</th>
130
	    					<th>Referee Email</th>
131
	    					<th>Referee Mobile</th>
132
	    					<th>Referal Name</th>
133
	    					<th>Mobile</th>
134
	    					<th>city</th>
135
	    					<th>state</th>
136
	    					<th>Created On</th>
137
	    					<th>Updated On</th>
138
	    					<th>Approved Timestamp</th>
139
 
140
	    				</tr>
141
	    					#if(!$preCurrMonthapproved.isEmpty())
142
			    			#foreach( $request in $preCurrMonthapproved )
143
			    				<tr class="refferal-table" data="$request.getId()">
144
			    					<td>$request.getId()</td>
145
			    					<td>$request.getRefereeName()</td>
146
			    					<td>$request.getRefereeEmail()</td>
147
			    					<td>$request.getRefereeMobile()</td>
148
			    					<td>$request.getFirstName() $request.getLastName()</td>
149
			    					<td>$request.getMobile()</td>
150
			    					<td>$request.getCity()</td>
151
			    					<td>$request.getState()</td>
152
			    					<td>$request.getCreatedTimestamp().format($dateTimeFormatter)</td>
153
			    					<td>$request.getUpdatedTimestamp().format($dateTimeFormatter)</td>
154
			    					#if($request.getApprovedTimestamp())
155
			    					<td>$request.getApprovedTimestamp().format($dateTimeFormatter)</td>
156
			    					#else
157
			    					<td> </td>
158
			    					#end
159
 
160
			    				</tr>	
161
			    	   #end
162
		    			#else
163
		    				<tr>
164
		    					<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
165
		    				</tr>
166
		    			#end
167
	    			</tbody>
168
	    		</table>
169
	    	</div>
170
	    </div>
171
    </div>
25587 tejbeer 172
#end		
173
 
26766 tejbeer 174
 
26792 tejbeer 175
#if($pastApproved)
26766 tejbeer 176
<h4 class="modelHeaderCustom" style="font-size:22px;padding:10px;"> Refferals</h4>
177
#foreach($pstApproved in $pastApproved.keySet())
178
<div class="row">
179
 
180
		  <div class="col-lg-2 form-group">
181
				   	<input placeholder="refereeEmail" id="refereeEmail" name="refereeEmail" type="text" value="$pstApproved" class="form-control input-sm" readonly>
182
		</div>	
183
 
184
       <div class="col-lg-2 form-group">
185
				<input placeholder="Count" id="count" name="count" type="text" value="$pastApproved.get($pstApproved)" class="form-control input-sm" readonly>
186
		</div>
27595 tejbeer 187
 
188
 
189
     	#set($mul =$pastApproved.get($pstApproved) * 2000)
26766 tejbeer 190
             <div class="col-lg-2 form-group">
191
				   	<input placeholder="Amount" id="refferalAmount" name="refferalAmount" type="text" value="$mul" class="form-control input-sm" readonly>
192
		</div>	
27595 tejbeer 193
 
26766 tejbeer 194
 
195
	<div class="col-lg-2 form-group">
196
			<button class="btn btn-primary" type="button" onclick="refferalAmountSubmit(`$pstApproved`,$pastApproved.get($pstApproved),`$previousMonth`)"> Add Money to wallet</button>
197
	</div>			
25587 tejbeer 198
 
26766 tejbeer 199
</div>	
200
#end	
26792 tejbeer 201
<div id="refferal-table">
202
		<div class="row">
203
	    	<div class="col-lg-12">
204
	    		<table class="table table-striped table-advance table-hover">
205
	    			<tbody>
206
	    				<tr>
207
	    					<th>Referee Id</th>
208
	    					<th>Referee Name</th>
209
	    					<th>Referee Email</th>
210
	    					<th>Referee Mobile</th>
211
	    					<th>Referal Name</th>
212
	    					<th>Mobile</th>
213
	    					<th>city</th>
214
	    					<th>state</th>
215
	    					<th>Created On</th>
216
	    					<th>Updated On</th>
217
	    					<th>Approved Timestamp</th>
218
 
219
	    				</tr>
220
	    					#if(!$pastrefferal.isEmpty())
221
			    			#foreach( $request in $pastrefferal )
222
			    				<tr class="refferal-table" data="$request.getId()">
223
			    					<td>$request.getId()</td>
224
			    					<td>$request.getRefereeName()</td>
225
			    					<td>$request.getRefereeEmail()</td>
226
			    					<td>$request.getRefereeMobile()</td>
227
			    					<td>$request.getFirstName() $request.getLastName()</td>
228
			    					<td>$request.getMobile()</td>
229
			    					<td>$request.getCity()</td>
230
			    					<td>$request.getState()</td>
231
			    					<td>$request.getCreatedTimestamp().format($dateTimeFormatter)</td>
232
			    					<td>$request.getUpdatedTimestamp().format($dateTimeFormatter)</td>
233
			    					#if($request.getApprovedTimestamp())
234
			    					<td>$request.getApprovedTimestamp().format($dateTimeFormatter)</td>
235
			    					#else
236
			    					<td> </td>
237
			    					#end
238
 
239
			    				</tr>	
240
			    	   #end
241
		    			#else
242
		    				<tr>
243
		    					<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
244
		    				</tr>
245
		    			#end
246
	    			</tbody>
247
	    		</table>
248
	    	</div>
249
	    </div>
250
    </div>
251
 
26766 tejbeer 252
#end	
25587 tejbeer 253
 
26792 tejbeer 254
 
255
 
26766 tejbeer 256
 
257
 
25496 tejbeer 258
	</section>