Subversion Repositories SmartDukaan

Rev

Rev 33578 | Rev 33658 | 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
                        </P>
41
                    </div>
42
                </td>
43
                <td style="text-align:right;">
44
                    <div style="text-align:right">
45
                        <P>Date :- $pod.getAcquiredDate().format($dateFormatter)</P>
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
57
                <span style="color: blue; font-weight:bold;">$pod.getCompanyName()</span> to
58
                operate as 'Smart Dukaan' at <span style="font-weight:bold;color: blue">$pod.getCompanyName()</span>(Scheduled
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>
136
                    <p>Name :$pod.getFullName()</p>
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
153
                        #if($pod.getBrandType()=="STUDIO")
154
                            <i class="fa fa-check" style="color: green;"></i>
155
                        #end
156
                    </th>
157
                    <th>Arcade
158
                        #if($pod.getBrandType()=="ARCADE")
159
                            <i class="fa fa-check" style="color: green;"></i>
160
                        #end
161
                    </th>
162
                    <th>Plaza
163
                        #if($pod.getBrandType()=="PLAZA")
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>
243
                        #if($pod.getBrandType()=="STUDIO")
244
                            <td><b>
245
                                <del>
246
                                    $brandFee.getStudio()</del>
247
                            </b></td>
248
                        #else
249
                            <td><b>$brandFee.getStudio()</b></td>
250
                        #end
251
                        #if($pod.getBrandType()=="ARCADE")
252
                            <td><b>
253
                                <del>$brandFee.getArcade()</del>
254
                            </b></td>
255
                        #else
256
                            <td><b>$brandFee.getArcade()</b></td>
257
                        #end
258
 
259
                        #if($pod.getBrandType()=="PLAZA")
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>
291
                    <p>Name :$pod.getFullName()</p>
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>
312
                    <tr>
313
                        <td>Vivo</td>
314
                        <td>$pod.getVivoCommitmentAmount()</td>
315
                    </tr>
316
                    <tr>
317
                        <td>Oppo</td>
318
                        <td>$pod.getOppoCommitmentAmount()</td>
319
                    </tr>
320
                    <tr>
321
                        <td>Samsung</td>
322
                        <td>$pod.getVivoCommitmentAmount()</td>
323
                    </tr>
324
                    <tr>
325
                        <td>Xiaomi</td>
326
                        <td>$pod.getXiaomiCommitmentAmount()</td>
327
                    </tr>
328
                    <tr>
329
                        <td>Accessories</td>
330
                        <td>$pod.getAccessoriesCommitmentAmount()</td>
331
                    </tr>
332
                    <tr>
333
                        <td>Other brand</td>
334
                        <td>$pod.getOtherBrandsCommitmentAmount()</td>
335
                    </tr>
336
                    <tr>
337
                        <td><b>Total</b></td>
338
                        <td><b>$pod.getTotaCommitmentAmount()</b></td>
339
                    </tr>
340
 
341
                    </tbody>
342
                </table>
343
            </div>
344
            <br><br><br>
345
            <div class="container2">
346
                <h4 style="text-align: center;">AGREED AND ACCEPTED</h4>
347
                <hr>
348
                <div style="float:left;">
349
                    <b>For New Spice Solutions Pvt Ltd</b>
33630 tejus.loha 350
                    <p>Name :$filledBy()</p>
33507 tejus.loha 351
                    <P>SIGNED</P>
352
                </div>
353
                <div style="float: right;">
354
                    <b>Franchisee</b>
355
                    <p>Name :$pod.getFullName()</p>
356
                    <P>SIGNED</P>
357
                </div>
358
            </div>
359
        </div>
360
    </div>
361
 
362
    <div id="page4" style="page-break-after: always;">
363
        <div style="text-align: center; text-decoration: underline;">
364
            <h4>Annexure - III</h4>
365
            <br>
366
            <h4>Papers Required </h4>
367
            <h4 style="text-align: center; text-decoration: underline;">( acknowledge with attestation of Store's
368
                Stamp
369
                with
370
                sign of Proprietor/Partner) </h4>
371
        </div>
372
        <div style="margin: 4%;">
373
            <b>1. In Case of Proprietorship Firm :</b>
374
            <ol type="a">
375
                <li>GST Certificate.</li>
376
                <li>Photocopy of Adhaar Card of Proprietor.</li>
377
                <li>Photocopy of PAN Card of the Proprietor.</li>
378
                <li>Photocopy of PAN Card on the firm name.</li>
379
                <li>Photocopy of Address proof of scheduled premises.</li>
380
                <li>Cancelled Cheque of firm's current account.</li>
381
                <li>Two Security cheques of Rs 2,00,000/- (Two Lakhs only) each.</li>
382
 
383
            </ol>
384
            <b>2. In Case of Partnership Firm:</b>
385
            <ol type="a">
386
                <li>GST Certificate.</li>
387
                <li>Photocopy of Adhaar Card of Partner's.</li>
388
                <li>Photocopy of PAN Card of the Partner's.</li>
389
                <li>Photocopy of PAN Card on the firm name.</li>
390
                <li>Photocopy of Address proof of scheduled premises.</li>
391
                <li>Photocopy of Partnership deed.</li>
392
                <li>Cancelled Cheque of firm's current account.</li>
393
                <li>Two Security cheques of Rs 2,00,000/- (Two Lakhs only) each.</li>
394
            </ol>
395
        </div>
396
 
397
        <div class="container2" style="text-align: center; margin: 4%;">
398
            <h4>AGREED AND ACCEPTED</h4>
399
            <hr>
400
            <div style="float:left;">
401
                <b>For New Spice Solutions Pvt Ltd</b>
33630 tejus.loha 402
                <p>Name :$filledBy()</p>
33507 tejus.loha 403
                <P>SIGNED</P>
404
            </div>
405
            <div style="float: right;">
406
                <b>Franchisee</b>
407
                <p>Name :$pod.getFullName()</p>
408
                <P>SIGNED</P>
409
            </div>
410
        </div>
411
        <br><br><br><br><br><br>
412
        <div style="margin: 3%;">
413
 
414
            <table width="100%">
415
                <td>
416
                    <span>www.smartdukaan.com</span>
417
                </td>
418
                <td style="text-align: center;">
419
                    <span> <b>1800 2700 273 </b></span>
420
                </td>
421
                <td style="text-align: right;">
422
                    <span>care@smartdukaan.com</span>
423
                </td>
424
            </table>
425
            <hr>
426
            <div style="background-color: red; text-align: center;color: white;">
427
                <footer>
428
                    <p>New Spice Solutions Pvt Ltd,C-56/45,Pariska Tower,2nd Floor,Sector-62,Noida UP-201309</p>
429
                </footer>
430
            </div>
431
        </div>
432
    </div>
433
</div>
434
</body>
435
<div align="center">
33561 tejus.loha 436
        <button value="$pod.getId()" id="LOI_otp" class="btn-success">Send OTP</button>
33507 tejus.loha 437
        <button type="button" value="$pod.getId()" id="confirmSign" class="btn-success">Confirm Sign</button>
438
 
33577 tejus.loha 439
 
33507 tejus.loha 440
</div>
441
 
442
</html>
443
<style>
444
 
445
</style>
446
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
447
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.9.2/html2pdf.bundle.min.js"></script>
448
 
449
<script>
450
    function printDiv() {
451
        console.log('printdiv')
452
        var printContents = document.getElementById("content").innerHTML;
453
        var originalContents = document.body.innerHTML;
454
        document.body.innerHTML = printContents;
455
        window.print();
456
        document.body.innerHTML = originalContents;
457
    }
458
 
459
    function validateOTP() {
460
 
33577 tejus.loha 461
        let otp = prompt("Enter received OTP here");
33507 tejus.loha 462
        if (otp != null) {
463
            let regex = new RegExp(/^[0-9]{5}$/);
464
            if (otp != null && regex.test(otp)) {
465
                console.log('otp-flag-', otp);
466
                return otp;
467
            } else {
468
                alert('Please enter a valid 5-digit numeric OTP');
469
                return validateOTP();
470
            }
33577 tejus.loha 471
        } else {
472
            alert('Enter received OTP and Try again')
33507 tejus.loha 473
        }
474
 
475
    }
476
 
477
    document.getElementById('confirmSign').addEventListener('click', function () {
478
        let loiId = $(this).val();
479
        let otp = validateOTP();
480
        console.log("loiId-", loiId, ",otp-", otp);
481
        let validateOtpUrl = `${context}/validateLoiOtp?loiId=${loiId}&provideOtp=${otp}`;
33578 tejus.loha 482
        if (otp != undefined) {
483
 
484
            doPutAjaxRequestHandler(validateOtpUrl, function (response) {
485
                if (response) {
486
                    const element = document.getElementById('content');
487
                    console.log("element- ", element);
488
                    const opt = {
489
                        margin: 0.5,
490
                        filename: 'document.pdf',
491
                        image: {type: 'jpeg', quality: 0.98},
492
                        html2canvas: {scale: 2, logging: true, useCORS: true},
493
                        jsPDF: {unit: 'in', format: 'letter', orientation: 'portrait'}
494
                    };
495
                    html2pdf().from(element).set(opt).outputPdf("arraybuffer").then(function (pdf) {
496
                        console.log("pdf- ", pdf);
497
                        const file = new Blob([pdf], {type: 'application/pdf'});
498
                        uploadDocument(file, function (documentId) {
499
                            console.log("documentIdddd-", documentId);
500
                            saveLoiDoc(loiId, documentId);
501
                            doGetAjaxRequestHandler(`${context}/pendingOnboardingForm`,
502
                                    function (response) {
503
                                        $('#' + 'main-content').html(response);
504
                                    });
505
                        });
33577 tejus.loha 506
                    });
33578 tejus.loha 507
                    alert("OTP verified successfully ");
508
                } else {
509
                    alert("OTP not verified,Please try again");
510
                }
511
            });
512
        }
33507 tejus.loha 513
    });
514
 
515
    function saveLoiDoc(loiId, documentId) {
516
        let saveLoiDocUrl = `${context}/saveLoiDoc?loiId=` + loiId + `&loiDocId=` + documentId
517
        doPostAjaxRequestHandler(saveLoiDocUrl, function (response) {
518
        });
519
    }
520
</script>
521
 
522
</script>