Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
21627 kshitij.so 1
<!DOCTYPE html>
2
<html lang="en">
27875 amit.gupta 3
<head>
21627 kshitij.so 4
    <meta charset="utf-8">
22095 kshitij.so 5
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
23166 amit.gupta 6
    <meta name="description" content="Smart Dukaan FOCO Dashboard">
7
    <meta name="author" content="smartdukaan">
27875 amit.gupta 8
    <!--<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">-->
9
    <link rel="shortcut icon" href="assets/images/icons/favicon.png">
21627 kshitij.so 10
 
23166 amit.gupta 11
    <title>Smart Dukaan - FOCO Dashboard</title>
21627 kshitij.so 12
 
27875 amit.gupta 13
    <!-- Bootstrap CSS -->
21627 kshitij.so 14
    <!-- bootstrap theme -->
15
    <!--external css-->
16
    <!-- font icon -->
27875 amit.gupta 17
    <link href="resources/css/elegant-icons-style.css" rel="stylesheet"/>
18
    <link href="resources/css/font-awesome.min.css" rel="stylesheet"/>
21627 kshitij.so 19
    <!-- full calendar css-->
20
    <!-- owl carousel -->
21
    <link rel="stylesheet" href="resources/css/owl.carousel.css" type="text/css">
27875 amit.gupta 22
    <link href="resources/css/jquery-jvectormap-1.2.2.css" rel="stylesheet">
21627 kshitij.so 23
    <!-- Custom styles -->
27875 amit.gupta 24
    <link href="resources/css/widgets.css" rel="stylesheet">
24566 amit.gupta 25
    <link href="resources/css/style.css?v=${cssVersion}" rel="stylesheet">
25143 amit.gupta 26
    <link href="resources/css/card.css?v=${cssVersion}" rel="stylesheet">
27875 amit.gupta 27
    <link href="resources/css/style-responsive.css?v=${cssVersion}" rel="stylesheet"/>
28
    <link href="resources/css/jquery-ui-1.10.4.min.css" rel="stylesheet">
24066 amit.gupta 29
    <link type="text/css" href="resources/css/bootstrap.css" rel="stylesheet">
27875 amit.gupta 30
    <!--<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/bootstrap/3/css/bootstrap.css" />-->
24066 amit.gupta 31
    <link href="resources/css/bootstrap-theme.min.css" rel="stylesheet">
27875 amit.gupta 32
    <link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.css"/>
27624 tejbeer 33
 
27875 amit.gupta 34
    <link rel="stylesheet" type="text/css" href="resources/css/bootstrap-multiselect.css"/>
35
    <link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.10.16/css/dataTables.bootstrap.min.css"/>
36
    <link rel='stylesheet' href='https://use.fontawesome.com/releases/v5.7.0/css/all.css'
37
          integrity='sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ' crossorigin='anonymous'>
38
    <style type="text/css">
27596 tejbeer 39
 
27875 amit.gupta 40
        .current-margin {
41
            cursor: pointer;
42
        }
21627 kshitij.so 43
 
27875 amit.gupta 44
        .margin-calculator {
45
            cursor: pointer;
46
        }
25654 amit.gupta 47
 
27875 amit.gupta 48
        .Vivo:hover {
49
            border-radius: 40px;
50
            background: blue;
51
        }
21627 kshitij.so 52
 
27875 amit.gupta 53
 
54
        .Samsung:hover {
55
            border-radius: 4px;
56
            background: blue;
57
        }
58
 
59
        .Vivo:hover {
60
            border-radius: 4px;
61
            background: mediumblue;
62
        }
63
 
64
        .Oppo:hover {
65
            border-radius: 4px;
66
            background: green;
67
        }
68
 
69
        .Lava:hover {
70
            border-radius: 4px;
71
            background: salmon;
72
        }
73
 
74
        .Live:hover {
75
            border-radius: 4px;
76
            background: coral;
77
        }
78
 
79
        .Nokia:hover {
80
            border-radius: 4px;
81
            background: blue;
82
        }
83
 
84
        .Realme:hover {
85
            border-radius: 4px;
86
            background: yellow;
87
        }
88
 
89
        .Tecno:hover {
90
            border-radius: 4px;
91
            background: DarkTurquoise;
92
        }
93
 
94
        .Samsung {
95
 
96
            -moz-border-radius: 4px;
97
            border-radius: 4px;
98
            border: solid 5px black;
99
            text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
100
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
101
            background-image: linear-gradient(#4682B4, #dae5f4);
102
            color: #FFF;
103
            padding: 8px 12px;
104
            text-decoration: none;
105
            cursor: pointer;
106
 
107
 
108
        }
109
 
110
        .Vivo {
111
            -moz-border-radius: 4px;
112
            border-radius: 4px;
113
            border: solid 5px black;
114
            text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
115
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
116
            background-image: linear-gradient(#4682B4, #dae5f4);
117
            color: #FFF;
118
            padding: 8px 12px;
119
            text-decoration: none;
120
            cursor: pointer;
121
 
122
        }
123
 
124
        .Oppo {
125
            -moz-border-radius: 4px;
126
            border-radius: 4px;
127
            border: solid 5px black;
128
            text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
129
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
130
            background-image: linear-gradient(#4682B4, #dae5f4);
131
            color: #FFF;
132
            padding: 8px 12px;
133
            text-decoration: none;
134
            cursor: pointer;
135
 
136
        }
137
 
138
        .Lava {
139
 
140
            -moz-border-radius: 4px;
141
            border-radius: 4px;
142
            border: solid 5px black;
143
            text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
144
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
145
            background-image: linear-gradient(#4682B4, #dae5f4);
146
            color: #FFF;
147
            padding: 8px 12px;
148
            text-decoration: none;
149
            cursor: pointer;
150
 
151
        }
152
 
153
        .Realme {
154
            -moz-border-radius: 4px;
155
            border-radius: 4px;
156
            border: solid 5px black;
157
            text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
158
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
159
            background-image: linear-gradient(#4682B4, #dae5f4);
160
            color: #FFF;
161
            padding: 8px 12px;
162
            text-decoration: none;
163
            cursor: pointer;
164
 
165
        }
166
 
167
        .Tecno {
168
            -moz-border-radius: 4px;
169
            border-radius: 4px;
170
            border: solid 5px black;
171
            text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
172
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
173
            background-image: linear-gradient(#4682B4, #dae5f4);
174
            color: #FFF;
175
            padding: 8px 12px;
176
            text-decoration: none;
177
            cursor: pointer;
178
 
179
        }
180
 
181
        .Nokia {
182
            -moz-border-radius: 4px;
183
            border-radius: 4px;
184
            border: solid 5px black;
185
            text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
186
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
187
            background-image: linear-gradient(#4682B4, #dae5f4);
188
            color: #FFF;
189
            padding: 8px 12px;
190
            text-decoration: none;
191
            cursor: pointer;
192
 
193
        }
194
 
195
        .Live {
196
 
197
            -moz-border-radius: 4px;
198
            border-radius: 4px;
199
            border: solid 5px black;
200
            text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
201
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
202
            background-image: linear-gradient(#4682B4, #dae5f4);
203
            color: #FFF;
204
            padding: 8px 12px;
205
            text-decoration: none;
206
            cursor: pointer;
207
        }
208
 
209
        #accesoriesStock:hover {
210
            cursor: pointer;
211
            border-radius: 4px;
212
            background: white;
213
        }
214
 
215
        #accesoriesStock {
216
 
217
            -moz-border-radius: 4px;
218
            border-radius: 4px;
219
            border: solid 5px black;
220
            text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
221
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
222
            background-image: linear-gradient(#4682B4, #dae5f4);
223
            color: #FFF;
224
            padding: 14px 3px 18px 3px;
225
            text-decoration: none;
226
            object-fit: cover;
227
            width: 100%;
228
            height: 90px;
229
 
230
        }
231
 
232
        .loading {
233
            display: none;
234
        }
235
 
236
        .breadcrumb {
237
            padding: 0 15px;
238
        }
239
 
27900 tejbeer 240
.purple-bg{
241
 
242
     background-image: linear-gradient(#800080, #DDA0DD);
243
    box-shadow: 6px 5px 6px purple;
244
}
27875 amit.gupta 245
        .stars-outer {
246
            display: inline-block;
247
            position: relative;
248
            font-family: FontAwesome;
249
        }
250
 
251
        .stars-outer::before {
252
            content: "\f006 \f006 \f006 \f006 \f006";
253
        }
254
 
255
        .stars-inner {
256
            position: absolute;
257
            top: 0;
258
            left: 0;
259
            white-space: nowrap;
260
            overflow: hidden;
261
            width: 0;
262
        }
263
 
264
        .stars-inner::before {
265
            content: "\f005 \f005 \f005 \f005 \f005";
266
            color: #f8ce0b;
267
        }
268
 
269
 
270
        .table-striped > tbody > tr:nth-child(odd) > td {
271
            background: white;
272
            background-color: #dae5f4;
273
        }
274
 
275
        .table-striped > tbody > tr:nth-child(even) > td {
276
            background: #f2f2f2;
277
            background-color: #b8d1f3;
278
        }
279
 
280
        .btn:hover {
281
            color: grey;
282
            text-decoration: none;
283
        }
284
 
285
        .btn-primary:hover {
286
            color: grey;
287
            text-decoration: none;
288
        }
289
 
290
        .sale-details {
291
            cursor: pointer;
292
        }
293
 
294
        .fa-2x {
295
            font-size: 1.4em;
296
        }
297
 
298
        .cover {
299
            object-fit: cover;
28151 amit.gupta 300
            width: 92%;
27875 amit.gupta 301
            height: 90px;
302
        }
303
 
304
        .info-box .notifications i {
305
            display: inline-block;
306
            margin-top: 0px;
307
            height: 25px;
308
            font-size: 16px;
309
            line-height: 25px;
310
            width: 25px;
311
            float: none;
312
            text-align: center;
313
            padding-right: 0px;
314
            color: #768399;
315
        }
316
 
317
        #preview {
318
            position: relative;
319
            color: #fff;
320
            float: left;
321
            width: 100%;
322
            -webkit-border-radius: 10px;
323
            -moz-border-radius: 10px;
324
            border-radius: 10px;
325
            clear: both;
326
        }
327
 
328
        #canvas-preview {
329
            width: 100%;
330
            position: relative;
331
            top: -15px;
332
        }
333
 
334
        #preview-textfield {
335
            position: absolute;
336
            top: -10px;
337
            left: 0;
338
            right: 0;
339
            text-align: center;
340
            font-size: 2em;
341
            font-weight: bold;
342
            color: white;
343
            font-family: 'Amaranth', sans-serif;
344
        }
345
 
346
        #descriptionMenu {
347
            list-style: desc !important;
348
            list-style-type: square;
349
            text-align: left;
350
        }
351
 
352
        .messagebutton {
353
            margin-left: 1px;
354
 
355
        }
356
 
357
 
358
    </style>
359
</head>
360
 
361
<body style="background-color:#f7f7f7">
362
<!--<div class="loading"><img src="resources/images/icons/loading.gif"></div>-->
363
<!-- container section start -->
364
<section id="container">
365
 
366
 
367
    <header class="header dark-bg indian-flag">
368
        <div class="toggle-nav">
369
            <div class="icon-reorder tooltips" data-original-title="Toggle Navigation" data-placement="bottom"><i
370
                    class="icon_menu"></i></div>
371
        </div>
372
        <a href="${rc.contextPath}/dashboard" class="logo" style="margin-top: 7px"> <img
373
                src="resources/images/SmartDukaan-135x45.jpg" alt="smartDukaan" width="140"
374
                height="45">$fofoStore.getCode()</a>
375
 
376
        <a href="#"><img src="${partnerTypeImage}" width="60px" class="target-slide"></a>
377
 
378
        <div class="btn-group message-filter" style="margin-left: 10%;">
379
            <button data-messagetype="notification" type="button" class="btn btn-default notifi"
380
                    aria-label="Notifications">
381
                <span class="notify1 Notificat">Notification</span></button>
382
            <button data-messagetype="announcement" type="button" class="btn btn-default price"
383
                    aria-label="Announcements">
384
                <span class="notify Price">Price-Drop</span></button>
385
            <button data-messagetype="scheme" type="button" class="btn btn-default schem"
386
                    aria-label="SmartDukaan Schemes">
387
                <span class="notify Scheme">Schemes</span>
388
            </button>
389
 
390
            <button data-messagetype="marketing" type="button" class="btn btn-default mark"
391
                    aria-label="SmartDukaan Schemes">
392
                <span class="notify market">Marketing</span>
393
            </button>
394
        </div>
395
 
396
 
397
        <div class="top-nav notification-row">
398
            <!-- notificatoin dropdown start-->
399
            <ul class="nav pull-right top-menu">
400
                <li class="dropdown">
401
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
402
                        <img style="height:38px" src="/resources/images/icons/care1.jpg"/>
403
                        <span class="username" style="font-size:15px">CARE</span>
404
                        <b class="caret"></b>
405
                    </a>
406
                    <ul class="dropdown-menu extended logout">
407
                        <div class="log-arrow-up"></div>
408
                        <li class="eborder-top">
409
                            <a class="create-ticket" href="javascript:void(0);"><i></i>Create Ticket</a>
410
                            <a class="my-ticket" href="javascript:void(0);"><i class=""></i>View Tickets</a>
411
                        </li>
412
                        <li></li>
413
                    </ul>
414
                </li>
415
 
416
                <li class="dropdown" style="margin-top:3px;">
417
                    <a href="javascript:void(0);" id="links_bar" style="color:#D3181F" class="btn btn-link"
418
                       data-toggle="popover">
419
                        <i title="third-party dashboards" class="glyphicon glyphicon-th fa-2x"></i>
420
                    </a>
421
                </li>
422
 
423
                <li class="dropdown" style="margin-top:5px;">
424
                    <a href="javascript:void(0);" class="download_reports btn btn-link" style="color:#D3181F">
425
                        <i title="reports" class="far fa-list-alt fa-2x"></i>
426
                    </a>
427
                </li>
428
 
429
 
430
                <li id="wallet_bar" class="dropdown">
431
                    <a data-toggle="dropdown" class="dropdown-toggle wallet_icon_header" href="javascript:void(0);">
432
                        <i title="wallet summary" class="fas fa-wallet fa-2x" aria-hidden="true"></i>
433
                    </a>
434
                </li>
435
 
436
                <li id="cart_bar" class="dropdown">
437
                    <a class="cart_icon_header" href="javascript:void(0);">
438
                        <i class="fas fa-shopping-cart fa-2x" aria-hidden="true"></i>
439
                        <span class="badge bg-important"></span>
440
                    </a>
441
                </li>
442
 
443
 
444
                <!-- alert notification start-->
445
                <!--<li id="alert_notificatoin_bar" class="dropdown">
446
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
447
 
448
                        <i class="icon-bell-l"></i>
449
                        <span class="badge bg-important">0</span>
450
                    </a>
451
                    <ul class="dropdown-menu extended notification">
452
                        <div class="notify-arrow notify-arrow-blue"></div>
453
                        <li>
454
                            <p class="blue">You have no new notifications</p>
455
                        </li>
456
                        <li>
457
                            <a href="#">
458
                                <span class="label label-primary"><i class="icon_profile"></i></span>
459
                                Friend Request
460
                                <span class="small italic pull-right">5 mins</span>
461
                            </a>
462
                        </li>
463
                        <li>
464
                            <a href="#">
465
                                <span class="label label-warning"><i class="icon_pin"></i></span>
466
                                John location.
467
                                <span class="small italic pull-right">50 mins</span>
468
                            </a>
469
                        </li>
470
                        <li>
471
                            <a href="#">
472
                                <span class="label label-danger"><i class="icon_book_alt"></i></span>
473
                                Project 3 Completed.
474
                                <span class="small italic pull-right">1 hr</span>
475
                            </a>
476
                        </li>
477
                        <li>
478
                            <a href="#">
479
                                <span class="label label-success"><i class="icon_like"></i></span>
480
                                Mick appreciated your work.
481
                                <span class="small italic pull-right"> Today</span>
482
                            </a>
483
                        </li>
484
                        <li>
485
                            <a href="#">See all notifications</a>
486
                        </li>
487
                    </ul>
488
                </li>
489
                -->
490
                <!-- alert notification end -->
491
                <li class="dropdown">
492
                    <ul class="dropdown-menu extended">
493
                        <div class="log-arrow-up"></div>
494
                        <li class="eborder-top">
495
                            <a href="javascript:void(0);" class="create-ticket">Create Ticket</a>
496
                        </li>
497
                    </ul>
498
                </li>
499
                <!-- user login dropdown start-->
500
                <li class="dropdown">
501
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
27519 amit.gupta 502
                            <span class="profile-ava">
503
                                <img class="avatar-custom" id="photo" alt="" src="">
504
                            </span>
27875 amit.gupta 505
                        <span class="username" id="fofo_name"></span>
506
                        <b class="caret"></b>
507
                    </a>
508
                    <ul class="dropdown-menu extended logout">
509
                        <div class="log-arrow-up"></div>
510
                        <li class="eborder-top">
511
                            <a class="user-profile" href="javascript:void(0);"><i class="icon_profile"></i> My
512
                                Profile</a>
513
                            <a href="${rc.contextPath}/mobileapp" class="btn btn-default" target="_blank">SD Mobile
514
                                App</a>
515
                            <a class="user-manual" target="_blank"
516
                               href="http://www.smartdukaan.com/Dealer-Guideline.pdf">Franchise Manual Sd Policies</a>
517
                            #if($isAdmin)
27519 amit.gupta 518
                                <a class="add-auth-user" href="javascript:void(0);"><i class=""></i>Add User</a>
27875 amit.gupta 519
                                <a class="change-auth-user-password" href="javascript:void(0);"><i class=""></i>Change
520
                                    Password</a>
521
                            #end
522
                        </li>
523
                        <li>
524
                            <a href="${rc.contextPath}/logout"><i class="icon_key_alt" id="logout"></i> Log Out</a>
525
                        </li>
526
                    </ul>
527
                </li>
528
                <!-- user login dropdown end -->
529
            </ul>
530
            <!-- notificatoin dropdown end-->
531
        </div>
532
    </header>
533
    <!--header end-->
21627 kshitij.so 534
 
27875 amit.gupta 535
    <!--sidebar start-->
536
    <aside>
537
        <div id="sidebar" class="nav-collapse ">
538
            <!-- sidebar menu start-->
539
            <ul class="sidebar-menu">
540
                <li class="active">
541
                    <a class="" href="${rc.contextPath}/dashboard">
542
                        <i class="icon_house_alt"></i>
543
                        <span>Dashboard</span>
544
                    </a>
545
                </li>
546
                <li>
547
                    <a href="javascript:;" class="punch-in-outs">
548
                        <i class="icon_document_alt"></i>
549
                        <span>Punch IN/OUT</span>
550
                    </a>
551
                </li>
552
                <li class="sub-menu">
553
                    <a href="javascript:;" class="schemes">
554
                        <i class="icon_document_alt"></i>
555
                        <span>Margins</span>
556
                    </a>
557
                </li>
28102 tejbeer 558
 
28136 tejbeer 559
                <li class="sub-menu">
28102 tejbeer 560
                    <a href="javascript:;" class="partner-price-circular">
561
                        <i class="icon_document_alt"></i>
562
                        <span>Price Circular</span>
563
                    </a>
28136 tejbeer 564
                </li>
27875 amit.gupta 565
                <li class="sub-menu">
24106 tejbeer 566
                    <a href="javascript:;" class="">
27875 amit.gupta 567
                        <i class="icon_document_alt"></i>
568
                        <span>Fin Services</span>
569
                        <span class="menu-arrow arrow_carrot-right"></span>
570
                    </a>
571
                    <ul class="sub">
572
                        <li><a class="partner-service" href="javascript:void(0);">Partner Service</a></li>
24106 tejbeer 573
                    </ul>
27875 amit.gupta 574
                </li>
575
                <li class="sub-menu">
576
                    <a href="javascript:;" class="">
577
                        <i class="icon_document_alt"></i>
578
                        <span>Returns</span>
579
                        <span class="menu-arrow arrow_carrot-right"></span>
580
                    </a>
581
                    <ul class="sub">
582
                        <li><a class="approved-returns" href="javascript:void(0);">Approved Returns</a></li>
583
                        <li><a class="view-debit-note" href="javascript:void(0);">View Debit Notes</a></li>
584
                        <li><a class="pending-returns" href="javascript:void(0);">Pending Returns</a></li>
585
                    </ul>
586
                </li>
587
                <li class="sub-menu">
588
                    <a href="javascript:;" class="">
589
                        <i class="icon_document_alt"></i>
590
                        <span>Prebooking</span>
591
                        <span class="menu-arrow arrow_carrot-right"></span>
592
                    </a>
593
                    <ul class="sub">
594
                        <li><a class="create-prebooking-order" href="javascript:void(0);">Create Order</a></li>
595
                        <li><a class="prebooking-orders" href="javascript:void(0);">Orders</a></li>
596
                    </ul>
597
                </li>
598
                <li class="sub-menu">
599
                    <a href="javascript:;" class="">
600
                        <i class="icon_document_alt"></i>
601
                        <span>Recharge</span>
602
                        <span class="menu-arrow arrow_carrot-right"></span>
603
                    </a>
604
                    <ul class="sub">
605
                        <li><a class="create-mobile-recharge" href="javascript:void(0);">Mobile Recharge</a></li>
606
                        <li><a class="create-dth-recharge" href="javascript:void(0);">Dth Recharge</a></li>
607
                        <li><a class="mobile-recharges" href="javascript:void(0);">Mob Recharge History</a></li>
608
                        <li><a class="dth-recharges" href="javascript:void(0);">DTH Recharge History</a></li>
609
                    </ul>
610
                </li>
611
                <li>
612
                    <a href="javascript:;" class="create_indent">
613
                        <i class="icon_document_alt"></i>
614
                        <span>Monthly Planning</span>
615
                    </a>
616
                </li>
617
                <li class="sub-menu">
618
                    <a href="javascript:;" class="">
619
                        <i class="icon_document_alt"></i>
620
                        <span>GRN</span>
621
                        <span class="menu-arrow arrow_carrot-right"></span>
622
                    </a>
623
                    <ul class="sub">
624
                        <li><a class="new_grn" href="javascript:void(0);">New</a></li>
625
                        <li><a class="grn_history" href="javascript:void(0);">History</a></li>
626
                        <li><a class="pending_grn" href="javascript:void(0);">Pending</a></li>
627
                    </ul>
628
                </li>
629
                <li class="sub-menu">
630
                    <a href="javascript:;" class="">
631
                        <i class="icon_desktop"></i>
632
                        <span>Inventory</span>
633
                        <span class="menu-arrow arrow_carrot-right"></span>
634
                    </a>
635
                    <ul class="sub">
636
                        <li><a class="good_inventory" href="javascript:void(0);">Good</a></li>
637
                        <li><a class="bad_inventory" href="javascript:void(0);">Bad</a></li>
638
                        <li><a class="allocation_po" href="javascript:void(0);">Raise PO</a></li>
26251 amit.gupta 639
 
25140 amit.gupta 640
 
27875 amit.gupta 641
                    </ul>
642
                </li>
643
                <li class="sub-menu">
644
                    <a href="javascript:;" class="">
645
                        <i class="icon_genius"></i>
646
                        <span>Catalog</span>
647
                        <span class="menu-arrow arrow_carrot-right"></span>
648
                    </a>
649
                    <ul class="sub">
650
                        <li><a class="catalog" href="javascript:void(0);">Catalog</a></li>
651
                        <li><a class="product-compare-info" href="javascript:void(0);">Product Compare</a></li>
652
                    </ul>
653
                </li>
654
                <li class="sub-menu">
655
                    <a href="javascript:void(0);" class="">
656
                        <i class="icon_table"></i>
657
                        <span>Item Aging</span>
658
                        <span class="menu-arrow arrow_carrot-right"></span>
659
                    </a>
660
                    <ul class="sub">
661
                        <li><a class="download_reports" href="javascript:void(0);">Download Reports</a></li>
662
                        <li><a class="download_aging_report" href="javascript:void(0);">Download</a></li>
663
                        <li><a class="item_aging" href="javascript:void(0);">View</a></li>
664
                    </ul>
665
                </li>
666
 
667
                <li class="sub-menu">
668
                    <a href="javascript:;" class="">
669
                        <i class="icon_table"></i>
670
                        <span>Item Ledger</span>
671
                        <span class="menu-arrow arrow_carrot-right"></span>
672
                    </a>
673
                    <ul class="sub">
674
                        <li><a class="item-ledger-report-download-page" href="javascript:void(0);">Download</a></li>
675
                    </ul>
676
                </li>
677
 
678
                <li class="sub-menu">
679
                    <a href="javascript:;" class="">
680
                        <i class="icon_table"></i>
681
                        <span>Sale</span>
682
                        <span class="menu-arrow arrow_carrot-right"></span>
683
                    </a>
684
                    <ul class="sub">
685
                        <li><a class="pending_fofo_order" href="javascript:void(0);">Pending Order</a></li>
686
                        <li><a class="sale-history" href="javascript:void(0);">History</a></li>
687
                        <li><a class="target-slide" href="javascript:void(0);">Outlet Categories</a></li>
688
                        <li><a class="insurance-policy-details" href="javascript:void(0);">Insurance History</a></li>
689
                    </ul>
690
                </li>
691
                <li class="sub-menu" style="margin-bottom:20px">
692
                    <a href="javascript:;" class="">
693
                        <i class="icon_documents_alt"></i>
694
                        <span>Support</span>
695
                        <span class="menu-arrow arrow_carrot-right"></span>
696
                    </a>
697
                    <ul class="sub" style="margin-bottom:20px">
698
                        <li><a class="contact-us" href="#">Contact Us</a></li>
699
                    </ul>
700
                </li>
701
 
702
            </ul>
703
            <!-- sidebar menu end-->
704
        </div>
705
    </aside>
706
    <!--sidebar end-->
707
 
708
    <!--main content start-->
709
    <section id="main-content">
710
        <section class="wrapper">
711
            <!--overview start-->
712
            <div class="row">
713
                <div class="col-lg-12">
714
                    <h3 class="page-header"><i class="fa fa-laptop"></i> Dashboard</h3>
715
                    <ol class="breadcrumb">
716
                        <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
717
                        <li><i class="fa fa-laptop"></i>Dashboard</li>
718
                    </ol>
719
                </div>
720
            </div>
721
            <!-- overview end -->
722
            <div class="row">
723
                <div class="col-lg-6">
724
                    <div class="row">
725
                        <div class="col-lg-7">
726
                            <div class="info-box blue-bg">
727
                                <i class="fa fa-chart-line"></i>
728
                                <h3 style="margin-top:-2px;margin-bottom:12px"><strong>Sale</strong></h3>
729
                                <div class="row">
730
                                    <div class="col-lg-4 row">
731
                                        <div style="margin-top:0px" class="count currency">$salesMap.get(
732
                                            "lmtdSale")</div>
733
                                        <div class="title">LMTD</div>
734
                                    </div>
735
                                    <div class="col-lg-4 row">
736
                                        <div style="margin-top:0px" class="count currency">$salesMap.get(
737
                                            "mtdSale")</div>
738
                                        <div class="title">MTD</div>
739
                                    </div>
740
                                    <div class="col-lg-3 row">
741
                                        <div style="margin-top:0px" class="count currency">$salesMap.get(
742
                                            "todaySale")</div>
743
                                        <div class="title">Today&apos;s</div>
744
                                    </div>
745
 
746
                                    <div class="col-lg-1 row" style="margin-left: -20px;margin-top: 20px;">
747
                                        <i class="fk_more fa fa-angle-double-down" id="blue-dropdown"
748
                                           style="cursor:pointer;font-size: 27px;width: 27px;height: 27px;margin-top: 0px;color: rgba(255, 255, 255, 0.75);line-height: 27px;"></i>
749
                                    </div>
750
                                </div>
751
 
752
                                <div class="row monthsaleContainer" style="margin:5px">
753
                                </div>
754
                            </div>
755
                        </div>
756
                        <div class="col-lg-5 row">
757
                            <div class="info-box brown-bg">
758
 
759
                                <div class="col-lg-12">
760
                                    <div class="col-lg-6">
761
                                        <h4 style="margin-top:-2px;margin-bottom:3px"><strong>Current Rate</strong></h4>
762
                                        <div style="margin-top:0px" class="count">
763
                                            <span class="currency">$salesMap.get("currentRate")</span>/day
764
                                        </div>
765
                                        <img src="${salesMap.get('currentTypeImage')}" width="60px"
766
                                             class="target-slide">
767
                                    </div>
768
                                    <div class="col-lg-6 row">
769
                                        <h4 style="margin-top:-2px;margin-bottom:3px"><strong>Reqd Rate</strong></h4>
770
                                        <div style="margin-top:0px" class="count currency">
771
                                            <span class="currency">$salesMap.get("requiredRate")</span>/day
772
                                        </div>
773
                                        <img src="${salesMap.get('requiredTypeImage')}" width="60px"
774
                                             class="target-slide">
775
                                    </div>
776
                                </div>
777
                            </div>
778
                        </div>
779
                        <div class="col-lg-8">
780
                            <div class="info-box purple-bg">
781
                                <div class="col-lg-12 row">
782
                                    <i class="fa fa-coins"></i>
783
                                    <h3 style="margin-top:-2px;margin-bottom:12px"><strong>Investments</strong></h3>
784
                                    <div class="row">
785
                                        <div class="col-lg-4 row">
786
                                            <div style="margin-top:0px" class="count currency">$investments.get(
787
                                                "today")</div>
27887 amit.gupta 788
                                            <div class="title">current</div>                          			
789
                                            <div class="col-lg-1 row" style="margin-left: -20px;margin-top: -6px;">
790
			                                    <i class="fk_more fa fa-angle-double-down flash" id="purple-dropdown"
27890 tejbeer 791
            			                         style="cursor:pointer;font-size: 27px;width: 145px;height: 27px;margin-top: 0px;color: rgba(255, 255, 255, 0.75);line-height: 4px; margin-left: 16px;"></i>
27887 amit.gupta 792
                        			         </div>
793
										</div>
794
 
795
                                <div class="col-lg-3">
796
                                    <div style="margin-top:0px" class="count">$investments.get("minimum")</div>
797
                                    <div class="title">min</div>
798
                                </div>
27978 tejbeer 799
                                        <div class="col-lg-2 row"
27875 amit.gupta 800
                                            #if(!$isInvestmentOk)
27914 tejbeer 801
                                             style="color:red; background: white;"
27875 amit.gupta 802
                                            #end
803
                                        >
804
                                            #if($investments.get("short")<=0)
805
                                                <div style="margin-top:0px" class="count">&gt;100%</div>
806
                                                <div class="title">OK</div>
807
                                            #else
27888 amit.gupta 808
                                                <div style="margin-top:0px" class="count">$investments.get(
27875 amit.gupta 809
                                                    "short")%
810
                                                </div>
811
                                                <div class="title">short</div>
812
                                            #end
813
                                        </div>
814
                                    </div>
27887 amit.gupta 815
                            		<div class="row investmentContainer" style="margin:5px">
816
	                            	</div>
27875 amit.gupta 817
                                </div>
818
                            </div>
819
                        </div>
820
                        <div class="col-lg-4 row">
821
                            <div class="info-box green-bg">
822
                                <i class="fa fa-cubes"></i>
823
                                <div class="count currency">$investments.get("inStock")</div>
824
                                <div class="title">Total Stock</div>
825
                            </div>
826
                        </div>
827
                    </div>
828
                    <div class="row">
829
                        <div class="Mobile">
830
                            #foreach($brandStockPrice in $brandStockPrices)
831
 
832
                                <div class="col-lg-3">
833
                                    <div class="card card-default">
25680 amit.gupta 834
							<span class="card-body" style="padding-bottom:0px">
835
								<table>
25214 amit.gupta 836
									<thead>
837
										<tr><td colspan="2">Current Stock</td></tr>
838
									</thead>
839
									<tbody>
25219 amit.gupta 840
										<tr><th>Qty</th><td>$brandStockPrice.getTotalQty()pc</td></tr>
27875 amit.gupta 841
										<tr><th>Value</th><td><span
842
                                                class="currency">$brandStockPrice.getTotalValue()</span></td></tr>
25214 amit.gupta 843
									</tbody>
25680 amit.gupta 844
								</table>
27875 amit.gupta 845
                                #if($brandStockPrice.getAgedValue()>0)
846
                                    <p style="color:#d15a57;font-weight:700" title="Focus Stock">
25680 amit.gupta 847
									<span class="currency">$brandStockPrice.getAgedValue()</span> / $brandStockPrice.getAgedQty()
848
								</p>
27875 amit.gupta 849
                                #else
850
                                    <p>&nbsp;</p>
851
                                #end
25680 amit.gupta 852
							</span>
28151 amit.gupta 853
                                        <span class="card-img" style="text-align:center">
27875 amit.gupta 854
							<img src="${brandStockPrice.getBrandUrl()}" data-stockbrand="$brandStockPrice.getBrand()"
855
                                 class="cover $brandStockPrice.getBrand()" id="stockcatalog"
856
                                 class="$brandStockPrice.getBrand()">
27618 tejbeer 857
							</span></span>
27875 amit.gupta 858
                                    </div>
859
                                </div>
860
                            #end
861
                        </div>
862
                        <div class="row">
863
 
864
                            <div class="col-lg-3">
865
                                <div class="card card-default">
27623 tejbeer 866
							<span class="card-body" style="padding-bottom:38px;">
26071 tejbeer 867
								<table>
868
									<thead>
869
										<tr><td colspan="2">Current Stock</td></tr>
870
									</thead>
871
									<tbody>
872
										<tr><th>Value</th><td><span class="currency">$accesoriesStock</span></td></tr>
873
									</tbody>
874
								</table>
875
							</span>
27875 amit.gupta 876
                                    <span class="card-img">
877
								<img src="resources/images/accessories.jpg" id="accesoriesStock"
878
                                     class="accesoriesClass">
26071 tejbeer 879
							</span>
27875 amit.gupta 880
                                </div>
881
                            </div>
21627 kshitij.so 882
 
27875 amit.gupta 883
                        </div>
884
                    </div>
27358 tejbeer 885
 
27357 tejbeer 886
 
27875 amit.gupta 887
                </div>
21627 kshitij.so 888
 
27875 amit.gupta 889
                <div class="col-lg-6">
890
                    #foreach( $offer in $publishedOffers )
891
                        <div class="row col-lg-12 info-box white-bg" style="margin-bottom:1px">
27949 amit.gupta 892
                            <h3 style="margin-top:-2px;color:#c70db8;margin-bottom:4px;font-weight:bold">
27944 amit.gupta 893
                                $offer.getName()
27875 amit.gupta 894
                            </h3>
27945 amit.gupta 895
                            <h4 style="margin-top:-2px;font-size:15px;color:#5547d0;font-weight:bold">
27944 amit.gupta 896
                            	From $dateMonthFormatter.format($offer.getStartDate()) to $dateMonthFormatter.format($offer.getEndDate()), Based on $offer.getSchemeType() on $offer.getActivationBrands()
27875 amit.gupta 897
                            </h4>
898
                            <h4 style="color:green;margin-top:0px;margin-bottom:0px;">
28028 amit.gupta 899
                            	$offer.getDashboardHtml()
27875 amit.gupta 900
                            </h4>
27886 amit.gupta 901
                            <p style="float:right;font-size:15px; margin:0px 0px 0px; " class="description-offer"
27875 amit.gupta 902
                               data-offerid="$offer.getId()" data-toggle="modal" data-target="#offerDescription"
27921 amit.gupta 903
                               data-backdrop="static" data-keyboard="false"><a href="javascript:void(0)">All terms & conditions</a></p>
27875 amit.gupta 904
                        </div>
905
                    #end
906
                    <div class="offer-margin-container">
907
                        <div class="modal  text-center" id="offerDescription">
908
                            <div class="modal-dialog">
909
                                <div class="modal-content">
910
                                </div>
911
                            </div>
912
                        </div>
913
                    </div>
28272 tejbeer 914
 
915
                    <div class="row col-lg-12 info-box white-bg" id="performanceContainer">
916
                                   #parse("performance.vm")
917
 
918
                  </div>
27946 amit.gupta 919
                    #if($activatedImeis > 0)
920
                        <div class="row col-lg-12 info-box white-bg">
921
                            #parse("dashboard-activated-imeis.vm")
922
                        </div>
923
                    #end
27875 amit.gupta 924
                    <div class="row col-lg-12">
925
                        <div class="chart-container" id="chart-container" style="position: relative; width:100%">
926
                            <canvas id="barchart" width="auto" height="auto"></canvas>
927
                        </div>
928
                    </div>
28272 tejbeer 929
 
930
 
931
 
27875 amit.gupta 932
                </div>
933
            </div>
934
            </div>
935
        </section>
936
        <div class="text-center">
937
            <div class="credits">
938
                <p>All rights reserved.&copy;2017, Smart Dukaan</p>
939
            </div>
940
        </div>
941
    </section>
942
 
943
    <script type="text/javascript">
944
        context = "${rc.contextPath}";
945
        webApiScheme = "$webApiScheme";
946
        webApiRoot = "$webApiRoot";
947
        webApiHost = "$webApiHost";
948
        webApiPort = "$webApiPort";
949
    </script>
950
    #parse("include-scripts.vm")
951
 
952
    <script type="text/javascript">
953
        $(document).ready(function () {
28272 tejbeer 954
 
955
 
956
 
27875 amit.gupta 957
            var salesCloseFlag = true;
958
            $("#blue-dropdown").click(function () {
959
                // console.log("clicked");
960
                if (salesCloseFlag) {
961
                    var containerWidth = $(".blue-bg").width()
962
                    doGetAjaxRequestHandler(context + "/getMonthSale", function (response) {
963
                        $('.monthsaleContainer').html(response);
964
 
965
                        $(".blue-bg").css({"position": "absolute", "z-index": "10"}).width(containerWidth);
966
                    });
967
                } else {
968
                    $(".blue-bg").removeAttr('style');
969
                    $('.monthsaleContainer').html('');
970
                }
971
                salesCloseFlag = !salesCloseFlag;
972
            });
973
        });
974
 
27887 amit.gupta 975
        $(document).ready(function () {
976
            var investmentCloseFlag = true;
977
            $("#purple-dropdown").click(function () {
978
                console.log('hello');
979
                $(".flash").stop();
980
                // console.log("clicked");
981
                if (investmentCloseFlag) {
982
                    var containerWidth = $(".purple-bg").width()
983
                    doGetAjaxRequestHandler(context + "/investmentDetails", function (response) {
984
                        $('.investmentContainer').html(response);
985
                        $(".purple-bg").css({"position": "absolute", "z-index": "10"}).width(containerWidth);
986
                    });
987
                } else {
988
                    $(".purple-bg").removeAttr('style');
989
                    $('.investmentContainer').html('');
990
                }
991
                investmentCloseFlag = !investmentCloseFlag;
992
            });
993
        });
27875 amit.gupta 994
 
27887 amit.gupta 995
 
27920 amit.gupta 996
        $(document).on("click", "p.description-offer",
27875 amit.gupta 997
                function (e) {
998
                    var offerid = $(this).data('offerid');
999
                    console.log(offerid);
1000
                    doGetAjaxRequestHandler(context + "/getOfferMargins?offerId="
1001
                            + offerid, function (response) {
1002
                        $('.offer-margin-container .modal-content').html(response);
1003
                    });
1004
                });
1005
 
1006
 
1007
        $(document).on("click", ".cancel-description",
1008
                function (e) {
1009
                    $("#descriptionMenu").empty();
1010
                });
1011
 
1012
 
1013
        $(document).on("click", "#cancel-model",
1014
                function (e) {
1015
                    $("#descriptionMenu").empty();
1016
                });
1017
 
1018
 
28272 tejbeer 1019
 
1020
 
1021
       $(document).on('change', "#performance-months", function() {
1022
 
1023
            var month = 	$("#performance-months").val();
1024
             console.log(month);   
1025
 
1026
           doGetAjaxRequestHandler(context + "/getMonthsInvestment?month=" + month ,function (response) {
1027
                   console.log(response);
1028
                  $("#performanceContainer").html(response);
1029
 
1030
        });
1031
              	});
1032
 
1033
 
27875 amit.gupta 1034
    </script>
1035
    <script>
1036
 
1037
        //knob
1038
        $(function () {
1039
            /*$(".knob").knob({
1040
              'draw' : function () {
1041
                $(this.i).val(this.cv + '%')
1042
              }
1043
            });*/
1044
            $.fn.dataTable.moment('DD/MM/YYYY');
1045
            $.fn.dataTable.moment('DD/MM/YYYY hh:mm');
1046
            $('.currency').each(function (index, ele) {
1047
                if (!isNaN(parseInt($(ele).html()))) {
1048
                    $(ele).html(numberToComma($(ele).html()));
1049
                }
1050
            });
1051
        });
1052
 
1053
        $(function () {
1054
            var profile = localStorage.getItem('profile');
1055
            if (profile) {
1056
                $("#photo").attr("src", JSON.parse(profile).image_url);
1057
                $("#fofo_name").text(JSON.parse(profile).name);
1058
            } else {
1059
                $("#photo").attr("src", "");
1060
                $("#fofo_name").text("Welcome, User");
1061
            }
1062
        });
1063
 
1064
        $(function () {
1065
            var bag = localStorage.getItem('bag');
1066
            console.log(bag);
1067
            if (bag) {
1068
                console.log("yes");
1069
                //$("#cart_bar").find('span').text(10);
1070
                $("#cart_bar").find('span').text(Object.keys(JSON.parse(bag)).length);
1071
            } else {
1072
                $("#cart_bar").find('span').text(0);
1073
            }
1074
        });
1075
 
1076
        $("#logout").click(function () {
1077
            localStorage.profile = undefined;
1078
        });
1079
            #set($partnerInvestment = $investments.get("investment"))
1080
        saleAmount = numberToComma($partnerInvestment.getSalesAmount());
1081
        minimumInvestmentAmount = numberToComma($partnerInvestment.getMinInvestment());
1082
        totalInvestedAmount = numberToComma($partnerInvestment.getTotalInvestment());
1083
        shortPercentage = numberToComma($partnerInvestment.getShortPercentage());
1084
        grnPendingStockAmount = numberToComma($partnerInvestment.getGrnPendingAmount());
1085
        unbilledStockAmount = numberToComma($partnerInvestment.getUnbilledAmount());
1086
        inStockAmount = numberToComma($partnerInvestment.getInStockAmount());
1087
        walletAmount = numberToComma($partnerInvestment.getWalletAmount());
1088
        shortAmount = numberToComma($partnerInvestment.getShortInvestment());
1089
        minAmountToBeAdded = numberToComma($partnerInvestment.getMinAmountToBeAdded());
1090
        isInvestmentOk = $isInvestmentOk;
1091
        starTotal = 5;
1092
        ratings = {
1093
            current: $currentMonthRating,
1094
            last: $lastMonthRating,
1095
            tilldate: $ratingTillDate
1096
        };
1097
        for (const rating in ratings) {
1098
            // 2
1099
            const starPercentage = (ratings[rating] / starTotal) * 100;
1100
            // 3
1101
            const starPercentageRounded = `${starPercentage}%`;
1102
            // 4
1103
            document.querySelector(`.${rating} .stars-inner`).style.width = starPercentageRounded;
1104
        }
1105
 
1106
        hasGift =$hasGift;
1107
        giftItemId = $giftItemId;
1108
        monthDays =$monthDays;
1109
        dayOfMonth = $dayOfMonth;
1110
        $(function () {
1111
            $('#links_bar').popover({
1112
                container: ".notification-row",
1113
                template: `<div class="popover" style="min-width: 18%;">
25140 amit.gupta 1114
							<div class="arrow"></div>
1115
							<div class="popover-inner">
1116
								<h4 class="popover-title">
1117
								</h4>
1118
								<div class="popover-content"><p></p></div>
1119
							</div>
1120
						</div>`,
27875 amit.gupta 1121
                html: true,
1122
                content: `<div class="container-fluid">
25140 amit.gupta 1123
		    				<div class="row"><h5 class="page-header" style="color:#333;margin:6px 0 3px">Quick Links</h5></div>
1124
		    				<div class="row">
1125
							    <div class="col-lg-3">
26583 amit.gupta 1126
								    <a href="/spicemoney/getToken" target="_blank" href="">
26585 amit.gupta 1127
								    	<img title="Spice Money" src="/resources/images/icons/provider-logos/spicemoney.jpg" style="width:40px"></img>
26583 amit.gupta 1128
								    </a>
1129
								</div>
25140 amit.gupta 1130
							</div>
1131
		    			</div>`,
27875 amit.gupta 1132
                placement: "bottom",
1133
                trigger: "focus"
1134
            });
1135
        });
27696 tejbeer 1136
 
27875 amit.gupta 1137
        function showAttendanceModal() {
1138
            var today = new Date().getTime();
1139
            if ($.cookie("punchIn") == undefined) {
1140
                document.cookie = "punchIn=" + today;
1141
            }
1142
            if (today >= parseInt($.cookie("punchIn"))) {
1143
                doGetAjaxRequestHandler(context + "/getPunchInOutForModel", function (response) {
1144
                    if (response == 'true') {
1145
                        $('#punchInOutModal').modal('hide');
1146
                        clearInterval(stopInterval);
1147
                    } else {
1148
                        $("#punch-in-out-model").html(response);
1149
                        $('#punchInOutModal').modal('show');
1150
                        var time = today + 30 * 60 * 1000
1151
                        document.cookie = "punchIn=" + time;
1152
                    }
1153
                });
1154
            }
1155
        }
1156
 
1157
        var stopInterval;
1158
        $(document).ready(function () {
1159
            stopInterval = setInterval(showAttendanceModal, 100000000);
1160
 
1161
            $('div.message-filter').on('click', 'button', function () {
1162
 
1163
                messageType = $(this).data("messagetype");
1164
                notifyTypeChange(messageType, $(this));
1165
 
1166
            });
1167
        });
1168
 
1169
 
1170
        $(function () {
1171
            if (navigator.geolocation) {
1172
                navigator.geolocation.getCurrentPosition(showPosition);
1173
            } else {
1174
                console.log("Geolocation is not supported by browser.");
1175
            }
1176
            dateRangeCallback(moment(), moment());
1177
            loaderDialogObj = bootbox.dialog({
1178
                message: '<div class="container text-center"><i class="fa fa-spin fa-spinner"></i>Loading...</div>',
1179
                show: false
1180
            });
1181
 
1182
        });
1183
    </script>
26318 tejbeer 1184
    <div id="punchInOutModal" class="modal" role="dialog">
27875 amit.gupta 1185
        <div class="modal-dialog">
1186
 
1187
            <!-- Modal content-->
1188
            <div class="modal-content">
1189
                <div class="modal-header">
1190
                    <button type="button" class="close" data-dismiss="modal">&times;</button>
1191
                    <h4 class="modal-title">Punch In Out</h4>
1192
                </div>
1193
                <div class="modal-body">
1194
                    <div id="punch-in-out-model">
1195
 
1196
                    </div>
1197
                </div>
1198
            </div>
1199
        </div>
26071 tejbeer 1200
    </div>
27875 amit.gupta 1201
</section>
1202
</body>
27696 tejbeer 1203
</html>
1204
<style>
1205
 
1206
 
27875 amit.gupta 1207
    .popover2 {
1208
        min-width: 30em;
1209
        height: 410px;
1210
        overflow: auto;
1211
        padding: 8px 5px;
1212
        overflow-x: hidden;
27696 tejbeer 1213
 
27875 amit.gupta 1214
    }
27696 tejbeer 1215
 
27875 amit.gupta 1216
    .popover1 {
1217
        min-width: 30em;
27696 tejbeer 1218
 
1219
 
27875 amit.gupta 1220
    }
27696 tejbeer 1221
 
27875 amit.gupta 1222
    .mark {
1223
        font-size: 13px;
1224
        padding: 5px 6px;
1225
        border: solid 3px red;
1226
        margin-bottom: -14px;
1227
        color: red;
27696 tejbeer 1228
 
27875 amit.gupta 1229
    }
27696 tejbeer 1230
 
27875 amit.gupta 1231
    .mark.btn-pressed {
1232
        color: black;
1233
        background: white;
1234
        font-size: 17px;
1235
        border-radius: 3px;
1236
        border: solid 2px black;
1237
    }
27696 tejbeer 1238
 
27875 amit.gupta 1239
    .price {
1240
        padding: 5px 6px;
1241
        font-size: 13px;
1242
        border: solid 1px black;
1243
        border: solid 3px red;
1244
        margin-bottom: -14px;
1245
        color: red;
27696 tejbeer 1246
 
27875 amit.gupta 1247
    }
1248
 
1249
    .price.btn-pressed {
1250
        color: black;
1251
        background: white;
1252
        font-size: 17px;
1253
        border: solid 2px black;
1254
    }
1255
 
1256
    .schem {
1257
        color: red;
1258
        padding: 5px 6px;
1259
        font-size: 13px;
1260
        border: solid 3px red;
1261
        margin-bottom: -14px;
1262
 
1263
    }
1264
 
1265
    .schem.btn-pressed {
1266
        color: black;
1267
        background: white;
1268
        font-size: 17px;
1269
        border: solid 2px black;
1270
    }
1271
 
1272
    .notify-messages {
1273
        min-height: 65px;
1274
    }
1275
 
1276
    .notifi {
1277
        padding: 5px 6px;
1278
        font-size: 13px;
1279
        margin-bottom: -14px;
1280
 
1281
        color: red;
1282
        border: solid 3px red;
1283
    }
1284
 
1285
    .notifi.btn-pressed {
1286
        color: black;
1287
        font-size: 17px;
1288
        border: solid 2px black;
1289
        background: white;
1290
    }
1291
 
1292
    canvas {
1293
        -moz-user-select: none;
1294
        -webkit-user-select: none;
1295
        -ms-user-select: none;
1296
    }
27696 tejbeer 1297
</style>
27707 amit.gupta 1298
</script>
28272 tejbeer 1299
 
1300
 
1301
 
27707 amit.gupta 1302
<script type="text/javascript">
1303
    window.onload = function () {
1304
        var options = $chartMap;
1305
        var ctx = document.getElementById('barchart').getContext('2d');
1306
        window.bar = new Chart(ctx, options);
1307
    };
1308
</script>