Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
27799 tejbeer 1
    <section class="wrapper">
2
    <div class="row">
3
        <div class="col-lg-12">
4
            <h3 class="page-header"><i class="icon_document_alt"></i>PARTNER ONBOARDING</h3>
5
            <ol class="breadcrumb">
6
                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
7
                <li><i class="icon_document_alt"></i>Partner Onboarding</li>
8
            </ol>
9
        </div>
10
    </div>
11
 
12
 
13
    <div class="col-lg-12">
14
        <table class="table table-border table-condensed table-bordered" id="oboardingopen" style="width:100%">
15
 
16
            <thead class="row htable">
17
 
18
            <tr style="color:black;">
19
                <th>Id</th>
20
                <th>Created On</th>
21
                <th>Acquired Date()</th>
22
                <th>Outlet Name(SM)</th>
23
                <th>Phone Number(SM)</th>
28610 amit.gupta 24
 
27799 tejbeer 25
                <th>City (SM)</th>
26
                <th>State Head(SM)</th>
27
                <th>BDM (SM)</th>
28
                <th>Store Pics(SM)</th>
29
                <th>Agreed Brand fees(SM)</th>
30
                <th>Received Brand fees(SM)</th>
31
                <th>Payment Received(SM)</th>
32
                <th>Agreed Wallet(SM)</th>
33
                <th>Investment Date(SM)</th>
34
                <th>KYC (SM)</th>
35
                <th>Aadhaar(legal)</th>
36
                <th>pan(legal)</th>
37
                <th>GST(legal)</th>
38
                <th>Cancel cheque(legal)</th>
39
                <th>Rent agreement/Owner ship proof(legal)</th>
40
                <th>LOI(legal)</th>
41
                <th>Code(legal)</th>
42
                <th>Recee Planed(Kamini)</th>
43
                <th>Recee Actual(Kamini)</th>
44
                <th>Designing Planed(Kamini)</th>
45
                <th>Designing Actual(Kamini)</th>
46
                <th>Stock payment(kamini)</th>
47
                <th>Expected Date(kamini)</th>
48
                <th>Pay Date(Kamini)</th>
49
                <th>Billing Status(Niranjan)</th>
50
 
51
            </tr>
52
            </thead>
53
            <tbody>
54
                #foreach($pob in $user )
55
                <tr id="trow2">
56
                    #if($pob.getId())
57
                        <td style="background:#87cefa;">$pob.getId()</td>
58
                    #else
59
                        <td>$pob.getId()</td>
60
                    #end
61
 
62
                    #if($pob.getCreatedTimestamp())
63
                        <td style="background:lime;">$pob.getCreatedTimestamp().format($datehiphenFormatter)</td>
64
                        #else
65
                        <td style="background:pink;">
66
                        </td>
67
                     #end 
68
 
69
 
70
                    #if($pob.getAcquiredDate())
71
                        <td style="background:lime;"><input type="date" class="acquired" placeholder="Acquired Date(SM)" disabled
72
                                   name="acquireddate"
73
                                   value="$pob.getAcquiredDate().format($datehiphenFormatter)"></td>
74
                    #else
75
                        <td style="background:pink;"><input type="date" class="acquired" placeholder="Acquired Date(SM)" disabled
76
                                   name="acquireddate">
77
                        </td>
78
                    #end 
79
 
80
                    #if($pob.getOutLetName() && $pob.getOutLetName() != "")
81
                        <td style="background:lime;"><input type="text" placeholder="OutLet Name" value="$pob.getOutLetName()" name="outlateName"
82
                                   disabled></td>
83
                    #else
84
                        <td style="background:pink;"><input type="text" placeholder="OutLet Name" name="outlateName" disabled></td>
85
                    #end
86
                    #if($pob.getPhoneNumber() && $pob.getPhoneNumber() != 0)
87
                        <td style="background:lime;">
88
                        <input type="number" placeholder="9999999999" value="$pob.getPhoneNumber()"
89
                                   name="phonenumber1"
90
                                   disabled ></td>
91
                    #else
92
                        <td style="background:pink;"><input type="number" placeholder="9999999999" name="phonenumber1" disabled></td>
93
                    #end
94
 
28599 amit.gupta 95
 
28610 amit.gupta 96
 
28599 amit.gupta 97
 
27799 tejbeer 98
                    #if($pob.getCity() && $pob.getCity() != "")
99
                        <td style="background:lime;"><input type="text" placeholder="City (SM)" disabled name="city1" value="$pob.getCity()"></td>
100
                    #else
101
                        <td style="background:pink;"><input type="text" placeholder="City (SM)" disabled name="city1"></td>
102
                    #end
103
                    #if($pob.getStateHead() && $pob.getStateHead() != "")
104
                        <td style="background:lime;"><input type="text" placeholder="State Head(SM)" disabled name="shead1"
105
                                   value="$pob.getStateHead()"></td>
106
                    #else
107
                        <td style="background:pink;"><input type="text" placeholder="State Head(SM)" disabled name="shead1"></td>
108
                    #end
109
                    #if($pob.getBDM() && $pob.getBDM() != "")
110
                        <td style="background:lime;"><input type="text" placeholder="BDM (SM)" disabled name="bdm1" value="$pob.getBDM()"></td>
111
                    #else
112
                        <td style="background:pink;"><input type="text" placeholder="BDM (SM)" disabled name="bdm1"></td>
113
                    #end
114
                    #if($pob.getStorePics() && $pob.getStorePics() != 0)
115
                        <td class="storepics docfile" style="background:lime;"  >
116
                            <input type="hidden" class="storepicshidden" value="$pob.getStorePics()">
117
                            <input type="file" class="storepic" placeholder="Store Pics(SM)" disabled name="storepics1"
118
                                   value="$pob.getStorePics()">
119
                            ##<button type="button" class="btn btn-primary download-store-file" data-docid="$pob.getStorePics()" data-id="$pob.getId()">download</button>
120
                            <a href="${rc.contextPath}/download-attachment?documentId=$pob.getStorePics()">Download
121
                                Doc</a>
122
                        </td>
123
                    #else
124
                        <td class="storepics docfile" style="background:pink;">
125
                            <input type="hidden">
126
                            <input type="file" class="storepic" placeholder="Store Pics(SM)" disabled name="storepics1">
127
                        </td>
128
                    #end
129
                    #if($pob.getAgreedBrandFees() != 0)
28700 amit.gupta 130
 
131
                     #if($pob.getReceivedBrandFees() >= $pob.getAgreedBrandFees())
132
 
27799 tejbeer 133
                        <td style="background:lime;"><input type="text" placeholder="Agreed Brand fees(SM)" disabled name="abrand1"
134
                                   value="$pob.getAgreedBrandFees()" ></td>
28700 amit.gupta 135
                       #else            
136
                             <td style="background:red;"><input type="text" placeholder="Agreed Brand fees(SM)" disabled name="abrand1"
137
                                   value="$pob.getAgreedBrandFees()" ></td>    
138
                      #end  
27799 tejbeer 139
                    #else
140
                        <td style="background:pink;"><input type="text" placeholder="Agreed Brand fees(SM)" disabled name="abrand1"></td>
141
                    #end
142
 
143
                    #if($pob.getReceivedBrandFees()!= 0)
144
 
145
                        <td style="background:lime;"><input type="text" placeholder="Received Brand fees" disabled name="recbrand1"
146
                                   value="$pob.getReceivedBrandFees()"></td>
147
                    #else
148
                        <td style="background:pink;"><input type="text" placeholder="Received Brand fees" disabled name="recbrand1"></td>
149
                    #end
150
 
151
                    #if($pob.getPendingPics()  && $pob.getPendingPics() != 0)
152
                        <td class="pendingpics docfile" style="background:lime">
153
                            <input type="hidden" class="pendpicshidden" value="$pob.getPendingPics()">
154
                            <input type="file" class="pendpics" placeholder="pending Pics(SM)" disabled name="pendpics1"
155
                                   value="$pob.getPendingPics()"/>
156
                            ##<button type="button" class="btn btn-primary download-pending-file" data-docpid="$pob.getPendingPics()" data-id="$pob.getId()">Download Document</button>
157
                            <a href="${rc.contextPath}/download-attachment?documentId=$pob.getPendingPics()">Download
158
                                Doc</a>
159
 
160
 
161
                        </td>
162
                    #else
163
                        <td class="pendingpics docfile" style="background:pink;">
164
                            <input type="hidden">
165
                            <input type="file" placeholder="Pending Pics(SM)" disabled name="pendpics1">
166
                        </td>
167
                    #end
168
                    #if($pob.getAgreedWallet()!= 0)
169
                        <td style="background:lime;"><input type="text" placeholder="Agreed Wallet(SM)" disabled name="awallet"
170
                                   value="$pob.getAgreedWallet()" ></td>
171
                    #else
172
                        <td style="background:pink;"><input type="text" placeholder="Agreed Wallet(SM)" disabled name="awallet"></td>
173
                    #end
174
 
175
                    #if($pob.getInvestmentDate())
176
 
177
                        <td style="background:lime;"><input type="date" placeholder="Investment Date(SM)" disabled name="idate1" id="idate"
178
                                   value="$pob.getInvestmentDate().format($datehiphenFormatter)"
179
                                   ></td>
180
                    #else
181
                        <td style="background:pink;"><input type="date" placeholder="Investment Date(SM)" disabled name="idate1"></td>
182
                    #end
183
                    #if($pob.getKyc() && $pob.getKyc() != 0)
184
                        <td class="kyc docfile" style="background:lime;">
185
                            <input type="hidden" class="kychidden" value="$pob.getKyc()">
186
                            <input type="file" class="kyc" placeholder="KYC (SM)" disabled name="kyc1"
187
                                   value="$pob.getKyc()">
188
                            ##<button type="button" class="btn btn-primary download-kyc-file" data-docpid="$pob.getKyc()" data-id="$pob.getId()">Download Document</button>
189
                            <a href="${rc.contextPath}/download-attachment?documentId=$pob.getKyc()">Download Doc</a>
190
 
191
                        </td>
192
                    #else
193
                        <td class="kyc docfile" style="background:pink;">
194
                            <input type="hidden">
195
                            <input type="file" id="kyc" placeholder="KYC (SM)" disabled name="kyc1">
196
                        </td>
197
                    #end
198
 
199
                    #if($pob.getAadharDoc()  && $pob.getAadharDoc() != 0)
200
                        <td class="aadhar docfile" style="background:lime;">
201
                            <input type="hidden" class="aadharhidden" value="$pob.getAadharDoc()">
202
                            <input type="file" class="aadhar" placeholder="aadhar" disabled name="aadhar1"
203
                                   value="$pob.getAadharDoc()">
204
                             <a href="${rc.contextPath}/download-attachment?documentId=$pob.getAadharDoc()">Download
205
                                Doc</a>
206
 
207
                        </td>
208
                    #else
209
                        <td class="aadhar docfile" style="background:pink;">
210
                            <input type="hidden">
211
                            <input type="file" class="aadhar" placeholder="aadhar" disabled name="aadhar1">
212
                        </td>
213
                    #end
214
                    #if($pob.getPanDoc() && $pob.getPanDoc() != 0)
215
                        <td class="pan docfile" style="background:lime;">
216
                            <input type="hidden" class="panhidden" value="$pob.getPanDoc()">
217
                            <input type="file" class="pandoc" placeholder="pan(SM)" disabled name="pan1"
218
                                   value="$pob.getPanDoc()">
219
                        ##<button type="button" class="btn btn-primary download-pan-file" data-docpid="$pob.getPanDoc()" data-id="$pob.getId()">Download Document</button>
220
                        <a href="${rc.contextPath}/download-attachment?documentId=$pob.getPanDoc()">Download Doc</a>
221
 
222
                        </td>
223
                    #else
224
                        <td class="pan docfile" style="background:pink;">
225
                            <input type="hidden">
226
                            <input type="file" class="pandoc" placeholder="pan(SM)" disabled name="pan1">
227
                        </td>
228
                    #end
229
                    #if($pob.getGstdoc()  && $pob.getGstdoc() != 0)
230
                        <td class="gst docfile" style="background:lime;">
231
                            <input type="hidden" class="gsthidden" value="$pob.getGstdoc()">
232
                            <input type="file" class="gstdoc" placeholder="GST(SM)" disabled name="gst1"
233
                                   value="$pob.getGstdoc()">
234
                            ##<button type="button" class="btn btn-primary download-gst-file" data-docpid="$pob.getGstdoc()" data-id="$pob.getId()">Download Document</button>
235
                            <a href="${rc.contextPath}/download-attachment?documentId=$pob.getGstdoc()">Download Doc</a>
236
 
237
                        </td>
238
                    #else
239
                        <td class="gst docfile" style="background:pink;">
240
                            <input type="hidden">
241
                            <input type="file" class="gstdoc" placeholder="GST(SM)" disabled name="gst1">
242
                        </td>
243
                    #end
244
                    #if($pob.getCancelCheque() && $pob.getCancelCheque() != 0)
245
 
246
                        <td class="cancheque docfile" style="background:lime;">
247
                            <input type="hidden" class="canchequehidden" value="$pob.getCancelCheque()">
248
                           <input type="file" class="canchequedoc" placeholder="Cancel cheque(SM)" disabled name="cancheque1"
249
                            value="$pob.getCancelCheque()">
250
                            ##<button type="button" class="btn btn-primary download-cancheque-file" data-docpid="$pob.getCancelCheque()" data-id="$pob.getId()">Download Document</button>
251
                            <a href="${rc.contextPath}/download-attachment?documentId=$pob.getCancelCheque()">Download
252
                                Doc</a>
253
 
254
                        </td>
255
 
256
                    #else
257
                        <td class="cancheque docfile" style="background:pink;">
258
                            <input type="hidden">
259
                            <input type="file" class="canchequedoc" placeholder="Cancel cheque(SM)" disabled
260
                                   name="cancheque1">
261
                        </td>
262
                    #end
263
                     #if($pob.getRentAgreement() && $pob.getRentAgreement() != 0)
264
                        <td class="rent docfile" style="background:lime;">
265
                            <input type="hidden" class="renthidden" value="$pob.getRentAgreement()">
266
                            <input type="file" class="rentdoc" placeholder="Rent agreement/Owner ship proof(SM)" disabled name="ragreement1"
267
                                   value="$pob.getRentAgreement()">
268
                            <a href="${rc.contextPath}/download-attachment?documentId=$pob.getRentAgreement()">Download Doc</a>
269
                        </td>
270
                      #else
271
 
272
                        <td class="rent docfile" style="background:pink;">
273
                        <input type="hidden">
274
                        <input type="file" placeholder="Rent agreement/Owner ship proof(SM)" disabled name="ragreement1">
275
                        </td>
276
                    #end
277
 
278
                     #if($pob.getLOI() && $pob.getLOI() != 0)
279
                        <td class="loi docfile" style="background:lime;">
280
                            <input type="hidden" class="loihidden" value="$pob.getLOI()">
281
                            <input type="file" class="loidoc" placeholder="LOI(SM)" disabled  value="$pob.getLOI()">
282
                            <a href="${rc.contextPath}/download-attachment?documentId=$pob.getLOI()">Download Doc</a>
283
                        </td>
284
                      #else
285
 
286
                        <td class="loi docfile" style="background:pink;">
287
                         <input type="hidden">
288
                        <input type="file" placeholder="LOI(SM)" disabled name="loi1">
289
                        </td>
290
                    #end
291
 
292
 
293
 
294
                    #if($pob.getCode() && $pob.getCode() != "")
295
                        <td style="background:lime;"><input type="text" placeholder="Code(SM)" disabled name="code1" value="$pob.getCode()"
296
                                   ></td>
297
                    #else
298
                        <td style="background:pink;"><input type="text" placeholder="Code(SM)" disabled name="code1"></td>
299
                    #end
300
                    #if($pob.getReceePlaned())
301
                        <td style="background:lime;"><input type="date" id="rplaned" placeholder="Recee Planed(Kamini)" disabled name="rplaned1"
302
                                   value="$pob.getReceePlaned().format($datehiphenFormatter)" >
303
                        </td>
304
                    #else
305
                        <td style="background:pink;"><input type="date" id="rplaned" placeholder="Recee Planed(Kamini)" disabled name="rplaned1">
306
                        </td>
307
                    #end
308
                    #if($pob.getReceeActual())
309
                        <td style="background:lime;"><input type="date" id="ractual" placeholder="Recee Actual(Kamini)" disabled name="ractual1"
310
                                   value="$pob.getReceeActual().format($datehiphenFormatter)" >
311
                        </td>
312
                    #else
313
                        <td style="background:pink;"><input type="date" id="ractual" placeholder="Recee Actual(Kamini)" disabled name="ractual1">
314
                        </td>
315
                    #end
316
 
317
                    #if($pob.getDesigningPlaned())
318
                        <td style="background:lime;"><input type="date" id="dplaned" placeholder="Designing Planed(Kamini)" disabled
319
                                   name="dplaned1"
320
                                   value="$pob.getDesigningPlaned().format($datehiphenFormatter)"></td>
321
                    #else
322
                        <td style="background:pink;"><input type="date" id="dplaned" placeholder="Designing Planed(Kamini)" disabled
323
                                   name="dplaned1">
324
                        </td>
325
                    #end
326
                    #if($pob.getDesigningActual())
327
                        <td style="background:lime;"><input type="date" id="dactual" placeholder="Designing Actual(Kamini)" disabled
328
                                   name="dactual1"
329
                                   value="$pob.getDesigningActual().format($datehiphenFormatter)"></td>
330
                    #else
331
                        <td style="background:pink;"><input type="date" id="dactual" placeholder="Designing Actual(Kamini)" disabled
332
                                   name="dactual1">
333
                        </td>
334
                    #end
335
                    #if($pob.getStockPayment()!= 0)
336
                        <td style="background:lime;"><input type="text" placeholder="Stock payment(kamini)" disabled name="spayment1"
337
                                   value="$pob.getStockPayment()"></td>
338
                    #else
339
                        <td style="background:pink;"><input type="text" placeholder="Stock payment(kamini)" disabled name="spayment1""></td>
340
                    #end
341
 
342
 
343
 
344
                     #if($pob.getExpectedDate())
345
                        <td style="background:lime;"><input type="date" class="expdate" placeholder="Expected Date(Kamini)" disabled  value="$pob.getExpectedDate().format($datehiphenFormatter)" >
346
                        </td>
347
                    #else
348
                        <td style="background:pink;"><input type="date" class="expdate" placeholder="Expected Date(Kamini)" disabled>
349
                        </td>
350
                    #end
351
 
352
                    #if($pob.getPayDate())
353
                        <td style="background:lime;">
354
                          <input type="date" class="paydate" placeholder="pay Date(Kamini)" disabled  value="$pob.getPayDate().format($datehiphenFormatter)"  >
355
                        </td>
356
                    #else
357
                        <td style="background:pink;"><input type="date" class="paydate" placeholder="Pay Date(Kamini)" disabled >
358
                        </td>
359
                    #end
360
 
361
					<td #if($pob.getBillingStatus()==0) style="background-color:pink"#else style="background-color:lime" #end>
362
						<input type="checkbox" disabled #if($pob.getBillingStatus()>0) checked #end >
363
                        #if($pob.getBillingStatus()>0) 
364
                        <label> YES</label>
365
                        #else
366
                         <label>NO</label>
367
                        #end 
368
 
369
                </tr>
370
                #end
371
 
372
            </tbody>
373
 
374
        </table>
375
    </div>
376
 
377
    </section>
378
 
379
    <script>
380
 
381
        var dtable = $('#oboardingopen').DataTable(
382
                {
383
 
384
                    "bPaginate": true,
385
                    "bLengthChange": true,
386
                    "bFilter": true,
387
                    "bInfo": false,
388
                    "bAutoWidth": false,
389
                    "scrollX": true,
28599 amit.gupta 390
                  fixedColumns:   {
391
            leftColumns: 2
392
        },
27799 tejbeer 393
 
394
                });
395
 
396
 
397
 
398
    </script>