Subversion Repositories SmartDukaan

Rev

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