Subversion Repositories SmartDukaan

Rev

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