Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
33507 tejus.loha 1
<!DOCTYPE html>
2
<html lang="en">
3
 
4
<head>
5
    <meta charset="UTF-8">
6
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
8
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
9
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
10
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.5.1/jspdf.umd.min.js"></script>
11
    <title>LOI Of SMART DUKAAN</title>
12
    <style>
13
        @media print {
14
            .header dark-bg {
15
                display: none;
16
            }
17
        }
18
    </style>
19
</head>
20
 
21
 
22
<body>
23
<div id="content">
24
    <div id="page1" style="page-break-after: always;">
25
        <div>
26
            <img src="${rc.contextPath}/resources/images/SMART%20DUKAAN%20LOGO.jpg" alt="smart dukaan logo "
27
                 style="margin-bottom: 2%;
28
    width: 80%;
29
    margin-top: 1%;
30
    margin-left: 6%;">
31
        </div>
32
 
33
        <div class="container1" style="margin-top: 5px; margin-left: 8%; margin-right: 20%">
34
            <table width="100%">
35
                <td>
36
                    <div>
37
                        <P>To,</P>
38
                        <P> Store Name :
39
                            <span style="color: blue;font-weight:bold">$pod.getCompanyName(),$address.getLoc(),($address.getPncd())</span>
40
 
41
                        </P>
42
                    </div>
43
                </td>
44
                <td style="text-align:right;">
45
                    <div style="text-align:right">
46
                        <P>Date :- $pod.getAcquiredDate().format($dateFormatter)</P>
47
                    </div>
48
                </td>
49
            </table>
50
        </div>
51
        <div style="margin-top:2px; margin-left: 8%; margin-right: 8%;">
52
 
53
            <P>Dear sir,</P>
54
 
55
            <p>
56
                We are delighted to inform you that based on your request, our Company has appointed your entity
57
                namely
58
                <span style="color: blue; font-weight:bold;">$pod.getCompanyName()</span> to
59
                operate as 'Smart Dukaan' at <span style="font-weight:bold;color: blue">$pod.getCompanyName()</span>(Scheduled
60
                Premises Address). You have agreed to act as an exclusive Franchise
61
                store for' New Spice solutions Private Limited'. You have made a payment of
62
                Rs.<span style="font-weight:bold;color: blue">$brandFeeAmount</span>
63
                via:
64
                <span style="font-weight:bold;color: blue">$brandFeeCollection.getPaymentMode()</span>.
65
                This payment shall be
66
                considered as advance adjustable under the
67
                head of Non-refundable brand fee at the time of execution of franchise agreement with you.
68
            </p>
69
 
70
            <p>You have agreed to bear charges as mentioned under 'Annexure
71
                I'
72
                for scheduled Premises address. You have agreed to meet minimum business commitment/target as per
73
                'Annexure'
74
                II.
75
            </p>
76
 
77
            <p>You are further required to provide list of documents enclosed
78
                under Annexure 'III' with this letter cover due documents, details, deposit balance brand fee, if
79
                any,
80
                cheques as
81
                specified by the Company and execute the franchise agreement with our Company within 30 days from
82
                the
83
                date
84
                of
85
                this letter. This letter shall stand valid until due execution of franchise agreement and any
86
                business done during the said tenure shall also be deemed as valid.
87
                You have been made aware that you in the capacity of
88
                franchisee
89
                shall not, during the term as franchisee, without NSSPL's prior written consent purchase products
90
                from
91
                any
92
                person or
93
                Company other than NSSPL or any vendor notified by NSSPL to the franchisee as an approved vendor for
94
                the
95
                relevant products.
96
            </p>
97
 
98
            <p> You further agree that you shall operate the Smart dukaan
99
                franchise store only from your scheduled Premises, as approved by NSSPL and shall abide by the
100
                specified
101
                Guidelines issued by NSSPL from time to time.
102
                You further agree that you shall maintain stock of all
103
                products
104
                in sufficient quantities at the schedule Premises, as per specification provided by NSSPL.
105
            </p>
106
            <p> Notwithstanding anything, you agree that the payment made by
107
                you
108
                as under this letter remains non-refundable in all scenario and shall be deemed fortified,
109
                irrespective
110
                for
111
                whatsoever reasons provided by you to terminate/withdraw your application before execution of
112
                franchise
113
                agreement or in-case you fail to provide documentation sought by the Company or execute franchise
114
                agreement
115
                within 30 days from date of this letter.
116
            </p>
117
            <p> Any disputes under this letter shall be subject exclusive
118
                jurisdiction of District Court at NOMA, UP Only.
119
                This letter is drawn in duplicate, hence you are requested to
120
                sign one Copy as acknowledgement to aforesaid and return the other copy after retaining one set for
121
                your
122
                own
123
                record.
124
            </p>
125
 
126
            <div class="container2">
127
                <h4 style="text-align: center;">AGREED AND ACCEPTED</h4>
128
                <hr>
129
                <div style="float:left;">
130
                    <b>For New Spice Solutions Pvt Ltd</b>
131
                    <p>Name :$pod.getReferBy()</p>
132
 
133
                    <P>SIGNED</P>
134
 
135
                </div>
136
                <div style="float: right;">
137
                    <b>Franchisee</b>
138
                    <p>Name :$pod.getFullName()</p>
139
                    <P>SIGNED</P>
140
                </div>
141
            </div>
142
        </div>
143
    </div>
144
 
145
    <div id="page2" style="page-break-after: always;">
146
        <div class="annexure1" style="margin: 8%;">
147
            <h4 style="text-align: center; text-decoration: underline;">Annexure - I</h4>
148
            <div class="table1">
149
                <table style="text-align: center; border-collapse: collapse;width: 100%;" border="2"
150
                       cellpadding="10px" cellspacing="5px">
151
                    <thead>
152
 
153
                    <th>Charges</th>
154
                    <th>Studio
155
                        #if($pod.getBrandType()=="STUDIO")
156
                            <i class="fa fa-check" style="color: green;"></i>
157
                        #end
158
                    </th>
159
                    <th>Arcade
160
                        #if($pod.getBrandType()=="ARCADE")
161
                            <i class="fa fa-check" style="color: green;"></i>
162
                        #end
163
                    </th>
164
                    <th>Plaza
165
                        #if($pod.getBrandType()=="PLAZA")
166
                            <i class="fa fa-check" style="color: green;"></i>
167
                        #end
168
                    </th>
169
                    </thead>
170
                    <tbody>
171
                    <tr>
172
                        <td>SD Franchisee fees</td>
173
                        <td>yes</td>
174
                        <td>yes</td>
175
                        <td>yes</td>
176
                    </tr>
177
                    <tr>
178
                        <td>One time Dashboard / app charges</td>
179
                        <td>yes</td>
180
                        <td>yes</td>
181
                        <td>yes</td>
182
                    </tr>
183
                    <tr>
184
                        <td>Store designing</td>
185
                        <td style="color: red;">FCC</td>
186
                        <td style="color: red;">FCC</td>
187
                        <td>yes</td>
188
                    </tr>
189
                    <tr>
190
                        <td>Initial supervision charges</td>
191
                        <td>yes</td>
192
                        <td>yes</td>
193
                        <td>yes</td>
194
                    </tr>
195
                    <tr>
196
                        <td>Store launch</td>
197
                        <td>yes</td>
198
                        <td>yes</td>
199
                        <td>yes</td>
200
                    </tr>
201
                    <tr>
202
                        <td>Welcome kit</td>
203
                        <td style="color: red;">FCC</td>
204
                        <td style="color: red;">FCC</td>
205
                        <td style="color: red;">FOC</td>
206
                    </tr>
207
                    <tr>
208
                        <td>Initial marketing campaign</td>
209
                        <td>yes</td>
210
                        <td>yes</td>
211
                        <td>yes</td>
212
                    </tr>
213
                    <tr>
214
                        <td>Dashboard training</td>
215
                        <td>yes</td>
216
                        <td>yes</td>
217
                        <td>yes</td>
218
                    </tr>
219
                    <tr>
220
                        <td>Carry bags (initial)</td>
221
                        <td style="color: red;">FCC</td>
222
                        <td style="color: red;">FCC</td>
223
                        <td style="color: red;">FOC</td>
224
                    </tr>
225
                    <tr>
226
                        <td>Initial branding</td>
227
                        <td>yes</td>
228
                        <td>yes</td>
229
                        <td>yes</td>
230
                    </tr>
231
                    <tr>
232
                        <td>Initial fixtures*</td>
233
                        <td>yes</td>
234
                        <td>yes</td>
235
                        <td>yes</td>
236
                    </tr>
237
                    <tr>
238
                        <td>Liaising for finance</td>
239
                        <td>yes</td>
240
                        <td>yes</td>
241
                        <td>yes</td>
242
                    </tr>
243
                    <tr>
244
                        <td>Our charges including GST</td>
245
                        #if($pod.getBrandType()=="STUDIO")
246
                            <td><b>
247
                                <del>
248
                                    $brandFee.getStudio()</del>
249
                            </b></td>
250
                        #else
251
                            <td><b>$brandFee.getStudio()</b></td>
252
                        #end
253
                        #if($pod.getBrandType()=="ARCADE")
254
                            <td><b>
255
                                <del>$brandFee.getArcade()</del>
256
                            </b></td>
257
                        #else
258
                            <td><b>$brandFee.getArcade()</b></td>
259
                        #end
260
 
261
                        #if($pod.getBrandType()=="PLAZA")
262
                            <td><b>
263
                                <del>$brandFee.getPlaza()</del>
264
                            </b></td>
265
                        #else
266
                            <td><b>$brandFee.getPlaza()</b></td>
267
                        #end
268
 
269
                    </tr>
270
                    <tr>
271
 
272
                        <td>Current charges for you</td>
273
                        <td><b>$givenFee.getStudio()</b></td>
274
                        <td><b>$givenFee.getArcade()</b></td>
275
                        <td><b>$givenFee.getPlaza()</b></td>
276
                    </tr>
277
                    </tbody>
278
                </table>
279
                <hr>
280
                <b>NOTE : * as per requirement</b>
281
            </div>
282
            <br><br><br><br><br>
283
            <div class="container2">
284
                <h4 style="text-align: center;">AGREED AND ACCEPTED</h4>
285
                <hr>
286
                <div style="float:left;">
287
                    <b>For New Spice Solutions Pvt Ltd</b>
288
                    <p>Name :$pod.getReferBy()</p>
289
                    <P>SIGNED</P>
290
                </div>
291
                <div style="float: right;">
292
                    <b>Franchisee</b>
293
                    <p>Name :$pod.getFullName()</p>
294
                    <P>SIGNED</P>
295
                </div>
296
            </div>
297
            <br>
298
        </div>
299
    </div>
300
 
301
    <div id="page3" style="page-break-after: always;">
302
        <div class="annexure2" style="margin: 8%;">
303
            <h4 style="text-align: center; text-decoration: underline;">Annexure - II</h4>
304
            <h5>BRAND VALUE COMMITMENT</h5>
305
            <div class="table1  ">
306
                <table class="table table-bordered "
307
                       style="text-align: center; border-collapse: collapse;width: 100%;" border="2" cellpadding="10px"
308
                       cellspacing="5px">
309
                    <thead>
310
                    <th>Brand</th>
311
                    <th>Minimum monthly value</th>
312
                    </thead>
313
                    <tbody>
314
                    <tr>
315
                        <td>Vivo</td>
316
                        <td>$pod.getVivoCommitmentAmount()</td>
317
                    </tr>
318
                    <tr>
319
                        <td>Oppo</td>
320
                        <td>$pod.getOppoCommitmentAmount()</td>
321
                    </tr>
322
                    <tr>
323
                        <td>Samsung</td>
324
                        <td>$pod.getVivoCommitmentAmount()</td>
325
                    </tr>
326
                    <tr>
327
                        <td>Xiaomi</td>
328
                        <td>$pod.getXiaomiCommitmentAmount()</td>
329
                    </tr>
330
                    <tr>
331
                        <td>Accessories</td>
332
                        <td>$pod.getAccessoriesCommitmentAmount()</td>
333
                    </tr>
334
                    <tr>
335
                        <td>Other brand</td>
336
                        <td>$pod.getOtherBrandsCommitmentAmount()</td>
337
                    </tr>
338
                    <tr>
339
                        <td><b>Total</b></td>
340
                        <td><b>$pod.getTotaCommitmentAmount()</b></td>
341
                    </tr>
342
 
343
                    </tbody>
344
                </table>
345
            </div>
346
            <br><br><br>
347
            <div class="container2">
348
                <h4 style="text-align: center;">AGREED AND ACCEPTED</h4>
349
                <hr>
350
                <div style="float:left;">
351
                    <b>For New Spice Solutions Pvt Ltd</b>
352
                    <p>Name :$pod.getReferBy()</p>
353
                    <P>SIGNED</P>
354
                </div>
355
                <div style="float: right;">
356
                    <b>Franchisee</b>
357
                    <p>Name :$pod.getFullName()</p>
358
                    <P>SIGNED</P>
359
                </div>
360
            </div>
361
        </div>
362
    </div>
363
 
364
    <div id="page4" style="page-break-after: always;">
365
        <div style="text-align: center; text-decoration: underline;">
366
            <h4>Annexure - III</h4>
367
            <br>
368
            <h4>Papers Required </h4>
369
            <h4 style="text-align: center; text-decoration: underline;">( acknowledge with attestation of Store's
370
                Stamp
371
                with
372
                sign of Proprietor/Partner) </h4>
373
        </div>
374
        <div style="margin: 4%;">
375
            <b>1. In Case of Proprietorship Firm :</b>
376
            <ol type="a">
377
                <li>GST Certificate.</li>
378
                <li>Photocopy of Adhaar Card of Proprietor.</li>
379
                <li>Photocopy of PAN Card of the Proprietor.</li>
380
                <li>Photocopy of PAN Card on the firm name.</li>
381
                <li>Photocopy of Address proof of scheduled premises.</li>
382
                <li>Cancelled Cheque of firm's current account.</li>
383
                <li>Two Security cheques of Rs 2,00,000/- (Two Lakhs only) each.</li>
384
 
385
            </ol>
386
            <b>2. In Case of Partnership Firm:</b>
387
            <ol type="a">
388
                <li>GST Certificate.</li>
389
                <li>Photocopy of Adhaar Card of Partner's.</li>
390
                <li>Photocopy of PAN Card of the Partner's.</li>
391
                <li>Photocopy of PAN Card on the firm name.</li>
392
                <li>Photocopy of Address proof of scheduled premises.</li>
393
                <li>Photocopy of Partnership deed.</li>
394
                <li>Cancelled Cheque of firm's current account.</li>
395
                <li>Two Security cheques of Rs 2,00,000/- (Two Lakhs only) each.</li>
396
            </ol>
397
        </div>
398
 
399
        <div class="container2" style="text-align: center; margin: 4%;">
400
            <h4>AGREED AND ACCEPTED</h4>
401
            <hr>
402
            <div style="float:left;">
403
                <b>For New Spice Solutions Pvt Ltd</b>
404
                <p>Name :$pod.getReferBy()</p>
405
                <P>SIGNED</P>
406
            </div>
407
            <div style="float: right;">
408
                <b>Franchisee</b>
409
                <p>Name :$pod.getFullName()</p>
410
                <P>SIGNED</P>
411
            </div>
412
        </div>
413
        <br><br><br><br><br><br>
414
        <div style="margin: 3%;">
415
 
416
            <table width="100%">
417
                <td>
418
                    <span>www.smartdukaan.com</span>
419
                </td>
420
                <td style="text-align: center;">
421
                    <span> <b>1800 2700 273 </b></span>
422
                </td>
423
                <td style="text-align: right;">
424
                    <span>care@smartdukaan.com</span>
425
                </td>
426
            </table>
427
            <hr>
428
            <div style="background-color: red; text-align: center;color: white;">
429
                <footer>
430
                    <p>New Spice Solutions Pvt Ltd,C-56/45,Pariska Tower,2nd Floor,Sector-62,Noida UP-201309</p>
431
                </footer>
432
            </div>
433
        </div>
434
    </div>
435
</div>
436
</body>
437
<div align="center">
438
    #if($pod.getLoiDoc()!=0)
439
        <button type="button" class="btn-success" onclick="printDiv()">Print & Save Pdf</button>
440
    #else
33561 tejus.loha 441
        <button value="$pod.getId()" id="LOI_otp" class="btn-success">Send OTP</button>
33507 tejus.loha 442
        <button type="button" value="$pod.getId()" id="confirmSign" class="btn-success">Confirm Sign</button>
443
    #end
444
 
445
</div>
446
 
447
</html>
448
<style>
449
 
450
</style>
451
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
452
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.9.2/html2pdf.bundle.min.js"></script>
453
 
454
<script>
455
    function printDiv() {
456
        console.log('printdiv')
457
        var printContents = document.getElementById("content").innerHTML;
458
        var originalContents = document.body.innerHTML;
459
        document.body.innerHTML = printContents;
460
        window.print();
461
        document.body.innerHTML = originalContents;
462
    }
463
 
464
    function validateOTP() {
465
 
466
        let otp = prompt("Enter your OTP here");
467
        if (otp != null) {
468
            let regex = new RegExp(/^[0-9]{5}$/);
469
            if (otp != null && regex.test(otp)) {
470
 
471
                console.log('otp-flag-', otp);
472
                return otp;
473
            } else {
474
                alert('Please enter a valid 5-digit numeric OTP');
475
                return validateOTP();
476
            }
477
        }
478
 
479
    }
480
 
481
    document.getElementById('confirmSign').addEventListener('click', function () {
482
        let loiId = $(this).val();
483
        let otp = validateOTP();
484
        console.log("loiId-", loiId, ",otp-", otp);
485
        let validateOtpUrl = `${context}/validateLoiOtp?loiId=${loiId}&provideOtp=${otp}`;
486
        doPutAjaxRequestHandler(validateOtpUrl, function (response) {
487
            if (response) {
488
                alert("OTP verified successfully ");
489
            }
490
        });
491
        const element = document.getElementById('content');
492
        console.log("element- ", element);
493
        const opt = {
494
            margin: 0.5,
495
            filename: 'document.pdf',
496
            image: {type: 'jpeg', quality: 0.98},
497
            html2canvas: {scale: 2, logging: true, useCORS: true},
498
            jsPDF: {unit: 'in', format: 'letter', orientation: 'portrait'}
499
        };
500
        html2pdf().from(element).set(opt).outputPdf("arraybuffer").then(function (pdf) {
501
            console.log("pdf- ", pdf);
502
            const file = new Blob([pdf], {type: 'application/pdf'});
503
            uploadDocument(file, function (documentId) {
504
                console.log("documentIdddd-", documentId);
505
                saveLoiDoc(loiId, documentId);
506
                doGetAjaxRequestHandler(`${context}/pendingOnboardingForm`,
507
                        function (response) {
508
                            $('#' + 'main-content').html(response);
509
                        });
510
            });
511
 
512
        });
513
 
514
    });
515
 
516
    function saveLoiDoc(loiId, documentId) {
517
        let saveLoiDocUrl = `${context}/saveLoiDoc?loiId=` + loiId + `&loiDocId=` + documentId
518
        doPostAjaxRequestHandler(saveLoiDocUrl, function (response) {
519
        });
520
    }
521
</script>
522
 
523
</script>