Subversion Repositories SmartDukaan

Rev

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