| 36064 |
aman |
1 |
<style>
|
|
|
2 |
.hidden-col {
|
|
|
3 |
display: none !important;
|
|
|
4 |
}
|
|
|
5 |
|
|
|
6 |
td.hidden-col {
|
|
|
7 |
display: none !important;
|
|
|
8 |
}
|
|
|
9 |
</style>
|
| 27799 |
tejbeer |
10 |
<section class="wrapper">
|
|
|
11 |
<div class="row">
|
|
|
12 |
<div class="col-lg-12">
|
| 32348 |
jai.hind |
13 |
<h3 class="page-header"><i class="icon_document_alt"></i>PARTNER ONBOARDING OPEN</h3>
|
| 27799 |
tejbeer |
14 |
<ol class="breadcrumb">
|
|
|
15 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
| 32348 |
jai.hind |
16 |
<li><i class="icon_document_alt"></i>Partner Onboarding Open</li>
|
| 27799 |
tejbeer |
17 |
</ol>
|
|
|
18 |
</div>
|
|
|
19 |
</div>
|
| 35971 |
aman |
20 |
|
|
|
21 |
## Search Box
|
|
|
22 |
<div class="col-lg-12" style="margin-bottom: 15px;">
|
|
|
23 |
<div class="row">
|
|
|
24 |
<div class="col-lg-8">
|
|
|
25 |
<label style="margin-right: 10px;"><strong>Search:</strong></label>
|
|
|
26 |
<input type="text" id="openSearch" class="form-control" style="width: 250px; display: inline-block;"
|
|
|
27 |
placeholder="Outlet, Phone, Code, City..." value="$!search">
|
|
|
28 |
<button type="button" class="btn btn-primary" id="openSearchBtn" style="margin-left: 5px;">
|
|
|
29 |
<i class="fa fa-search"></i> Search
|
|
|
30 |
</button>
|
|
|
31 |
#if($search && $search != "")
|
|
|
32 |
<button type="button" class="btn btn-default" id="clearOpenSearchBtn" style="margin-left: 5px;">
|
|
|
33 |
Clear
|
|
|
34 |
</button>
|
|
|
35 |
#end
|
|
|
36 |
</div>
|
|
|
37 |
</div>
|
|
|
38 |
</div>
|
|
|
39 |
|
|
|
40 |
<div class="col-lg-12">
|
| 27799 |
tejbeer |
41 |
<table class="table table-border table-condensed table-bordered" id="oboardingopen" style="width:100%">
|
|
|
42 |
|
|
|
43 |
<thead class="row htable">
|
|
|
44 |
|
|
|
45 |
<tr style="color:black;">
|
| 28947 |
manish |
46 |
<th>Id</th>
|
|
|
47 |
<th>Outlet Name(SM)</th>
|
| 27799 |
tejbeer |
48 |
<th>Created On</th>
|
|
|
49 |
<th>Acquired Date()</th>
|
|
|
50 |
<th>Outlet Name(SM)</th>
|
|
|
51 |
<th>Phone Number(SM)</th>
|
| 28947 |
manish |
52 |
<th>RBM Name(SM)</th>
|
| 27799 |
tejbeer |
53 |
<th>City (SM)</th>
|
|
|
54 |
<th>State Head(SM)</th>
|
|
|
55 |
<th>BDM (SM)</th>
|
|
|
56 |
<th>Agreed Brand fees(SM)</th>
|
|
|
57 |
<th>Received Brand fees(SM)</th>
|
| 28947 |
manish |
58 |
<th>Final Brand fees(SM)</th>
|
| 27799 |
tejbeer |
59 |
<th>Agreed Wallet(SM)</th>
|
| 28947 |
manish |
60 |
<th>Adv Stock Date(SM)</th>
|
| 27799 |
tejbeer |
61 |
<th>KYC (SM)</th>
|
|
|
62 |
<th>Aadhaar(legal)</th>
|
|
|
63 |
<th>pan(legal)</th>
|
|
|
64 |
<th>GST(legal)</th>
|
|
|
65 |
<th>Cancel cheque(legal)</th>
|
|
|
66 |
<th>Rent agreement/Owner ship proof(legal)</th>
|
|
|
67 |
<th>LOI(legal)</th>
|
|
|
68 |
<th>Code(legal)</th>
|
|
|
69 |
<th>Recee Planed(Kamini)</th>
|
|
|
70 |
<th>Recee Actual(Kamini)</th>
|
|
|
71 |
<th>Designing Planed(Kamini)</th>
|
|
|
72 |
<th>Designing Actual(Kamini)</th>
|
| 36064 |
aman |
73 |
<th class="hidden-col">Stock payment(kamini)</th>
|
|
|
74 |
<th class="hidden-col">Expected Date(kamini)</th>
|
|
|
75 |
<th class="hidden-col">Pay Date(Kamini)</th>
|
| 28947 |
manish |
76 |
<th>Inaugration(SM)</th>
|
| 36064 |
aman |
77 |
<th class="hidden-col">Billing Status(Kamini)</th>
|
| 28947 |
manish |
78 |
<th>Verification</th>
|
| 31431 |
amit.gupta |
79 |
|
| 27799 |
tejbeer |
80 |
</tr>
|
|
|
81 |
</thead>
|
|
|
82 |
<tbody>
|
|
|
83 |
#foreach($pob in $user )
|
|
|
84 |
<tr id="trow2">
|
|
|
85 |
#if($pob.getId())
|
| 28947 |
manish |
86 |
<td> <i class="far fa-arrow-alt-circle-up" style="background:green"></i>$pob.getId()</td>
|
| 27799 |
tejbeer |
87 |
#else
|
| 28947 |
manish |
88 |
<td><i class="far fa-arrow-alt-circle-down"></i>$pob.getId()</td>
|
| 27799 |
tejbeer |
89 |
#end
|
|
|
90 |
|
| 28947 |
manish |
91 |
#if($pob.getOutLetName() && $pob.getOutLetName() != "")
|
|
|
92 |
<td> <i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="text" placeholder="OutLet Name" value="$pob.getOutLetName()" name="outlateName"
|
|
|
93 |
disabled></td>
|
|
|
94 |
#else
|
|
|
95 |
<td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="text" placeholder="OutLet Name" name="outlateName" disabled></td>
|
|
|
96 |
#end
|
|
|
97 |
|
| 27799 |
tejbeer |
98 |
#if($pob.getCreatedTimestamp())
|
| 28947 |
manish |
99 |
<td><i class="far fa-arrow-alt-circle-up" style="background:green"></i>$pob.getCreatedTimestamp().format($datehiphenFormatter)</td>
|
| 27799 |
tejbeer |
100 |
#else
|
| 28947 |
manish |
101 |
<td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i>
|
| 27799 |
tejbeer |
102 |
</td>
|
|
|
103 |
#end
|
|
|
104 |
|
|
|
105 |
|
|
|
106 |
#if($pob.getAcquiredDate())
|
| 28947 |
manish |
107 |
<td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="date" class="acquired" placeholder="Acquired Date(SM)" disabled
|
| 27799 |
tejbeer |
108 |
name="acquireddate"
|
|
|
109 |
value="$pob.getAcquiredDate().format($datehiphenFormatter)"></td>
|
|
|
110 |
#else
|
| 28947 |
manish |
111 |
<td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="date" class="acquired" placeholder="Acquired Date(SM)" disabled
|
| 27799 |
tejbeer |
112 |
name="acquireddate">
|
|
|
113 |
</td>
|
|
|
114 |
#end
|
|
|
115 |
|
|
|
116 |
#if($pob.getOutLetName() && $pob.getOutLetName() != "")
|
| 28947 |
manish |
117 |
<td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="text" placeholder="OutLet Name" value="$pob.getOutLetName()" name="outlateName"
|
| 27799 |
tejbeer |
118 |
disabled></td>
|
|
|
119 |
#else
|
| 28947 |
manish |
120 |
<td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="text" placeholder="OutLet Name" name="outlateName" disabled></td>
|
| 27799 |
tejbeer |
121 |
#end
|
| 28947 |
manish |
122 |
|
| 27799 |
tejbeer |
123 |
#if($pob.getPhoneNumber() && $pob.getPhoneNumber() != 0)
|
| 28947 |
manish |
124 |
<td><i class="far fa-arrow-alt-circle-up" style="background:green"></i>
|
| 27799 |
tejbeer |
125 |
<input type="number" placeholder="9999999999" value="$pob.getPhoneNumber()"
|
|
|
126 |
name="phonenumber1"
|
|
|
127 |
disabled ></td>
|
|
|
128 |
#else
|
| 28947 |
manish |
129 |
<td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="number" placeholder="9999999999" name="phonenumber1" disabled></td>
|
| 27799 |
tejbeer |
130 |
#end
|
| 28599 |
amit.gupta |
131 |
|
| 28947 |
manish |
132 |
|
|
|
133 |
#if($pob.getAuthId() && $pob.getAuthId() != 0)
|
|
|
134 |
<td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="hidden" value ="$pob.getAuthId()"/><input type="text" placeholder="RBM Name(SM)" disabled name="rbmAuthId" value="$authUseMap.get($pob.getAuthId()).getFullName()"></td>
|
|
|
135 |
#else
|
|
|
136 |
<td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="text" placeholder="RBM Name(SM)" disabled name="rbmAuthId"></td>
|
|
|
137 |
#end
|
| 28610 |
amit.gupta |
138 |
|
| 28947 |
manish |
139 |
#if($pob.getCity() && $pob.getCity() != "")
|
|
|
140 |
<td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="text" placeholder="City (SM)" disabled name="city1" value="$pob.getCity()"></td>
|
| 27799 |
tejbeer |
141 |
#else
|
| 28947 |
manish |
142 |
<td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="text" placeholder="City (SM)" disabled name="city1"></td>
|
| 27799 |
tejbeer |
143 |
#end
|
| 28947 |
manish |
144 |
|
|
|
145 |
|
| 27799 |
tejbeer |
146 |
#if($pob.getStateHead() && $pob.getStateHead() != "")
|
| 28947 |
manish |
147 |
<td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="text" placeholder="State Head(SM)" disabled name="shead1"
|
| 27799 |
tejbeer |
148 |
value="$pob.getStateHead()"></td>
|
|
|
149 |
#else
|
| 28947 |
manish |
150 |
<td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="text" placeholder="State Head(SM)" disabled name="shead1"></td>
|
| 27799 |
tejbeer |
151 |
#end
|
|
|
152 |
#if($pob.getBDM() && $pob.getBDM() != "")
|
| 28947 |
manish |
153 |
<td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="text" placeholder="BDM (SM)" disabled name="bdm1" value="$pob.getBDM()"></td>
|
| 27799 |
tejbeer |
154 |
#else
|
| 28947 |
manish |
155 |
<td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="text" placeholder="BDM (SM)" disabled name="bdm1"></td>
|
| 27799 |
tejbeer |
156 |
#end
|
| 28947 |
manish |
157 |
|
|
|
158 |
#if($pob.getAgreedBrandFees() != 0)
|
| 28700 |
amit.gupta |
159 |
|
|
|
160 |
#if($pob.getReceivedBrandFees() >= $pob.getAgreedBrandFees())
|
|
|
161 |
|
| 28947 |
manish |
162 |
<td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="text" placeholder="Agreed Brand fees(SM)" disabled name="abrand1"
|
| 27799 |
tejbeer |
163 |
value="$pob.getAgreedBrandFees()" ></td>
|
| 28700 |
amit.gupta |
164 |
#else
|
| 28947 |
manish |
165 |
<td><i class="far fa-arrow-alt-circle-down" style="background:red;"></i><input type="text" placeholder="Agreed Brand fees(SM)" disabled name="abrand1"
|
| 28700 |
amit.gupta |
166 |
value="$pob.getAgreedBrandFees()" ></td>
|
|
|
167 |
#end
|
| 27799 |
tejbeer |
168 |
#else
|
| 28947 |
manish |
169 |
<td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="text" placeholder="Agreed Brand fees(SM)" disabled name="abrand1"></td>
|
| 27799 |
tejbeer |
170 |
#end
|
|
|
171 |
|
| 28947 |
manish |
172 |
|
| 27799 |
tejbeer |
173 |
#if($pob.getReceivedBrandFees()!= 0)
|
|
|
174 |
|
| 28947 |
manish |
175 |
#if($pob.getReceivedBrandFees() >= $pob.getAgreedBrandFees())
|
|
|
176 |
<td> <i class="far fa-arrow-alt-circle-up" style="background:green"></i> <input type="text" placeholder="Received Brand fees" disabled name="recbrand1"
|
| 27799 |
tejbeer |
177 |
value="$pob.getReceivedBrandFees()"></td>
|
| 28947 |
manish |
178 |
#else
|
|
|
179 |
<td style="background:red;"><i class="far fa-arrow-alt-circle-up" style="background:red"></i><input type="text" placeholder="Received Brand fees" disabled name="recbrand1"
|
|
|
180 |
value="$pob.getReceivedBrandFees()"></td>
|
|
|
181 |
#end
|
|
|
182 |
|
|
|
183 |
#else
|
|
|
184 |
<td> <i class="far fa-arrow-alt-circle-up" style="background:pink;"></i><input type="text" placeholder="Received Brand fees" disabled name="recbrand1"></td>
|
| 27799 |
tejbeer |
185 |
#end
|
| 28947 |
manish |
186 |
|
|
|
187 |
|
|
|
188 |
|
|
|
189 |
#if($pob.getFinalBrandFeesDate())
|
| 27799 |
tejbeer |
190 |
|
| 28947 |
manish |
191 |
<td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="date" placeholder="Brand fees Date(SM)" disabled name="BrandFeesdate1" id="brandfeesdate"
|
|
|
192 |
value="$pob.getFinalBrandFeesDate().format($datehiphenFormatter)"
|
|
|
193 |
></td>
|
| 27799 |
tejbeer |
194 |
#else
|
| 28947 |
manish |
195 |
<td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="date" placeholder="Brand Fees Date(SM)" disabled name="BrandFeesdate1"></td>
|
| 27799 |
tejbeer |
196 |
#end
|
| 28947 |
manish |
197 |
|
| 27799 |
tejbeer |
198 |
#if($pob.getAgreedWallet()!= 0)
|
| 28947 |
manish |
199 |
<td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="text" placeholder="Agreed Wallet(SM)" disabled name="awallet"
|
| 27799 |
tejbeer |
200 |
value="$pob.getAgreedWallet()" ></td>
|
|
|
201 |
#else
|
| 28947 |
manish |
202 |
<td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="text" placeholder="Agreed Wallet(SM)" disabled name="awallet"></td>
|
| 27799 |
tejbeer |
203 |
#end
|
|
|
204 |
|
|
|
205 |
#if($pob.getInvestmentDate())
|
|
|
206 |
|
| 28947 |
manish |
207 |
<td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="date" placeholder="Investment Date(SM)" disabled name="idate1" id="idate"
|
| 27799 |
tejbeer |
208 |
value="$pob.getInvestmentDate().format($datehiphenFormatter)"
|
|
|
209 |
></td>
|
|
|
210 |
#else
|
| 28947 |
manish |
211 |
<td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="date" placeholder="Investment Date(SM)" disabled name="idate1"></td>
|
| 27799 |
tejbeer |
212 |
#end
|
|
|
213 |
#if($pob.getKyc() && $pob.getKyc() != 0)
|
| 28947 |
manish |
214 |
<td class="kyc docfile">
|
|
|
215 |
<i class="far fa-arrow-alt-circle-up" style="background:green"></i>
|
| 27799 |
tejbeer |
216 |
<input type="hidden" class="kychidden" value="$pob.getKyc()">
|
|
|
217 |
<input type="file" class="kyc" placeholder="KYC (SM)" disabled name="kyc1"
|
|
|
218 |
value="$pob.getKyc()">
|
|
|
219 |
##<button type="button" class="btn btn-primary download-kyc-file" data-docpid="$pob.getKyc()" data-id="$pob.getId()">Download Document</button>
|
| 28947 |
manish |
220 |
<a href="${rc.contextPath}/download-attachment?documentId=$pob.getKyc()" class="download">Download Doc</a>
|
|
|
221 |
<a href="#" style="padding: 49px;" class="Del">Delete Doc</a>
|
|
|
222 |
|
| 27799 |
tejbeer |
223 |
</td>
|
|
|
224 |
#else
|
| 28947 |
manish |
225 |
<td class="kyc docfile"><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i>
|
| 27799 |
tejbeer |
226 |
<input type="hidden">
|
|
|
227 |
<input type="file" id="kyc" placeholder="KYC (SM)" disabled name="kyc1">
|
|
|
228 |
</td>
|
|
|
229 |
#end
|
|
|
230 |
|
|
|
231 |
#if($pob.getAadharDoc() && $pob.getAadharDoc() != 0)
|
| 28947 |
manish |
232 |
<td class="aadhar docfile">
|
|
|
233 |
<i class="far fa-arrow-alt-circle-up" style="background:green"></i>
|
| 27799 |
tejbeer |
234 |
<input type="hidden" class="aadharhidden" value="$pob.getAadharDoc()">
|
|
|
235 |
<input type="file" class="aadhar" placeholder="aadhar" disabled name="aadhar1"
|
|
|
236 |
value="$pob.getAadharDoc()">
|
| 28947 |
manish |
237 |
<a href="${rc.contextPath}/download-attachment?documentId=$pob.getAadharDoc()" class="download">Download
|
| 27799 |
tejbeer |
238 |
Doc</a>
|
| 28947 |
manish |
239 |
<a href="#" style="padding: 49px;" class="Del">Delete Doc</a>
|
| 27799 |
tejbeer |
240 |
|
|
|
241 |
</td>
|
|
|
242 |
#else
|
| 28947 |
manish |
243 |
<td class="aadhar docfile">
|
|
|
244 |
<i class="far fa-arrow-alt-circle-down" style="background:pink;"></i>
|
| 27799 |
tejbeer |
245 |
<input type="hidden">
|
|
|
246 |
<input type="file" class="aadhar" placeholder="aadhar" disabled name="aadhar1">
|
|
|
247 |
</td>
|
|
|
248 |
#end
|
|
|
249 |
#if($pob.getPanDoc() && $pob.getPanDoc() != 0)
|
| 28947 |
manish |
250 |
<td class="pan docfile">
|
|
|
251 |
<i class="far fa-arrow-alt-circle-up" style="background:green"></i>
|
| 27799 |
tejbeer |
252 |
<input type="hidden" class="panhidden" value="$pob.getPanDoc()">
|
|
|
253 |
<input type="file" class="pandoc" placeholder="pan(SM)" disabled name="pan1"
|
|
|
254 |
value="$pob.getPanDoc()">
|
|
|
255 |
##<button type="button" class="btn btn-primary download-pan-file" data-docpid="$pob.getPanDoc()" data-id="$pob.getId()">Download Document</button>
|
| 28947 |
manish |
256 |
<a href="${rc.contextPath}/download-attachment?documentId=$pob.getPanDoc()" class="download">Download Doc</a>
|
|
|
257 |
<a href="#" style="padding: 49px;" class="Del">Delete Doc</a>
|
| 27799 |
tejbeer |
258 |
</td>
|
|
|
259 |
#else
|
| 28947 |
manish |
260 |
<td class="pan docfile">
|
|
|
261 |
<i class="far fa-arrow-alt-circle-down" style="background:pink;"></i>
|
| 27799 |
tejbeer |
262 |
<input type="hidden">
|
|
|
263 |
<input type="file" class="pandoc" placeholder="pan(SM)" disabled name="pan1">
|
|
|
264 |
</td>
|
|
|
265 |
#end
|
|
|
266 |
#if($pob.getGstdoc() && $pob.getGstdoc() != 0)
|
| 28947 |
manish |
267 |
<td class="gst docfile">
|
|
|
268 |
<i class="far fa-arrow-alt-circle-up" style="background:green"></i>
|
| 27799 |
tejbeer |
269 |
<input type="hidden" class="gsthidden" value="$pob.getGstdoc()">
|
|
|
270 |
<input type="file" class="gstdoc" placeholder="GST(SM)" disabled name="gst1"
|
|
|
271 |
value="$pob.getGstdoc()">
|
|
|
272 |
##<button type="button" class="btn btn-primary download-gst-file" data-docpid="$pob.getGstdoc()" data-id="$pob.getId()">Download Document</button>
|
| 28947 |
manish |
273 |
<a href="${rc.contextPath}/download-attachment?documentId=$pob.getGstdoc()" class="download">Download Doc</a>
|
|
|
274 |
<a href="#" style="padding: 49px;" class="Del">Delete Doc</a>
|
| 27799 |
tejbeer |
275 |
</td>
|
|
|
276 |
#else
|
| 28947 |
manish |
277 |
<td class="gst docfile">
|
|
|
278 |
<i class="far fa-arrow-alt-circle-down" style="background:pink;"></i>
|
| 27799 |
tejbeer |
279 |
<input type="hidden">
|
|
|
280 |
<input type="file" class="gstdoc" placeholder="GST(SM)" disabled name="gst1">
|
|
|
281 |
</td>
|
|
|
282 |
#end
|
|
|
283 |
#if($pob.getCancelCheque() && $pob.getCancelCheque() != 0)
|
|
|
284 |
|
| 28947 |
manish |
285 |
<td class="cancheque docfile">
|
|
|
286 |
<i class="far fa-arrow-alt-circle-up" style="background:green"></i>
|
| 27799 |
tejbeer |
287 |
<input type="hidden" class="canchequehidden" value="$pob.getCancelCheque()">
|
|
|
288 |
<input type="file" class="canchequedoc" placeholder="Cancel cheque(SM)" disabled name="cancheque1"
|
|
|
289 |
value="$pob.getCancelCheque()">
|
|
|
290 |
##<button type="button" class="btn btn-primary download-cancheque-file" data-docpid="$pob.getCancelCheque()" data-id="$pob.getId()">Download Document</button>
|
| 28947 |
manish |
291 |
<a href="${rc.contextPath}/download-attachment?documentId=$pob.getCancelCheque()" class="download">Download
|
| 27799 |
tejbeer |
292 |
Doc</a>
|
| 28947 |
manish |
293 |
<a href="#" style="padding: 49px;" class="Del">Delete Doc</a>
|
| 27799 |
tejbeer |
294 |
|
|
|
295 |
</td>
|
|
|
296 |
|
|
|
297 |
#else
|
| 28947 |
manish |
298 |
<td class="cancheque docfile">
|
|
|
299 |
<i class="far fa-arrow-alt-circle-down" style="background:pink;"></i>
|
| 27799 |
tejbeer |
300 |
<input type="hidden">
|
|
|
301 |
<input type="file" class="canchequedoc" placeholder="Cancel cheque(SM)" disabled
|
|
|
302 |
name="cancheque1">
|
|
|
303 |
</td>
|
|
|
304 |
#end
|
|
|
305 |
#if($pob.getRentAgreement() && $pob.getRentAgreement() != 0)
|
| 28947 |
manish |
306 |
<td class="rent docfile">
|
|
|
307 |
<i class="far fa-arrow-alt-circle-up" style="background:green"></i>
|
| 27799 |
tejbeer |
308 |
<input type="hidden" class="renthidden" value="$pob.getRentAgreement()">
|
|
|
309 |
<input type="file" class="rentdoc" placeholder="Rent agreement/Owner ship proof(SM)" disabled name="ragreement1"
|
|
|
310 |
value="$pob.getRentAgreement()">
|
| 28947 |
manish |
311 |
<a href="${rc.contextPath}/download-attachment?documentId=$pob.getRentAgreement()" class="download">Download Doc</a>
|
|
|
312 |
<a href="#" style="padding: 49px;" class="Del">Delete Doc</a>
|
| 27799 |
tejbeer |
313 |
</td>
|
|
|
314 |
#else
|
|
|
315 |
|
| 28947 |
manish |
316 |
<td class="rent docfile">
|
|
|
317 |
<i class="far fa-arrow-alt-circle-down" style="background:pink;"></i>
|
| 27799 |
tejbeer |
318 |
<input type="hidden">
|
|
|
319 |
<input type="file" placeholder="Rent agreement/Owner ship proof(SM)" disabled name="ragreement1">
|
|
|
320 |
</td>
|
|
|
321 |
#end
|
|
|
322 |
|
|
|
323 |
#if($pob.getLOI() && $pob.getLOI() != 0)
|
| 28947 |
manish |
324 |
<td class="loi docfile" >
|
|
|
325 |
<i class="far fa-arrow-alt-circle-up" style="background:green"></i>
|
| 27799 |
tejbeer |
326 |
<input type="hidden" class="loihidden" value="$pob.getLOI()">
|
|
|
327 |
<input type="file" class="loidoc" placeholder="LOI(SM)" disabled value="$pob.getLOI()">
|
| 28947 |
manish |
328 |
<a href="${rc.contextPath}/download-attachment?documentId=$pob.getLOI()" class="download">Download Doc</a>
|
|
|
329 |
<a href="#" style="padding: 49px;" class="Del">Delete Doc</a>
|
|
|
330 |
|
| 27799 |
tejbeer |
331 |
</td>
|
|
|
332 |
#else
|
|
|
333 |
|
| 28947 |
manish |
334 |
<td class="loi docfile">
|
|
|
335 |
<i class="far fa-arrow-alt-circle-down" style="background:pink;"></i>
|
| 27799 |
tejbeer |
336 |
<input type="hidden">
|
|
|
337 |
<input type="file" placeholder="LOI(SM)" disabled name="loi1">
|
|
|
338 |
</td>
|
|
|
339 |
#end
|
|
|
340 |
|
|
|
341 |
|
|
|
342 |
|
|
|
343 |
#if($pob.getCode() && $pob.getCode() != "")
|
| 28947 |
manish |
344 |
<td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="text" placeholder="Code(SM)" disabled name="code1" value="$pob.getCode()"
|
| 27799 |
tejbeer |
345 |
></td>
|
|
|
346 |
#else
|
| 28947 |
manish |
347 |
<td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="text" placeholder="Code(SM)" disabled name="code1"></td>
|
| 27799 |
tejbeer |
348 |
#end
|
| 28947 |
manish |
349 |
|
|
|
350 |
|
| 27799 |
tejbeer |
351 |
#if($pob.getReceePlaned())
|
| 28947 |
manish |
352 |
<td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="date" id="rplaned" placeholder="Recee Planed(Kamini)" disabled name="rplaned1"
|
| 27799 |
tejbeer |
353 |
value="$pob.getReceePlaned().format($datehiphenFormatter)" >
|
|
|
354 |
</td>
|
|
|
355 |
#else
|
| 28947 |
manish |
356 |
<td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="date" id="rplaned" placeholder="Recee Planed(Kamini)" disabled name="rplaned1">
|
| 27799 |
tejbeer |
357 |
</td>
|
|
|
358 |
#end
|
|
|
359 |
#if($pob.getReceeActual())
|
| 28947 |
manish |
360 |
<td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="date" id="ractual" placeholder="Recee Actual(Kamini)" disabled name="ractual1"
|
| 27799 |
tejbeer |
361 |
value="$pob.getReceeActual().format($datehiphenFormatter)" >
|
|
|
362 |
</td>
|
|
|
363 |
#else
|
| 28947 |
manish |
364 |
<td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="date" id="ractual" placeholder="Recee Actual(Kamini)" disabled name="ractual1">
|
| 27799 |
tejbeer |
365 |
</td>
|
|
|
366 |
#end
|
|
|
367 |
|
|
|
368 |
#if($pob.getDesigningPlaned())
|
| 28947 |
manish |
369 |
<td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="date" id="dplaned" placeholder="Designing Planed(Kamini)" disabled
|
| 27799 |
tejbeer |
370 |
name="dplaned1"
|
|
|
371 |
value="$pob.getDesigningPlaned().format($datehiphenFormatter)"></td>
|
|
|
372 |
#else
|
| 28947 |
manish |
373 |
<td>
|
|
|
374 |
<i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="date" id="dplaned" placeholder="Designing Planed(Kamini)" disabled
|
| 27799 |
tejbeer |
375 |
name="dplaned1">
|
|
|
376 |
</td>
|
|
|
377 |
#end
|
| 28947 |
manish |
378 |
#if($pob.getDeploymentDate())
|
|
|
379 |
<td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="date" id="dactual" placeholder="Designing Actual(Kamini)" disabled
|
| 27799 |
tejbeer |
380 |
name="dactual1"
|
| 28947 |
manish |
381 |
value="$pob.getDeploymentDate().format($datehiphenFormatter)"></td>
|
| 27799 |
tejbeer |
382 |
#else
|
| 28947 |
manish |
383 |
<td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="date" id="dactual" placeholder="Designing Actual(Kamini)" disabled
|
| 27799 |
tejbeer |
384 |
name="dactual1">
|
|
|
385 |
</td>
|
|
|
386 |
#end
|
|
|
387 |
#if($pob.getStockPayment()!= 0)
|
| 28947 |
manish |
388 |
<td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="text" placeholder="Stock payment(kamini)" disabled name="spayment1"
|
| 27799 |
tejbeer |
389 |
value="$pob.getStockPayment()"></td>
|
|
|
390 |
#else
|
| 28947 |
manish |
391 |
<td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="text" placeholder="Stock payment(kamini)" disabled name="spayment1""></td>
|
| 27799 |
tejbeer |
392 |
#end
|
|
|
393 |
|
|
|
394 |
|
|
|
395 |
|
|
|
396 |
#if($pob.getExpectedDate())
|
| 28947 |
manish |
397 |
<td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="date" class="expdate" placeholder="Expected Date(Kamini)" disabled value="$pob.getExpectedDate().format($datehiphenFormatter)" >
|
| 27799 |
tejbeer |
398 |
</td>
|
|
|
399 |
#else
|
| 28947 |
manish |
400 |
<td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="date" class="expdate" placeholder="Expected Date(Kamini)" disabled>
|
| 27799 |
tejbeer |
401 |
</td>
|
|
|
402 |
#end
|
|
|
403 |
|
|
|
404 |
#if($pob.getPayDate())
|
| 28947 |
manish |
405 |
<td><i class="far fa-arrow-alt-circle-up" style="background:green"></i>
|
| 27799 |
tejbeer |
406 |
<input type="date" class="paydate" placeholder="pay Date(Kamini)" disabled value="$pob.getPayDate().format($datehiphenFormatter)" >
|
|
|
407 |
</td>
|
|
|
408 |
#else
|
| 28947 |
manish |
409 |
<td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="date" class="paydate" placeholder="Pay Date(Kamini)" disabled >
|
| 27799 |
tejbeer |
410 |
</td>
|
|
|
411 |
#end
|
|
|
412 |
|
| 28947 |
manish |
413 |
#if($pob.getInaugrationDate())
|
|
|
414 |
#if($pob.getDeploymentDate())
|
|
|
415 |
<td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="date" class="inaugrationDate" placeholder="Inaugration Date (SM)" disabled value="$pob.getInaugrationDate().format($datehiphenFormatter)" >
|
|
|
416 |
</td>
|
|
|
417 |
#else
|
|
|
418 |
<td><i class="far fa-arrow-alt-circle-down" style="background:red;"></i><input type="date" class="inaugrationDate" placeholder="Inaugration Date (SM)" disabled value="$pob.getInaugrationDate().format($datehiphenFormatter)" >
|
|
|
419 |
</td>
|
|
|
420 |
#end
|
|
|
421 |
#else
|
|
|
422 |
<td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="date" class="inaugrationDate" placeholder="Inaugration Date (SM)" disabled>
|
|
|
423 |
</td>
|
|
|
424 |
#end
|
|
|
425 |
|
|
|
426 |
|
| 27799 |
tejbeer |
427 |
<td #if($pob.getBillingStatus()==0) style="background-color:pink"#else style="background-color:lime" #end>
|
|
|
428 |
<input type="checkbox" disabled #if($pob.getBillingStatus()>0) checked #end >
|
|
|
429 |
#if($pob.getBillingStatus()>0)
|
|
|
430 |
<label> YES</label>
|
|
|
431 |
#else
|
|
|
432 |
<label>NO</label>
|
| 28947 |
manish |
433 |
#end
|
|
|
434 |
</td>
|
|
|
435 |
|
|
|
436 |
|
|
|
437 |
#if($partnerVerificationStatusMap.get($pob.getId()))
|
|
|
438 |
|
|
|
439 |
#if($partnerVerificationStatusMap.get($pob.getId())== "YES")
|
|
|
440 |
<td><i class="far fa-arrow-alt-circle-up" style="background:green;"></i><input type="text" name= "verificationStatusOnboarding"class="verificationStatus" placeholder="" disabled value="APPROVED" >
|
|
|
441 |
</td>
|
|
|
442 |
|
|
|
443 |
#elseif($partnerVerificationStatusMap.get($pob.getId())== "NO")
|
|
|
444 |
<td><i class="far fa-arrow-alt-circle-up" style="background:red;"></i><input type="text" name= "verificationStatusOnboarding"class="verificationStatus" placeholder="" disabled value="REJECTED" >
|
|
|
445 |
</td>
|
|
|
446 |
|
|
|
447 |
#else
|
|
|
448 |
<td><i class="far fa-arrow-alt-circle-up" style="background:pink;"></i><input type="text" name= "verificationStatusOnboarding"class="verificationStatus" placeholder="" disabled value="$partnerVerificationStatusMap.get($pob.getId())" >
|
|
|
449 |
</td>
|
|
|
450 |
|
|
|
451 |
#end
|
|
|
452 |
#else
|
|
|
453 |
<td><i class="far fa-arrow-alt-circle-down" style="background:red;"></i><input type="text" name= "verificationStatusOnboarding" class="verificationStatus" placeholder="" disabled value="PENDING" >
|
|
|
454 |
</td>
|
|
|
455 |
|
|
|
456 |
#end
|
| 27799 |
tejbeer |
457 |
|
|
|
458 |
</tr>
|
|
|
459 |
#end
|
|
|
460 |
|
|
|
461 |
</tbody>
|
|
|
462 |
|
|
|
463 |
</table>
|
|
|
464 |
</div>
|
|
|
465 |
|
| 35971 |
aman |
466 |
## Pagination Controls (Bottom)
|
|
|
467 |
<div class="col-lg-12" style="margin-top: 15px;">
|
|
|
468 |
<div class="row">
|
|
|
469 |
<div class="col-lg-12 text-center">
|
|
|
470 |
#if($totalRecords > 0)
|
|
|
471 |
<span class="pagination-info">Showing $startRecord - $endRecord of $totalRecords</span>
|
|
|
472 |
<ul class="pagination pagination-sm" style="margin: 0 15px; display: inline-flex;">
|
|
|
473 |
#if($currentPage > 0)
|
|
|
474 |
<li><a href="javascript:void(0)" class="open-page-link" data-page="0">First</a></li>
|
|
|
475 |
<li><a href="javascript:void(0)" class="open-page-link" data-page="$prevPage">Prev</a>
|
|
|
476 |
</li>
|
|
|
477 |
#else
|
|
|
478 |
<li class="disabled"><span>First</span></li>
|
|
|
479 |
<li class="disabled"><span>Prev</span></li>
|
|
|
480 |
#end
|
|
|
481 |
|
|
|
482 |
<li class="active"><span>Page $currentPageDisplay of $totalPages</span></li>
|
|
|
483 |
|
|
|
484 |
#if($currentPage < $lastPage)
|
|
|
485 |
<li><a href="javascript:void(0)" class="open-page-link" data-page="$nextPage">Next</a>
|
|
|
486 |
</li>
|
|
|
487 |
<li><a href="javascript:void(0)" class="open-page-link" data-page="$lastPage">Last</a>
|
|
|
488 |
</li>
|
|
|
489 |
#else
|
|
|
490 |
<li class="disabled"><span>Next</span></li>
|
|
|
491 |
<li class="disabled"><span>Last</span></li>
|
|
|
492 |
#end
|
|
|
493 |
</ul>
|
|
|
494 |
<select class="form-control open-page-size" style="width: 120px; display: inline-block;">
|
|
|
495 |
<option value="10" #if($pageSize==10)selected#end>10 per page</option>
|
|
|
496 |
<option value="25" #if($pageSize==25)selected#end>25 per page</option>
|
|
|
497 |
<option value="50" #if($pageSize==50)selected#end>50 per page</option>
|
|
|
498 |
<option value="100" #if($pageSize==100)selected#end>100 per page</option>
|
|
|
499 |
</select>
|
|
|
500 |
#end
|
|
|
501 |
</div>
|
|
|
502 |
</div>
|
|
|
503 |
</div>
|
|
|
504 |
|
| 27799 |
tejbeer |
505 |
</section>
|
| 35971 |
aman |
506 |
|
| 27799 |
tejbeer |
507 |
<script>
|
| 35971 |
aman |
508 |
$(document).ready(function () {
|
|
|
509 |
// Search button click handler
|
|
|
510 |
$('#openSearchBtn').on('click', function () {
|
|
|
511 |
refreshOpenList(0);
|
|
|
512 |
});
|
| 27799 |
tejbeer |
513 |
|
| 35971 |
aman |
514 |
// Search on Enter key
|
|
|
515 |
$('#openSearch').on('keypress', function (e) {
|
|
|
516 |
if (e.which === 13) {
|
|
|
517 |
refreshOpenList(0);
|
|
|
518 |
}
|
|
|
519 |
});
|
| 27799 |
tejbeer |
520 |
|
| 35971 |
aman |
521 |
// Clear search button
|
|
|
522 |
$('#clearOpenSearchBtn').on('click', function () {
|
|
|
523 |
$('#openSearch').val('');
|
|
|
524 |
refreshOpenList(0);
|
|
|
525 |
});
|
|
|
526 |
|
|
|
527 |
// Pagination link click handler
|
|
|
528 |
$(document).on('click', '.open-page-link', function (e) {
|
|
|
529 |
e.preventDefault();
|
|
|
530 |
refreshOpenList($(this).data('page'));
|
|
|
531 |
});
|
|
|
532 |
|
|
|
533 |
// Page size change handler
|
|
|
534 |
$(document).on('change', '.open-page-size', function () {
|
|
|
535 |
refreshOpenList(0);
|
|
|
536 |
});
|
|
|
537 |
|
|
|
538 |
// Destroy existing DataTable if it exists (prevents reinitialization error)
|
|
|
539 |
if ($.fn.DataTable.isDataTable('#oboardingopen')) {
|
|
|
540 |
$('#oboardingopen').DataTable().destroy();
|
|
|
541 |
}
|
|
|
542 |
|
|
|
543 |
var dtable = $('#oboardingopen').DataTable({
|
|
|
544 |
"paging": false, // Disable client-side pagination (server-side)
|
|
|
545 |
"info": false,
|
|
|
546 |
"bFilter": false, // Disable DataTables filter (we use server-side search)
|
|
|
547 |
"bAutoWidth": false,
|
|
|
548 |
"scrollX": true,
|
|
|
549 |
fixedColumns: {
|
|
|
550 |
leftColumns: 2
|
|
|
551 |
},
|
| 28947 |
manish |
552 |
"columnDefs": [
|
|
|
553 |
{ "targets": 1, "orderDataType": "date-dd-mmm-yyyy", "type":"string" },
|
|
|
554 |
{ "targets": 2, "orderDataType": "date-dd-mmm-yyyy", "type":"string" },
|
|
|
555 |
|
|
|
556 |
{ "targets": 3, "orderDataType": "date-dd-mmm-yyyy", "type": "string" },
|
|
|
557 |
{ "targets": 4, "orderDataType": "dom-text", "type": "string" },
|
|
|
558 |
{ "targets": 5, "orderDataType": "dom-text-numeric", "type":"number"},
|
|
|
559 |
{ "targets": 6, "orderDataType": "dom-text", "type": "string" },
|
|
|
560 |
|
|
|
561 |
{ "targets": 7, "orderDataType": "dom-text", "type": "string" },
|
|
|
562 |
|
|
|
563 |
{ "targets": 8, "orderDataType": "dom-text", "type": "string" },
|
|
|
564 |
{ "targets": 9, "orderDataType": "dom-text", "type": "string" },
|
|
|
565 |
{ "targets": 10, "orderDataType": "dom-text-numeric", "type":"number"},
|
|
|
566 |
|
|
|
567 |
{ "targets": 11, "orderDataType": "dom-text-numeric", "type":"number"},
|
|
|
568 |
{ "targets": 12, "orderDataType": "date-dd-mmm-yyyy", "type": "string" },
|
| 27799 |
tejbeer |
569 |
|
| 28947 |
manish |
570 |
{ "targets": 13, "orderDataType": "dom-text-numeric", "type":"number"},
|
|
|
571 |
{ "targets": 14, "orderDataType": "date-dd-mmm-yyyy", "type": "string" },
|
|
|
572 |
{ "targets": 22, "orderDataType": "dom-text", "type": "string" },
|
|
|
573 |
|
|
|
574 |
{ "targets": 23, "orderDataType": "date-dd-mmm-yyyy", "type": "string" },
|
|
|
575 |
{ "targets": 24, "orderDataType": "date-dd-mmm-yyyy", "type": "string" },
|
|
|
576 |
|
|
|
577 |
{ "targets": 25, "orderDataType": "date-dd-mmm-yyyy", "type": "string" },
|
|
|
578 |
{ "targets": 26, "orderDataType": "date-dd-mmm-yyyy", "type": "string" },
|
|
|
579 |
{ "targets": 27, "orderDataType": "dom-text-numeric", "type":"number"},
|
|
|
580 |
{ "targets": 28, "orderDataType": "date-dd-mmm-yyyy", "type": "string" },
|
|
|
581 |
|
|
|
582 |
{ "targets": 29, "orderDataType": "date-dd-mmm-yyyy", "type": "string" },
|
|
|
583 |
{ "targets": 30, "orderDataType": "date-dd-mmm-yyyy", "type": "string" },
|
| 36064 |
aman |
584 |
{"targets": 32, "orderDataType": "dom-text", "type": "string"},
|
|
|
585 |
{"targets": [27, 28, 29, 31], "className": "hidden-col"}
|
| 28947 |
manish |
586 |
],
|
| 27799 |
tejbeer |
587 |
});
|
| 35971 |
aman |
588 |
});
|
|
|
589 |
|
|
|
590 |
// Function to refresh open list via AJAX
|
|
|
591 |
function refreshOpenList(page) {
|
|
|
592 |
var pageSize = $('.open-page-size').val() || '25';
|
|
|
593 |
var search = $('#openSearch').val() || '';
|
|
|
594 |
var url = context + '/partnerOnBoardingOpenShow?page=' + (page || 0)
|
|
|
595 |
+ '&pageSize=' + pageSize
|
|
|
596 |
+ '&search=' + encodeURIComponent(search);
|
|
|
597 |
$.ajax({
|
|
|
598 |
url: url,
|
|
|
599 |
type: 'GET',
|
|
|
600 |
success: function (response) {
|
|
|
601 |
$('#main-content').html(response);
|
|
|
602 |
}
|
|
|
603 |
});
|
|
|
604 |
}
|
|
|
605 |
</script>
|
|
|
606 |
|
|
|
607 |
<style>
|
|
|
608 |
.pagination-info {
|
|
|
609 |
margin-right: 15px;
|
|
|
610 |
font-weight: bold;
|
|
|
611 |
}
|
|
|
612 |
|
|
|
613 |
.pagination {
|
|
|
614 |
margin: 0;
|
|
|
615 |
}
|
|
|
616 |
|
|
|
617 |
.pagination li {
|
|
|
618 |
display: inline-block;
|
|
|
619 |
margin: 0 2px;
|
|
|
620 |
}
|
|
|
621 |
|
|
|
622 |
.pagination li a, .pagination li span {
|
|
|
623 |
padding: 5px 10px;
|
|
|
624 |
border: 1px solid #ddd;
|
|
|
625 |
text-decoration: none;
|
|
|
626 |
color: #333;
|
|
|
627 |
}
|
|
|
628 |
|
|
|
629 |
.pagination li.active span {
|
|
|
630 |
background-color: #337ab7;
|
|
|
631 |
color: white;
|
|
|
632 |
border-color: #337ab7;
|
|
|
633 |
}
|
|
|
634 |
|
|
|
635 |
.pagination li.disabled span {
|
|
|
636 |
color: #999;
|
|
|
637 |
cursor: not-allowed;
|
|
|
638 |
}
|
|
|
639 |
</style>
|