Subversion Repositories SmartDukaan

Rev

Rev 32779 | Rev 33990 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 32779 Rev 33624
Line 3... Line 3...
3
  <head>
3
  <head>
4
    <meta charset="utf-8">
4
    <meta charset="utf-8">
5
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
5
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
6
    <meta name="description" content="Smart Dukaan FOCO Dashboard">
6
    <meta name="description" content="Smart Dukaan FOCO Dashboard">
7
    <meta name="author" content="smartdukaan">
7
    <meta name="author" content="smartdukaan">
8
    <!--<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">--> 
8
	  <!--<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">-->
9
	<link rel="shortcut icon" href="assets/images/icons/favicon.png">
9
	<link rel="shortcut icon" href="assets/images/icons/favicon.png">
10
 
10
 
11
    <title>Smart Dukaan - FOCO Dashboard</title>
11
    <title>Smart Dukaan - FOCO Dashboard</title>
12
 
12
 
13
    <!-- Bootstrap CSS -->    
13
	  <!-- Bootstrap CSS -->
14
    <!-- bootstrap theme -->
14
    <!-- bootstrap theme -->
15
    <!--external css-->
15
    <!--external css-->
16
    <!-- font icon -->
16
    <!-- font icon -->
17
    <link href="resources/css/elegant-icons-style.css" rel="stylesheet" />
17
    <link href="resources/css/elegant-icons-style.css" rel="stylesheet" />
18
    <link href="resources/css/font-awesome.min.css" rel="stylesheet" />    
18
	  <link href="resources/css/font-awesome.min.css" rel="stylesheet"/>
19
    <!-- full calendar css-->
19
    <!-- full calendar css-->
20
    <!-- owl carousel -->
20
    <!-- owl carousel -->
21
    <link rel="stylesheet" href="resources/css/owl.carousel.css" type="text/css">
21
    <link rel="stylesheet" href="resources/css/owl.carousel.css" type="text/css">
22
	<link href="resources/css/jquery-jvectormap-1.2.2.css" rel="stylesheet">
22
	<link href="resources/css/jquery-jvectormap-1.2.2.css" rel="stylesheet">
23
    <!-- Custom styles -->
23
    <!-- Custom styles -->
Line 28... Line 28...
28
	<link href="resources/css/jquery-ui-1.10.4.min.css" rel="stylesheet">
28
	<link href="resources/css/jquery-ui-1.10.4.min.css" rel="stylesheet">
29
    <link type="text/css" href="resources/css/bootstrap.css" rel="stylesheet">
29
    <link type="text/css" href="resources/css/bootstrap.css" rel="stylesheet">
30
	<!--<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/bootstrap/3/css/bootstrap.css" />-->
30
	<!--<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/bootstrap/3/css/bootstrap.css" />-->
31
    <link href="resources/css/bootstrap-theme.min.css" rel="stylesheet">
31
    <link href="resources/css/bootstrap-theme.min.css" rel="stylesheet">
32
	<link rel="stylesheet" type="text/css" href="resources/js/daterangepicker.css" />
32
	<link rel="stylesheet" type="text/css" href="resources/js/daterangepicker.css" />
33
	
33
 
34
	<link rel="stylesheet" type="text/css" href="resources/css/bootstrap-multiselect.css" />
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"/>
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' integrity='sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ' crossorigin='anonymous'>
36
	<link rel='stylesheet' href='https://use.fontawesome.com/releases/v5.7.0/css/all.css' integrity='sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ' crossorigin='anonymous'>
37
	<style type="text/css">
37
	<style type="text/css">
38
		.loading {
38
		.loading {
39
  			display: none;
39
  			display: none;
40
		}
40
		}
41
		.breadcrumb {
41
		.breadcrumb {
42
    		padding: 0 15px;
42
    		padding: 0 15px;
43
    	}
43
    	}
44
    	
44
 
45
    	.stars-outer {
45
    	.stars-outer {
46
		  display: inline-block;
46
		  display: inline-block;
47
		  position: relative;
47
		  position: relative;
48
		  font-family: FontAwesome;
48
		  font-family: FontAwesome;
49
		}
49
		}
50
		 
50
 
51
		.stars-outer::before {
51
		.stars-outer::before {
52
		  content: "\f006 \f006 \f006 \f006 \f006";
52
		  content: "\f006 \f006 \f006 \f006 \f006";
53
		}
53
		}
54
		 
54
 
55
		.stars-inner {
55
		.stars-inner {
56
		  position: absolute;
56
		  position: absolute;
57
		  top: 0;
57
		  top: 0;
58
		  left: 0;
58
		  left: 0;
59
		  white-space: nowrap;
59
		  white-space: nowrap;
60
		  overflow: hidden;
60
		  overflow: hidden;
61
		  width: 0;
61
		  width: 0;
62
		}
62
		}
63
		 
63
 
64
		.stars-inner::before {
64
		.stars-inner::before {
65
		  content: "\f005 \f005 \f005 \f005 \f005";
65
		  content: "\f005 \f005 \f005 \f005 \f005";
66
		  color: #f8ce0b;
66
		  color: #f8ce0b;
67
		}
67
		}
68
    	
68
 
69
    	
69
 
70
	.table-striped > tbody > tr:nth-child(odd) > td{
70
		.table-striped > tbody > tr:nth-child(odd) > td{
71
  		background: white;
71
  		background: white;
72
  		background-color: #dae5f4;
72
  		background-color: #dae5f4;
73
	}
73
	}
74
	.table-striped > tbody > tr:nth-child(even) > td{
74
	.table-striped > tbody > tr:nth-child(even) > td{
75
  		background:  #f2f2f2;
75
  		background:  #f2f2f2;
76
  		background-color: #b8d1f3;
76
  		background-color: #b8d1f3;
77
	}
77
	}
78
	
78
 
79
	.btn:hover{
79
	.btn:hover{
80
  		color: grey;
80
  		color: grey;
81
  		text-decoration: none;
81
  		text-decoration: none;
82
	}
82
	}
83
	.btn-primary:hover{
83
	.btn-primary:hover{
Line 85... Line 85...
85
  		text-decoration: none;
85
  		text-decoration: none;
86
	}
86
	}
87
	.sale-details{
87
	.sale-details{
88
		cursor:pointer;
88
		cursor:pointer;
89
	}
89
	}
90
	
90
 
91
	.popover {
91
	.popover {
92
		min-width:18%;
92
		min-width:18%;
93
	}
93
	}
94
	.fa-2x {
94
	.fa-2x {
95
		font-size:1.4em;
95
		font-size:1.4em;
Line 110... Line 110...
110
    float: none;
110
    float: none;
111
    text-align: center;
111
    text-align: center;
112
    padding-right: 0px;
112
    padding-right: 0px;
113
    color:#768399;
113
    color:#768399;
114
  }
114
  }
115
    
115
 
116
	#preview {
116
	#preview {
117
	  position: relative;
117
	  position: relative;
118
	  color: #fff;
118
	  color: #fff;
119
	  float: left;
119
	  float: left;
120
	  width: 100%;
120
	  width: 100%;
Line 131... Line 131...
131
	#preview-textfield{
131
	#preview-textfield{
132
	  position: absolute; top: -10px; left: 0; right: 0;
132
	  position: absolute; top: -10px; left: 0; right: 0;
133
	  text-align: center; font-size: 2em; font-weight: bold;
133
	  text-align: center; font-size: 2em; font-weight: bold;
134
	  color: white; font-family: 'Amaranth', sans-serif;
134
	  color: white; font-family: 'Amaranth', sans-serif;
135
	}
135
	}
136
	
136
 
137
	#descriptionMenu {
137
	#descriptionMenu {
138
	 list-style: desc !important
138
	 list-style: desc !important
139
	 list-style-type:square;
139
	 list-style-type:square;
140
	 text-align:left;
140
	 text-align:left;
141
	}
141
	}
142
	
142
 
143
	
143
 
144
	</style>
144
	</style>
145
  </head>
145
  </head>
146
 
146
 
147
  <body style="zoom:90%;background-color:#f7f7f7">
147
  <body style="zoom:90%;background-color:#f7f7f7">
148
  <!--<div class="loading"><img src="resources/images/icons/loading.gif"></div>-->
148
  <!--<div class="loading"><img src="resources/images/icons/loading.gif"></div>-->
149
  <!-- container section start -->
149
  <!-- container section start -->
150
  <section id="container">
150
  <section id="container">
151
     
151
 
152
      
152
 
153
      <header class="header dark-bg">
153
	  <header class="header dark-bg">
154
            <div class="toggle-nav">
154
            <div class="toggle-nav">
155
                <div class="icon-reorder tooltips" data-original-title="Toggle Navigation" data-placement="bottom"><i class="icon_menu"></i></div>
155
                <div class="icon-reorder tooltips" data-original-title="Toggle Navigation" data-placement="bottom"><i class="icon_menu"></i></div>
156
            </div>
156
            </div>
157
 
157
 
158
            <a href="${rc.contextPath}/dashboard" class="logo">Smart Dukaan - $fofoStore.getCode()</a>
158
            <a href="${rc.contextPath}/dashboard" class="logo">Smart Dukaan - $fofoStore.getCode()</a>
Line 174... Line 174...
174
	                            <a class="my-ticket" href="javascript:void(0);"><i class=""></i>View Tickets</a>
174
	                            <a class="my-ticket" href="javascript:void(0);"><i class=""></i>View Tickets</a>
175
	                        </li>
175
	                        </li>
176
	                        <li></li>
176
	                        <li></li>
177
	                    </ul>
177
	                    </ul>
178
	                </li>
178
	                </li>
179
                    
-
 
-
 
179
 
180
                    <li class="dropdown" style="margin-top:3px;">
180
                    <li class="dropdown" style="margin-top:3px;">
181
                        <a href="javascript:void(0);"  id="" style="color:#D3181F" class="" data-toggle="popover">
181
                        <a href="javascript:void(0);"  id="" style="color:#D3181F" class="" data-toggle="popover">
182
                            <i title="third-party dashboards" class="glyphicon glyphicon-th fa-2x"></i>
182
                            <i title="third-party dashboards" class="glyphicon glyphicon-th fa-2x"></i>
183
                        </a>
183
                        </a>
184
                    </li> 
184
					</li>
185
                    
-
 
-
 
185
 
186
                    <li class="dropdown" style="margin-top:5px;">
186
                    <li class="dropdown" style="margin-top:5px;">
187
                        <a href="javascript:void(0);"  class="download_reports btn btn-link" style="color:#D3181F">
187
                        <a href="javascript:void(0);"  class="download_reports btn btn-link" style="color:#D3181F">
188
                            <i title="reports" class="far fa-list-alt fa-2x"></i>
188
                            <i title="reports" class="far fa-list-alt fa-2x"></i>
189
                        </a>
189
                        </a>
190
                    </li> 
190
					</li>
191
                    
-
 
192
                    
-
 
-
 
191
 
-
 
192
 
193
                    <li id="wallet_bar" class="dropdown">
193
					<li id="wallet_bar" class="dropdown">
194
                        <a data-toggle="dropdown" class=" " href="javascript:void(0);">
194
                        <a data-toggle="dropdown" class=" " href="javascript:void(0);">
195
                            <i title="wallet summary" class="fas fa-wallet fa-2x" aria-hidden="true"></i>
195
                            <i title="wallet summary" class="fas fa-wallet fa-2x" aria-hidden="true"></i>
196
                        </a>
196
                        </a>
197
                    </li> 
197
					</li>
198
                     
-
 
-
 
198
 
199
                    <li id="cart_bar" class="dropdown">
199
                    <li id="cart_bar" class="dropdown">
200
                        <a  class="" href="javascript:void(0);">
200
                        <a  class="" href="javascript:void(0);">
201
                            <i class="fas fa-shopping-cart fa-2x" aria-hidden="true"></i>
201
                            <i class="fas fa-shopping-cart fa-2x" aria-hidden="true"></i>
202
                            <span class="badge bg-important"></span>
202
                            <span class="badge bg-important"></span>
203
                        </a>
203
                        </a>
204
                    </li>
204
                    </li>
205
                    
-
 
206
                    
-
 
-
 
205
 
-
 
206
 
207
                    <!-- alert notification start-->
207
					<!-- alert notification start-->
208
                    <!--<li id="alert_notificatoin_bar" class="dropdown">
208
                    <!--<li id="alert_notificatoin_bar" class="dropdown">
209
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
209
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
210
 
210
 
211
                            <i class="icon-bell-l"></i>
211
                            <i class="icon-bell-l"></i>
212
                            <span class="badge bg-important">0</span>
212
                            <span class="badge bg-important">0</span>
Line 216... Line 216...
216
                            <li>
216
                            <li>
217
                                <p class="blue">You have no new notifications</p>
217
                                <p class="blue">You have no new notifications</p>
218
                            </li>
218
                            </li>
219
                            <li>
219
                            <li>
220
                                <a href="#">
220
                                <a href="#">
221
                                    <span class="label label-primary"><i class="icon_profile"></i></span> 
221
                                    <span class="label label-primary"><i class="icon_profile"></i></span>
222
                                    Friend Request
222
                                    Friend Request
223
                                    <span class="small italic pull-right">5 mins</span>
223
                                    <span class="small italic pull-right">5 mins</span>
224
                                </a>
224
                                </a>
225
                            </li>
225
                            </li>
226
                            <li>
226
                            <li>
227
                                <a href="#">
227
                                <a href="#">
228
                                    <span class="label label-warning"><i class="icon_pin"></i></span>  
228
                                    <span class="label label-warning"><i class="icon_pin"></i></span>
229
                                    John location.
229
                                    John location.
230
                                    <span class="small italic pull-right">50 mins</span>
230
                                    <span class="small italic pull-right">50 mins</span>
231
                                </a>
231
                                </a>
232
                            </li>
232
                            </li>
233
                            <li>
233
                            <li>
234
                                <a href="#">
234
                                <a href="#">
235
                                    <span class="label label-danger"><i class="icon_book_alt"></i></span> 
235
                                    <span class="label label-danger"><i class="icon_book_alt"></i></span>
236
                                    Project 3 Completed.
236
                                    Project 3 Completed.
237
                                    <span class="small italic pull-right">1 hr</span>
237
                                    <span class="small italic pull-right">1 hr</span>
238
                                </a>
238
                                </a>
239
                            </li>
239
                            </li>
240
                            <li>
240
                            <li>
241
                                <a href="#">
241
                                <a href="#">
242
                                    <span class="label label-success"><i class="icon_like"></i></span> 
242
                                    <span class="label label-success"><i class="icon_like"></i></span>
243
                                    Mick appreciated your work.
243
                                    Mick appreciated your work.
244
                                    <span class="small italic pull-right"> Today</span>
244
                                    <span class="small italic pull-right"> Today</span>
245
                                </a>
245
                                </a>
246
                            </li>
246
                            </li>
247
                            <li>
247
                            <li>
Line 271... Line 271...
271
                        <ul class="dropdown-menu extended logout">
271
                        <ul class="dropdown-menu extended logout">
272
                            <div class="log-arrow-up"></div>
272
                            <div class="log-arrow-up"></div>
273
                            <li class="eborder-top">
273
                            <li class="eborder-top">
274
                                <a class="user-profile" href="javascript:void(0);"><i class="icon_profile"></i> My Profile</a>
274
                                <a class="user-profile" href="javascript:void(0);"><i class="icon_profile"></i> My Profile</a>
275
                                <a class=" ">SD Mobile App</a>
275
                                <a class=" ">SD Mobile App</a>
-
 
276
								<a class="user-manual" target="_blank"
-
 
277
								   href="http://images.smartdukaan.com/uploads/campaigns/SD_Guide_Book_English.pdf">Sd
-
 
278
									Policies(En)</a>
-
 
279
								<a class="user-manual" target="_blank"
276
                                <a class="user-manual" target="_blank"  href="http://www.smartdukaan.com/Dealer-Guideline.pdf">Franchise Manual Sd Policies</a>
280
								   href="http://images.smartdukaan.com/uploads/campaigns/SD_Guide_Book_Hindi.pdf">Sd
277
                                 #if($isAdmin)
281
									Policies(Hi)</a>                                 #if($isAdmin)
278
                                <a class="add-auth-user" href="javascript:void(0);"><i class=""></i>Add User</a>
282
                                <a class="add-auth-user" href="javascript:void(0);"><i class=""></i>Add User</a>
279
                                <a class="change-auth-user-password" href="javascript:void(0);"><i class=""></i>Change Password</a>
283
                                <a class="change-auth-user-password" href="javascript:void(0);"><i class=""></i>Change Password</a>
280
                            	#end
284
                            	#end
281
                            </li>
285
                            </li>
282
                            <li>
286
                            <li>
Line 286... Line 290...
286
                    </li>
290
                    </li>
287
                    <!-- user login dropdown end -->
291
                    <!-- user login dropdown end -->
288
                </ul>
292
                </ul>
289
                <!-- notificatoin dropdown end-->
293
                <!-- notificatoin dropdown end-->
290
            </div>
294
            </div>
291
      </header>      
295
	  </header>
292
      <!--header end-->
296
      <!--header end-->
293
 
297
 
294
      <!--sidebar start-->
298
      <!--sidebar start-->
295
      <aside>
299
      <aside>
296
          <div id="sidebar"  class="nav-collapse ">
300
          <div id="sidebar"  class="nav-collapse ">
297
              <!-- sidebar menu start-->
301
              <!-- sidebar menu start-->
298
              <ul class="sidebar-menu">                
302
			  <ul class="sidebar-menu">
299
              	  <li class="active">
303
              	  <li class="active">
300
                      <a class="" href="${rc.contextPath}/dashboard">
304
                      <a class="" href="${rc.contextPath}/dashboard">
301
                          <i class="icon_house_alt"></i>
305
                          <i class="icon_house_alt"></i>
302
                          <span>Dashboard</span>
306
                          <span>Dashboard</span>
303
                      </a>
307
                      </a>
Line 320... Line 324...
320
			              <a href="javascript:;" class="">
324
			              <a href="javascript:;" class="">
321
		                       <i class="icon_document_alt"></i>
325
		                       <i class="icon_document_alt"></i>
322
		                       <span>Scheme</span>
326
		                       <span>Scheme</span>
323
		                       <span class="menu-arrow arrow_carrot-right"></span>
327
		                       <span class="menu-arrow arrow_carrot-right"></span>
324
			              </a>
328
			              </a>
325
			              
-
 
-
 
329
 
326
			              <ul class="sub">
330
			              <ul class="sub">
327
					          <li><a class="create-scheme" href="javascript:void(0);">Create</a></li>
331
					          <li><a class="create-scheme" href="javascript:void(0);">Create</a></li>
328
		                  		<li><a class="schemes" href="javascript:void(0);">History</a></li>
332
		                  		<li><a class="schemes" href="javascript:void(0);">History</a></li>
329
		                  		<li><a class="schemes-update" href="javascript:void(0);">Update Scheme</a></li>
333
		                  		<li><a class="schemes-update" href="javascript:void(0);">Update Scheme</a></li>
330
			                    <li><a class="schemes-download-page" href="javascript:void(0);">Export</a></li>
334
			                    <li><a class="schemes-download-page" href="javascript:void(0);">Export</a></li>
Line 334... Line 338...
334
			                     <li><a class="add-wallet-approve" href="javascript:void(0);">Approved Request</a></li>
338
			                     <li><a class="add-wallet-approve" href="javascript:void(0);">Approved Request</a></li>
335
			                    <li><a class="add-wallet-rejected" href="javascript:void(0);">Rejected Request</a></li>
339
			                    <li><a class="add-wallet-rejected" href="javascript:void(0);">Rejected Request</a></li>
336
			                    <li><a class="wallet-edit" href="javascript:void(0);">Wallet Edit</a></li>
340
			                    <li><a class="wallet-edit" href="javascript:void(0);">Wallet Edit</a></li>
337
			                    <li><a class="scheme_offer" href="javascript:void(0);">Offers</a></li>
341
			                    <li><a class="scheme_offer" href="javascript:void(0);">Offers</a></li>
338
			                     <li><a class="offer_history" href="javascript:void(0);">Offer History</a></li>
342
			                     <li><a class="offer_history" href="javascript:void(0);">Offer History</a></li>
339
			                   
-
 
-
 
343
 
340
		               	  </ul>
344
		               	  </ul>
341
		             </li>
345
		             </li>
342
		             <li class="sub-menu">
346
		             <li class="sub-menu">
343
			              <a href="javascript:;" class="">
347
			              <a href="javascript:;" class="">
344
		                       <i class="icon_document_alt"></i>
348
		                       <i class="icon_document_alt"></i>
Line 355... Line 359...
355
			              	  <li><a class="delete-role" href="javascript:void(0);">Delete Role</a></li>
359
			              	  <li><a class="delete-role" href="javascript:void(0);">Delete Role</a></li>
356
					          <li><a class="add-remove-api" href="javascript:void(0);">Add/Remove Api</a></li>
360
					          <li><a class="add-remove-api" href="javascript:void(0);">Add/Remove Api</a></li>
357
					          <li><a class="add-remove-role" href="javascript:void(0);">Add/Remove Role</a></li>
361
					          <li><a class="add-remove-role" href="javascript:void(0);">Add/Remove Role</a></li>
358
		               	  </ul>
362
		               	  </ul>
359
		             </li>
363
		             </li>
360
		             
364
 
361
		             
365
 
362
		               <li class="sub-menu">
366
					  <li class="sub-menu">
363
			              <a href="javascript:;" class="hygiene">
367
			              <a href="javascript:;" class="hygiene">
364
		                       <i class="icon_document_alt"></i>
368
		                       <i class="icon_document_alt"></i>
365
		                       <span>Hygiene</span>
369
		                       <span>Hygiene</span>
366
		                       <span></span>
370
		                       <span></span>
367
			              </a>
371
			              </a>
368
		             </li>
372
		             </li>
369
  
373
 
370
               	   #end
374
               	   #end
371
               	   
-
 
-
 
375
 
372
		              <li class="sub-menu">
376
		              <li class="sub-menu">
373
			              <a href="javascript:;" class="">
377
			              <a href="javascript:;" class="">
374
		                       <i class="icon_document_alt"></i>
378
		                       <i class="icon_document_alt"></i>
375
		                       Fin Services</span>
379
		                       Fin Services</span>
376
		                       <span class="menu-arrow arrow_carrot-right"></span>
380
		                       <span class="menu-arrow arrow_carrot-right"></span>
Line 394... Line 398...
394
	                         <li><a class="send-notification" href="javascript:void(0);">Send Notification</a></li>
398
	                         <li><a class="send-notification" href="javascript:void(0);">Send Notification</a></li>
395
	                          <li><a class="send-message" href="javascript:void(0);">Send Message</a></li>
399
	                          <li><a class="send-message" href="javascript:void(0);">Send Message</a></li>
396
	                           <li><a class="notification-panel" href="javascript:void(0);">Notification Panel</a></li>
400
	                           <li><a class="notification-panel" href="javascript:void(0);">Notification Panel</a></li>
397
	                     </ul>
401
	                     </ul>
398
                  	</li>
402
                  	</li>
399
                  	
-
 
400
                  	
-
 
-
 
403
 
-
 
404
 
401
                  	             <li class="sub-menu">
405
					  <li class="sub-menu">
402
			              <a href="javascript:;" class="">
406
			              <a href="javascript:;" class="">
403
		                       <i class="icon_document_alt"></i>
407
		                       <i class="icon_document_alt"></i>
404
		                       <span>Refferals</span>
408
		                       <span>Refferals</span>
405
		                       <span class="menu-arrow arrow_carrot-right"></span>
409
		                       <span class="menu-arrow arrow_carrot-right"></span>
406
			              </a>
410
			              </a>
407
			              
-
 
-
 
411
 
408
			              <ul class="sub">
412
			              <ul class="sub">
409
			                   
-
 
-
 
413
 
410
			                    <li><a class="pending-refferal" href="javascript:void(0);">Pending Referral</a></li>
414
			                    <li><a class="pending-refferal" href="javascript:void(0);">Pending Referral</a></li>
411
			                     <li><a class="validate-refferal" href="javascript:void(0);">Validate Referral</a></li>
415
			                     <li><a class="validate-refferal" href="javascript:void(0);">Validate Referral</a></li>
412
			                    <li><a class="refferal-approve" href="javascript:void(0);">Approve Referral</a></li>
416
			                    <li><a class="refferal-approve" href="javascript:void(0);">Approve Referral</a></li>
413
			                    <li><a class="refferal-transferred" href="javascript:void(0);">Transferred Referral</a></li>
417
			                    <li><a class="refferal-transferred" href="javascript:void(0);">Transferred Referral</a></li>
414
		               	  </ul>
418
		               	  </ul>
Line 496... Line 500...
496
        	                  	<li><a class="recharge-commissions" href="javascript:void(0);">Commissions</a></li>
500
        	                  	<li><a class="recharge-commissions" href="javascript:void(0);">Commissions</a></li>
497
        	                  	<li><a class="recharge-provider-balance" href="javascript:void(0);">Provider Balance</a></li>
501
        	                  	<li><a class="recharge-provider-balance" href="javascript:void(0);">Provider Balance</a></li>
498
        	                  	<li><a class="recharge-provider-wallet-add-money" href="javascript:void(0);">Provider Add Money</a></li>
502
        	                  	<li><a class="recharge-provider-wallet-add-money" href="javascript:void(0);">Provider Add Money</a></li>
499
        	                  	<li><a class="recharge-provider-wallet-add-moneys" href="javascript:void(0);">Provider Wallet History</a></li>
503
        	                  	<li><a class="recharge-provider-wallet-add-moneys" href="javascript:void(0);">Provider Wallet History</a></li>
500
        	                  	<li><a class="daily-recharges" href="javascript:void(0);">Daily Recharges</a></li>
504
        	                  	<li><a class="daily-recharges" href="javascript:void(0);">Daily Recharges</a></li>
501
        	                #end  	
505
							#end
502
	                        <li><a class=" " href="javascript:void(0);">Mobile Recharge</a></li>                          
506
							<li><a class=" " href="javascript:void(0);">Mobile Recharge</a></li>
503
	                        <li><a class=" " href="javascript:void(0);">Dth Recharge</a></li>
507
	                        <li><a class=" " href="javascript:void(0);">Dth Recharge</a></li>
504
	                        <li><a class=" " href="javascript:void(0);">Mob Recharge History</a></li>
508
	                        <li><a class=" " href="javascript:void(0);">Mob Recharge History</a></li>
505
	                     	<li><a class=" " href="javascript:void(0);">DTH Recharge History</a></li>
509
	                     	<li><a class=" " href="javascript:void(0);">DTH Recharge History</a></li>
506
	                  	</ul>
510
	                  	</ul>
507
	                </li> y
511
	                </li> y
Line 511... Line 515...
511
                          <i class="icon_document_alt"></i>
515
                          <i class="icon_document_alt"></i>
512
                          <span>Stock Allocation</span>
516
                          <span>Stock Allocation</span>
513
                          <span class="menu-arrow arrow_carrot-right"></span>
517
                          <span class="menu-arrow arrow_carrot-right"></span>
514
                      </a>
518
                      </a>
515
                       <ul class="sub">
519
                       <ul class="sub">
516
                           <li><a class="notify_order" href="javascript:void(0);">Notified Order</a></li>   
520
						   <li><a class="notify_order" href="javascript:void(0);">Notified Order</a></li>
517
                            <li><a class="notify_cancel" href="javascript:void(0);">Notified Cancel Order</a></li> 
521
						   <li><a class="notify_cancel" href="javascript:void(0);">Notified Cancel Order</a></li>
518
                           <li><a class="review_order" href="javascript:void(0);">Review Order</a></li>   
522
						   <li><a class="review_order" href="javascript:void(0);">Review Order</a></li>
519
                           <li><a class="create_indent" href="javascript:void(0);">Edit Allocation</a></li>
523
                           <li><a class="create_indent" href="javascript:void(0);">Edit Allocation</a></li>
520
                            <li><a class="focused_model" href="javascript:void(0);">Focused Model</a></li>
524
                            <li><a class="focused_model" href="javascript:void(0);">Focused Model</a></li>
521
                             <li><a class="partners_allocation" href="javascript:void(0);">Partner Allocation</a></li>
525
                             <li><a class="partners_allocation" href="javascript:void(0);">Partner Allocation</a></li>
522
                               <li><a class="partner-po" href="javascript:void(0);">Create PO</a></li>
526
                               <li><a class="partner-po" href="javascript:void(0);">Create PO</a></li>
523
                      </ul>
527
                      </ul>
Line 527... Line 531...
527
	                  <a href="javascript:;" class="">
531
	                  <a href="javascript:;" class="">
528
                          <i class="icon_document_alt"></i>
532
                          <i class="icon_document_alt"></i>
529
                          <span>Monthly Planning</span>
533
                          <span>Monthly Planning</span>
530
	                  </a>
534
	                  </a>
531
                  </li>
535
                  </li>
532
                  #end       
536
				  #end
533
				  <li class="sub-menu">
537
				  <li class="sub-menu">
534
                      <a href="javascript:;" class="">
538
                      <a href="javascript:;" class="">
535
                          <i class="icon_document_alt"></i>
539
                          <i class="icon_document_alt"></i>
536
                          <span>GRN</span>
540
                          <span>GRN</span>
537
                          <span class="menu-arrow arrow_carrot-right"></span>
541
                          <span class="menu-arrow arrow_carrot-right"></span>
Line 550... Line 554...
550
                      </a>
554
                      </a>
551
                      <ul class="sub">
555
                      <ul class="sub">
552
                          <li><a class="" href="javascript:void(0);">Good</a></li>
556
                          <li><a class="" href="javascript:void(0);">Good</a></li>
553
                          <li><a class="" href="javascript:void(0);">Bad</a></li>
557
                          <li><a class="" href="javascript:void(0);">Bad</a></li>
554
                          <li><a class="" href="javascript:void(0);">Raise PO</a></li>
558
                          <li><a class="" href="javascript:void(0);">Raise PO</a></li>
555
                         
-
 
556
                          
-
 
-
 
559
 
-
 
560
 
557
                      </ul>
561
					  </ul>
558
                  </li>
562
                  </li>
559
                  <li  class="sub-menu">
563
                  <li  class="sub-menu">
560
                    <a href="javascript:;" class="">
564
                    <a href="javascript:;" class="">
561
                          <i class="icon_genius"></i>
565
                          <i class="icon_genius"></i>
562
                          <span>Catalog</span>
566
                          <span>Catalog</span>
563
                          <span class="menu-arrow arrow_carrot-right"></span>
567
                          <span class="menu-arrow arrow_carrot-right"></span>
564
                      </a>
568
                      </a>
565
                  <ul class="sub">
569
                  <ul class="sub">
566
                  <li><a class="" href="javascript:void(0);">Catalog</a></li>
570
                  <li><a class="" href="javascript:void(0);">Catalog</a></li>
567
                  
-
 
-
 
571
 
568
                  #if($isAdmin)
572
                  #if($isAdmin)
569
                  <li><a class="product-detail" href="javascript:void(0);">Product Detail</a></li>
573
                  <li><a class="product-detail" href="javascript:void(0);">Product Detail</a></li>
570
                  <li><a class="feature" href="javascript:void(0);">Feature</a></li>
574
                  <li><a class="feature" href="javascript:void(0);">Feature</a></li>
571
                  <li><a class="content" href="javascript:void(0);">Content</a></li>
575
                  <li><a class="content" href="javascript:void(0);">Content</a></li>
572
                  <li><a class="live_demo_billing" href="javascript:void(0);">Live Demo Billing</a></li>
576
                  <li><a class="live_demo_billing" href="javascript:void(0);">Live Demo Billing</a></li>
Line 583... Line 587...
583
                  		<li><a class="download_reports" href="javascript:void(0);">Download Reports</a></li>
587
                  		<li><a class="download_reports" href="javascript:void(0);">Download Reports</a></li>
584
                  		<li><a class="download_aging_report" href="javascript:void(0);">Download</a></li>
588
                  		<li><a class="download_aging_report" href="javascript:void(0);">Download</a></li>
585
                  		<li><a class="item_aging" href="javascript:void(0);">View</a></li>
589
                  		<li><a class="item_aging" href="javascript:void(0);">View</a></li>
586
                  	</ul>
590
                  	</ul>
587
                  </li>
591
                  </li>
588
                  
-
 
-
 
592
 
589
                  <li class="sub-menu">
593
                  <li class="sub-menu">
590
                  	<a href="javascript:;" class="">
594
                  	<a href="javascript:;" class="">
591
                  		<i class="icon_table"></i>
595
                  		<i class="icon_table"></i>
592
                  		<span>Item Ledger</span>
596
                  		<span>Item Ledger</span>
593
                  		<span class="menu-arrow arrow_carrot-right"><span>
597
                  		<span class="menu-arrow arrow_carrot-right"><span>
594
                  	</a>
598
                  	</a>
595
                  	<ul class="sub">
599
                  	<ul class="sub">
596
                  		<li><a class="item-ledger-report-download-page" href="javascript:void(0);">Download</a></li>
600
                  		<li><a class="item-ledger-report-download-page" href="javascript:void(0);">Download</a></li>
597
                  	</ul>
601
                  	</ul>
598
                  </li>
602
                  </li>
599
                             
-
 
-
 
603
 
600
                 	<li class="sub-menu">
604
                 	<li class="sub-menu">
601
                  		<a href="javascript:;" class="">
605
                  		<a href="javascript:;" class="">
602
                      		<i class="icon_table"></i>
606
                      		<i class="icon_table"></i>
603
                          	<span>Sale</span>
607
                          	<span>Sale</span>
604
                          	<span class="menu-arrow arrow_carrot-right"></span>
608
                          	<span class="menu-arrow arrow_carrot-right"></span>
Line 609... Line 613...
609
		                    <li><a class="search-order" href="javascript:void(0);">Search Order</a></li>
613
		                    <li><a class="search-order" href="javascript:void(0);">Search Order</a></li>
610
		                       <li><a class="upload-target" href="javascript:void(0);">Create Partner Target</a></li>
614
		                       <li><a class="upload-target" href="javascript:void(0);">Create Partner Target</a></li>
611
		                        <li><a class="pending_fofo_order" href="javascript:void(0);">Pending Order</a></li>
615
		                        <li><a class="pending_fofo_order" href="javascript:void(0);">Pending Order</a></li>
612
 
616
 
613
        	             #end
617
        	             #end
614
        	             
-
 
-
 
618
 
615
        	                <li><a class="pending_fofo_order" href="javascript:void(0);">Pending Order</a></li>
619
        	                <li><a class="pending_fofo_order" href="javascript:void(0);">Pending Order</a></li>
616
                          <li><a class="sale-history" href="javascript:void(0);">History</a></li>
620
                          <li><a class="sale-history" href="javascript:void(0);">History</a></li>
617
                           <li><a class="target-slide" href="javascript:void(0);">Outlet Categories</a></li>
621
                           <li><a class="target-slide" href="javascript:void(0);">Outlet Categories</a></li>
618
                           <li><a class="insurance-policy-details" href="javascript:void(0);">Insurance History</a></li>
622
                           <li><a class="insurance-policy-details" href="javascript:void(0);">Insurance History</a></li>
619
                      </ul>
623
                      </ul>
620
                  </li>
624
                  </li>
621
                   #if($isAdmin)
625
                   #if($isAdmin)
622
                   
-
 
623
                       
-
 
-
 
626
 
-
 
627
 
624
		             <li class="sub-menu">
628
					   <li class="sub-menu">
625
			              <a href="javascript:;" class="">
629
			              <a href="javascript:;" class="">
626
		                       <i class="icon_document_alt"></i>
630
		                       <i class="icon_document_alt"></i>
627
		                       <span>Lead</span>
631
		                       <span>Lead</span>
628
		                        <span class="menu-arrow arrow_carrot-right"></span>
632
		                        <span class="menu-arrow arrow_carrot-right"></span>
629
			              </a>
633
			              </a>
630
			             <ul class="sub">                          
634
						   <ul class="sub">
631
                          <li><a class="lead" href="#">Lead</a></li>
635
                          <li><a class="lead" href="#">Lead</a></li>
632
                          <li><a class="lead-close" href="#">Closed Lead</a></li>
636
                          <li><a class="lead-close" href="#">Closed Lead</a></li>
633
                         </ul>
637
                         </ul>
634
		             </li>
638
		             </li>
635
                   <li class="sub-menu">
639
                   <li class="sub-menu">
636
                      <a href="javascript:;" class="">
640
                      <a href="javascript:;" class="">
637
                          <i class="icon_documents_alt"></i>
641
                          <i class="icon_documents_alt"></i>
638
                          <span>Ticket</span>
642
                          <span>Ticket</span>
639
                          <span class="menu-arrow arrow_carrot-right"></span>
643
                          <span class="menu-arrow arrow_carrot-right"></span>
640
                          
-
 
-
 
644
 
641
                      </a>
645
                      </a>
642
                      <ul class="sub">                          
646
					   <ul class="sub">
643
                          <li><a class="create-ticket-category" href="#">Create Category</a></li>
647
                          <li><a class="create-ticket-category" href="#">Create Category</a></li>
644
                           <li><a class="create-ticket-sub-category" href="#">Create Sub Category</a></li>
648
                           <li><a class="create-ticket-sub-category" href="#">Create Sub Category</a></li>
645
                           <li><a class="create-region" href="#">Create Region</a></li>
649
                           <li><a class="create-region" href="#">Create Region</a></li>
646
                           <li><a class="create-partner-region" href="#">Add Partner Region</a></li>
650
                           <li><a class="create-partner-region" href="#">Add Partner Region</a></li>
647
                           <li><a class="create-position" href="#">Create Position</a></li>
651
                           <li><a class="create-position" href="#">Create Position</a></li>
Line 654... Line 658...
654
                      <a href="javascript:;" class="">
658
                      <a href="javascript:;" class="">
655
                          <i class="icon_documents_alt"></i>
659
                          <i class="icon_documents_alt"></i>
656
                          <span>Support</span>
660
                          <span>Support</span>
657
                          <span class="menu-arrow arrow_carrot-right"></span>
661
                          <span class="menu-arrow arrow_carrot-right"></span>
658
                      </a>
662
                      </a>
659
                      <ul class="sub" style = "margin-bottom:20px">                          
663
					  <ul class="sub" style="margin-bottom:20px">
660
                          <li><a class="contact-us" href="#">Contact Us</a></li>
664
                          <li><a class="contact-us" href="#">Contact Us</a></li>
661
 
665
 
662
                      </ul>
666
                      </ul>
663
                  </li>
667
                  </li>
664
                  
-
 
-
 
668
 
665
              </ul>
669
			  </ul>
666
              <!-- sidebar menu end-->
670
              <!-- sidebar menu end-->
667
          </div>
671
          </div>
668
      </aside>
672
      </aside>
669
      <!--sidebar end-->
673
      <!--sidebar end-->
670
 
674
 
Line 675... Line 679...
675
			<div class="row">
679
			<div class="row">
676
				<div class="col-lg-12">
680
				<div class="col-lg-12">
677
					<h3 class="page-header"><i class="fa fa-laptop"></i> Dashboard</h3>
681
					<h3 class="page-header"><i class="fa fa-laptop"></i> Dashboard</h3>
678
					<ol class="breadcrumb">
682
					<ol class="breadcrumb">
679
						<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
683
						<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
680
						<li><i class="fa fa-laptop"></i>Dashboard</li>						  	
684
						<li><i class="fa fa-laptop"></i>Dashboard</li>
681
					</ol>
685
					</ol>
682
				</div>
686
				</div>
683
			</div>
687
			</div>
684
			<!-- overview end -->
688
			<!-- overview end -->
685
			<div class="row">
689
			<div class="row">
Line 690... Line 694...
690
								<i class="fa fa-chart-line"></i>
694
								<i class="fa fa-chart-line"></i>
691
								<h3 style="margin-top:-2px;margin-bottom:12px"><strong>Sale</strong></h3>
695
								<h3 style="margin-top:-2px;margin-bottom:12px"><strong>Sale</strong></h3>
692
								<div class="row">
696
								<div class="row">
693
									<div class="col-lg-4 row">
697
									<div class="col-lg-4 row">
694
										<div style="margin-top:0px" class="count currency">$salesMap.get("lmtdSale")</div>
698
										<div style="margin-top:0px" class="count currency">$salesMap.get("lmtdSale")</div>
695
										<div class="title">LMTD</div>						
699
										<div class="title">LMTD</div>
696
									</div>						
700
									</div>
697
									<div class="col-lg-4 row">
701
									<div class="col-lg-4 row">
698
										<div style="margin-top:0px" class="count currency">$salesMap.get("mtdSale")</div>
702
										<div style="margin-top:0px" class="count currency">$salesMap.get("mtdSale")</div>
699
										<div class="title">MTD</div>						
703
										<div class="title">MTD</div>
700
									</div>						
704
									</div>
701
									<div class="col-lg-3 row">
705
									<div class="col-lg-3 row">
702
										<div style="margin-top:0px" class="count currency">$salesMap.get("todaySale")</div>
706
										<div style="margin-top:0px" class="count currency">$salesMap.get("todaySale")</div>
703
										<div class="title">Today&apos;s</div>
707
										<div class="title">Today&apos;s</div>
704
									</div>
708
									</div>
705
								</div>
709
								</div>
706
							</div>
710
							</div>
707
						</div>
711
						</div>
708
						<div class="col-lg-5 row">
712
						<div class="col-lg-5 row">
709
							<div class="info-box brown-bg">
713
							<div class="info-box brown-bg">
710
								
714
 
711
								<div class="col-lg-12">
715
								<div class="col-lg-12">
712
									<div class="col-lg-6">
716
									<div class="col-lg-6">
713
									<h4 style="margin-top:-2px;margin-bottom:3px"><strong>Current Rate</strong></h4>
717
									<h4 style="margin-top:-2px;margin-bottom:3px"><strong>Current Rate</strong></h4>
714
										<div style="margin-top:0px" class="count">
718
										<div style="margin-top:0px" class="count">
715
											<span class="currency">$salesMap.get("currentRate")</span>/day
719
											<span class="currency">$salesMap.get("currentRate")</span>/day
Line 720... Line 724...
720
									<h4 style="margin-top:-2px;margin-bottom:3px"><strong>Reqd Rate</strong></h4>
724
									<h4 style="margin-top:-2px;margin-bottom:3px"><strong>Reqd Rate</strong></h4>
721
										<div style="margin-top:0px" class="count currency">
725
										<div style="margin-top:0px" class="count currency">
722
											<span class="currency">$salesMap.get("requiredRate")</span>/day
726
											<span class="currency">$salesMap.get("requiredRate")</span>/day
723
										</div>
727
										</div>
724
										<img src="${salesMap.get('requiredTypeImage')}" width="60px" class="target-slide">
728
										<img src="${salesMap.get('requiredTypeImage')}" width="60px" class="target-slide">
725
									</div>						
729
									</div>
726
								</div>
730
								</div>
727
							</div>
731
							</div>
728
						</div>
732
						</div>
729
						<div class="col-lg-8">
733
						<div class="col-lg-8">
730
						<div class="info-box purple-bg">
734
						<div class="info-box purple-bg">
Line 732... Line 736...
732
								<i class="fa fa-coins"></i>
736
								<i class="fa fa-coins"></i>
733
								<h3 style="margin-top:-2px;margin-bottom:12px"><strong>Investments</strong></h3>
737
								<h3 style="margin-top:-2px;margin-bottom:12px"><strong>Investments</strong></h3>
734
								<div class="row">
738
								<div class="row">
735
									<div class="col-lg-4 row">
739
									<div class="col-lg-4 row">
736
										<div  style="margin-top:0px" class="count currency">$investments.get("today")</div>
740
										<div  style="margin-top:0px" class="count currency">$investments.get("today")</div>
737
										<div class="title">current</div>						
741
										<div class="title">current</div>
738
									</div>
742
									</div>
739
									<div class="col-lg-3">
743
									<div class="col-lg-3">
740
										<div  style="margin-top:0px" class="count">$investments.get("minimum")</div>
744
										<div  style="margin-top:0px" class="count">$investments.get("minimum")</div>
741
										<div class="title">min</div>						
745
										<div class="title">min</div>
742
									</div>
746
									</div>
743
									<div class="col-lg-3 row" 
747
									<div class="col-lg-3 row"
744
									#if(!$isInvestmentOk)
748
									#if(!$isInvestmentOk)
745
									style="color:mediumvioletred"
749
									style="color:mediumvioletred"
746
									#end
750
									#end
747
									>
751
									>
748
										#if($investments.get("short")<=0)
752
										#if($investments.get("short")<=0)
749
										<div style="margin-top:0px" class="count">&gt;100%</div>
753
										<div style="margin-top:0px" class="count">&gt;100%</div>
750
										<div class="title">OK</div>
754
										<div class="title">OK</div>
751
										#else						
755
										#else
752
										<div style="margin-top:0px" class="count currency">$investments.get("short")%</div>
756
										<div style="margin-top:0px" class="count currency">$investments.get("short")%</div>
753
										<div class="title">short</div>
757
										<div class="title">short</div>
754
										#end
758
										#end
755
									</div>
759
									</div>
756
								</div>
760
								</div>
Line 759... Line 763...
759
					</div>
763
					</div>
760
					<div class="col-lg-4 row">
764
					<div class="col-lg-4 row">
761
						<div class="info-box green-bg">
765
						<div class="info-box green-bg">
762
							<i class="fa fa-cubes"></i>
766
							<i class="fa fa-cubes"></i>
763
							<div class="count currency">$investments.get("inStock")</div>
767
							<div class="count currency">$investments.get("inStock")</div>
764
							<div class="title">Total Stock</div>						
768
							<div class="title">Total Stock</div>
765
						</div>
769
						</div>
766
					</div>
770
					</div>
767
				</div>
771
				</div>
768
				<div class="row">
772
				<div class="row">
769
					#foreach($brandStockPrice in $brandStockPrices)
773
					#foreach($brandStockPrice in $brandStockPrices)
Line 792... Line 796...
792
							</span>
796
							</span>
793
						</div>
797
						</div>
794
					</div>
798
					</div>
795
					#end
799
					#end
796
				</div>
800
				</div>
797
			
801
 
798
			<div class="row">
802
					<div class="row">
799
			
803
 
800
					<div class="col-lg-3">
804
					<div class="col-lg-3">
801
						<div class="card card-default">
805
						<div class="card card-default">
802
							<span class="card-body" style="padding-bottom:0px">
806
							<span class="card-body" style="padding-bottom:0px">
803
								<table>
807
								<table>
804
									<thead>
808
									<thead>
Line 812... Line 816...
812
							<span class="card-img">
816
							<span class="card-img">
813
								<img src="resources/images/accessories.jpg" style = "padding:8px">
817
								<img src="resources/images/accessories.jpg" style = "padding:8px">
814
							</span>
818
							</span>
815
						</div>
819
						</div>
816
					</div>
820
					</div>
817
					
821
 
818
				</div>
822
					</div>
819
			
823
 
820
				<div class="row">
824
					<div class="row">
821
					
825
 
822
					<div class="col-lg-8">
826
					<div class="col-lg-8">
823
					<canvas id="bar-chart" width="518" height="420"></canvas>
827
					<canvas id="bar-chart" width="518" height="420"></canvas>
824
					</div>
828
					</div>
825
				
829
 
826
				</div>
830
					</div>
827
			</div>
831
			</div>
828
			
832
 
829
			<div class="col-lg-6">
833
				<div class="col-lg-6">
830
				#if($activatedImeis > 0)
834
				#if($activatedImeis > 0)
831
					<div class="row col-lg-12 info-box white-bg">
835
					<div class="row col-lg-12 info-box white-bg">
832
						#parse("dashboard-activated-imeis.vm")
836
						#parse("dashboard-activated-imeis.vm")
833
					</div>
837
					</div>
834
				#end
838
				#end
Line 839... Line 843...
839
						<h3 style="margin-top:-2px;font-size:17px; margin-bottom:3px;color:#c70db8;font-weight:bold">
843
						<h3 style="margin-top:-2px;font-size:17px; margin-bottom:3px;color:#c70db8;font-weight:bold">
840
							$offer.getName() - $offer.getStartDateTime() to $offer.getEndDateTime()
844
							$offer.getName() - $offer.getStartDateTime() to $offer.getEndDateTime()
841
						</h3>
845
						</h3>
842
						    #if($offer.getShortAmount() == 0 && $offer.getAmountType() == "amount" )
846
						    #if($offer.getShortAmount() == 0 && $offer.getAmountType() == "amount" )
843
						     <h4 style= "color:green;margin-top:0px;margin-bottom:0px;"> Congratulations you have earn Rs. <span class="currency">$offer.getMargin()</span>. Happy Selling!</h4>
847
						     <h4 style= "color:green;margin-top:0px;margin-bottom:0px;"> Congratulations you have earn Rs. <span class="currency">$offer.getMargin()</span>. Happy Selling!</h4>
844
						      
848
 
845
						     #elseif($offer.getShortAmount() == 0 && $offer.getAmountType() == "percentage" )
849
							#elseif($offer.getShortAmount() == 0 && $offer.getAmountType() == "percentage" )
846
						     <h4 style= "color:green;margin-top:0px;margin-bottom:0px;"> Congratulations you have secured $offer.getMargin()%. Happy Selling!</h4>
850
						     <h4 style= "color:green;margin-top:0px;margin-bottom:0px;"> Congratulations you have secured $offer.getMargin()%. Happy Selling!</h4>
847
						    
851
 
848
						     #elseif($offer.getAmountType() == "amount" && $offer.getTargetType()=="value" && $offer.getShortAmount() == $offer.getValue())
852
							#elseif($offer.getAmountType() == "amount" && $offer.getTargetType()=="value" && $offer.getShortAmount() == $offer.getValue())
849
						     <h4 style= "color:green;margin-top:0px;margin-bottom:0px;">
853
						     <h4 style= "color:green;margin-top:0px;margin-bottom:0px;">
850
						      Sell stock worth Rs.<span class="currency">$offer.getShortAmount()</span> to earn additional Rs. <span class="currency">$offer.getMargin()</span>
854
						      Sell stock worth Rs.<span class="currency">$offer.getShortAmount()</span> to earn additional Rs. <span class="currency">$offer.getMargin()</span>
851
						    </h4>
855
						    </h4>
852
						    
856
 
853
						     #elseif($offer.getAmountType() == "amount" && $offer.getTargetType()=="quantity" && $offer.getShortAmount() == $offer.getValue())
857
							#elseif($offer.getAmountType() == "amount" && $offer.getTargetType()=="quantity" && $offer.getShortAmount() == $offer.getValue())
854
						     <h4 style= "color:green;margin-top:0px;margin-bottom:0px;">
858
						     <h4 style= "color:green;margin-top:0px;margin-bottom:0px;">
855
						      Sell  <span class="currency">$offer.getShortAmount()</span> units  to earn additional Rs. <span class="currency">$offer.getMargin()</span>
859
						      Sell  <span class="currency">$offer.getShortAmount()</span> units  to earn additional Rs. <span class="currency">$offer.getMargin()</span>
856
						    </h4>
860
						    </h4>
857
						    
861
 
858
						     #elseif($offer.getAmountType() == "percentage" && $offer.getTargetType()=="quantity" && $offer.getShortAmount()== $offer.getValue())
862
							#elseif($offer.getAmountType() == "percentage" && $offer.getTargetType()=="quantity" && $offer.getShortAmount()== $offer.getValue())
859
						       <h4 style= "color:green;margin-top:0px;margin-bottom:0px;">
863
						       <h4 style= "color:green;margin-top:0px;margin-bottom:0px;">
860
							     Sell  <span class="currency">$offer.getShortAmount()</span> units to earn additional $offer.getMargin()%
864
							     Sell  <span class="currency">$offer.getShortAmount()</span> units to earn additional $offer.getMargin()%
861
					
865
 
862
							  </h4 style= "color:green;margin-top:0px;margin-bottom:0px;">
866
							   </h4 style= "color:green;margin-top:0px;margin-bottom:0px;">
863
						     #elseif($offer.getAmountType() == "percentage" && $offer.getTargetType()=="value" && $offer.getShortAmount() == $offer.getValue())
867
						     #elseif($offer.getAmountType() == "percentage" && $offer.getTargetType()=="value" && $offer.getShortAmount() == $offer.getValue())
864
					         <h4 style= "color:green;margin-top:0px;margin-bottom:0px;">
868
					         <h4 style= "color:green;margin-top:0px;margin-bottom:0px;">
865
							   Sell stock worth Rs <span class="currency">$offer.getShortAmount()</span>  to earn additional $offer.getMargin()%
869
							   Sell stock worth Rs <span class="currency">$offer.getShortAmount()</span>  to earn additional $offer.getMargin()%
866
					         </h4>
870
					         </h4>
867
						     
871
 
868
							#elseif($offer.getAmountType() == "amount" && $offer.getTargetType()=="value" && $offer.getShortAmount() != 0)
872
							#elseif($offer.getAmountType() == "amount" && $offer.getTargetType()=="value" && $offer.getShortAmount() != 0)
869
							<h4 style= "color:green;margin-top:0px;margin-bottom:0px;">
873
							<h4 style= "color:green;margin-top:0px;margin-bottom:0px;">
870
						    Sell stock worth Rs.<span class="currency">$offer.getShortAmount()</span> more to earn additional Rs. <span class="currency">$offer.getMargin()</span>
874
						    Sell stock worth Rs.<span class="currency">$offer.getShortAmount()</span> more to earn additional Rs. <span class="currency">$offer.getMargin()</span>
871
						    </h4>
875
						    </h4>
872
						    #elseif($offer.getAmountType() == "amount" && $offer.getTargetType()=="quantity" && $offer.getShortAmount() != 0)
876
						    #elseif($offer.getAmountType() == "amount" && $offer.getTargetType()=="quantity" && $offer.getShortAmount() != 0)
Line 874... Line 878...
874
						    Sell <span class="currency">$offer.getShortAmount()</span> unit more to earn additional Rs. <span class="currency">$offer.getMargin()</span>
878
						    Sell <span class="currency">$offer.getShortAmount()</span> unit more to earn additional Rs. <span class="currency">$offer.getMargin()</span>
875
						    </h4>
879
						    </h4>
876
						    #elseif($offer.getAmountType() == "percentage" && $offer.getTargetType()=="quantity" && $offer.getShortAmount() != 0)
880
						    #elseif($offer.getAmountType() == "percentage" && $offer.getTargetType()=="quantity" && $offer.getShortAmount() != 0)
877
							<h4 style= "color:green;margin-top:0px;margin-bottom:0px;">
881
							<h4 style= "color:green;margin-top:0px;margin-bottom:0px;">
878
							Sell  <span class="currency">$offer.getShortAmount()</span> unit more to earn additional $offer.getMargin()%
882
							Sell  <span class="currency">$offer.getShortAmount()</span> unit more to earn additional $offer.getMargin()%
879
					
883
 
880
							</h4>
884
							</h4>
881
							 #elseif($offer.getAmountType() == "percentage" && $offer.getTargetType()=="value" && $offer.getShortAmount() != 0)
885
							 #elseif($offer.getAmountType() == "percentage" && $offer.getTargetType()=="value" && $offer.getShortAmount() != 0)
882
							<h4 style= "color:green;margin-top:0px;margin-bottom:0px;">
886
							<h4 style= "color:green;margin-top:0px;margin-bottom:0px;">
883
							Sell stock worth Rs<span class="currency">$offer.getShortAmount()</span> more to earn additional $offer.getMargin()%
887
							Sell stock worth Rs<span class="currency">$offer.getShortAmount()</span> more to earn additional $offer.getMargin()%
884
					
888
 
885
							</h4>
889
							</h4>
886
							
890
 
887
						   #end
891
							#end
888
						   
-
 
889
                              <p style="float:right;font-size:15px; margin:0px 0px 0px; " id="description-offer" data-offerid = "$offer.getId()" data-toggle="modal" data-target="#offerDescription"  data-backdrop="static" data-keyboard="false"><a href="#">All terms & conditions</a></p>
892
 
890
						    
893
						<p style="float:right;font-size:15px; margin:0px 0px 0px; " id="description-offer" data-offerid = "$offer.getId()" data-toggle="modal" data-target="#offerDescription"  data-backdrop="static" data-keyboard="false"><a href="#">All terms & conditions</a></p>
-
 
894
 
891
					</div>
895
					</div>
892
					#end
896
					#end
893
				#end
897
				#end
894
				#end
898
				#end
895
			<div class="offer-margin-container">
899
			<div class="offer-margin-container">
Line 921... Line 925...
921
									aria-label="Announcements" title="Announcements">
925
									aria-label="Announcements" title="Announcements">
922
								<span class="glyphicon glyphicon-bullhorn" aria-hidden="true"></span></button>
926
								<span class="glyphicon glyphicon-bullhorn" aria-hidden="true"></span></button>
923
							<button data-messagetype="scheme" type="button" class="btn btn-default" aria-label="SmartDukaan Schemes" title="SmartDukaan Schemes">
927
							<button data-messagetype="scheme" type="button" class="btn btn-default" aria-label="SmartDukaan Schemes" title="SmartDukaan Schemes">
924
								<span class="glyphicon glyphicon-tags" aria-hidden="true"></span>
928
								<span class="glyphicon glyphicon-tags" aria-hidden="true"></span>
925
							</button>
929
							</button>
926
							
930
 
927
							<button data-messagetype="marketing" type="button" class="btn btn-default" aria-label="SmartDukaan Schemes" title="SmartDukaan Schemes">
931
							<button data-messagetype="marketing" type="button" class="btn btn-default" aria-label="SmartDukaan Schemes" title="SmartDukaan Schemes">
928
								 <span class="glyphicon glyphicon-picture" aria-hidden="true"></span>
932
								 <span class="glyphicon glyphicon-picture" aria-hidden="true"></span>
929
							</button>
933
							</button>
930
						</div>
934
						</div>
931
					</div>
935
					</div>
Line 948... Line 952...
948
		webApiRoot="$webApiRoot";
952
		webApiRoot="$webApiRoot";
949
		webApiHost="$webApiHost";
953
		webApiHost="$webApiHost";
950
		webApiPort="$webApiPort";
954
		webApiPort="$webApiPort";
951
	</script>
955
	</script>
952
	#parse("include-scripts.vm")
956
	#parse("include-scripts.vm")
953
	
957
 
954
	<script type="text/javascript">
958
	  <script type="text/javascript">
955
	
959
 
956
	$(document).on("click", "p.description-offer",
960
		  $(document).on("click", "p.description-offer",
957
			function(e) {
961
			function(e) {
958
			var offerid = $(this).data('offerid');
962
			var offerid = $(this).data('offerid');
959
			console.log(offerid);
963
			console.log(offerid);
960
			doGetAjaxRequestHandler(context + "/getOfferMargins?offerId="
964
			doGetAjaxRequestHandler(context + "/getOfferMargins?offerId="
961
					+ offerid, function(response) {
965
					+ offerid, function(response) {
962
				$('.offer-margin-container .modal-content').html(response);
966
				$('.offer-margin-container .modal-content').html(response);
963
			});
967
			});
964
		
-
 
965
 
968
 
966
	});
969
 
967
			
970
			});
968
			
971
 
969
			
972
 
970
			$(document).on("click", ".cancel-description",
973
		  $(document).on("click", ".cancel-description",
971
			function(e) {
974
			function(e) {
972
	    		$("#descriptionMenu").empty();
975
	    		$("#descriptionMenu").empty();
973
			});
976
			});
974
			
977
 
975
			
978
 
976
				$(document).on("click", "#cancel-model",
979
		  $(document).on("click", "#cancel-model",
977
			function(e) {
980
			function(e) {
978
	    		$("#descriptionMenu").empty();
981
	    		$("#descriptionMenu").empty();
979
			});
982
			});
980
			
983
 
981
			
984
 
982
</script>  
985
	  </script>
983
  <script>
986
  <script>
984
 
987
 
985
      //knob
988
      //knob
986
      $(function() {
989
      $(function() {
987
        /*$(".knob").knob({
990
        /*$(".knob").knob({
988
          'draw' : function () { 
991
          'draw' : function () {
989
            $(this.i).val(this.cv + '%')
992
            $(this.i).val(this.cv + '%')
990
          }
993
          }
991
        });*/
994
        });*/
992
        $.fn.dataTable.moment( 'DD/MM/YYYY' );
995
        $.fn.dataTable.moment( 'DD/MM/YYYY' );
993
        $.fn.dataTable.moment( 'DD/MM/YYYY hh:mm' );
996
        $.fn.dataTable.moment( 'DD/MM/YYYY hh:mm' );
Line 995... Line 998...
995
			if (!isNaN(parseInt($(ele).html()))) {
998
			if (!isNaN(parseInt($(ele).html()))) {
996
				$(ele).html(numberToComma($(ele).html()));
999
				$(ele).html(numberToComma($(ele).html()));
997
			}
1000
			}
998
		});
1001
		});
999
      });
1002
      });
1000
      
1003
 
1001
      $(function() {
1004
	  $(function() {
1002
    	 	var profile = localStorage.getItem('profile');
1005
    	 	var profile = localStorage.getItem('profile');
1003
    	 	if (profile){
1006
    	 	if (profile){
1004
    			$("#photo").attr("src",JSON.parse(profile).image_url);
1007
    			$("#photo").attr("src",JSON.parse(profile).image_url);
1005
    			$("#fofo_name").text(JSON.parse(profile).name);
1008
    			$("#fofo_name").text(JSON.parse(profile).name);
1006
    	 	}
1009
    	 	}
1007
    	 	else{
1010
    	 	else{
1008
    	 		$("#photo").attr("src","");
1011
    	 		$("#photo").attr("src","");
1009
    			$("#fofo_name").text("Welcome, User");
1012
    			$("#fofo_name").text("Welcome, User");
1010
    	 	}
1013
    	 	}
1011
    	});
1014
    	});
1012
    	
1015
 
1013
    	$(function() {
1016
	  $(function() {
1014
    	 	var bag = localStorage.getItem('bag');
1017
    	 	var bag = localStorage.getItem('bag');
1015
    	 	console.log(bag);
1018
    	 	console.log(bag);
1016
    	 	if (bag){
1019
    	 	if (bag){
1017
    	 	console.log("yes");
1020
    	 	console.log("yes");
1018
    	 		//$("#cart_bar").find('span').text(10);
1021
    	 		//$("#cart_bar").find('span').text(10);
Line 1020... Line 1023...
1020
    	 	}
1023
    	 	}
1021
    	 	else{
1024
    	 	else{
1022
    	 		$("#cart_bar").find('span').text(0);
1025
    	 		$("#cart_bar").find('span').text(0);
1023
    	 	}
1026
    	 	}
1024
    	});
1027
    	});
1025
    	
1028
 
1026
    	$("#logout").click(function(){
1029
	  $("#logout").click(function(){
1027
    		localStorage.profile = undefined;
1030
    		localStorage.profile = undefined;
1028
    	});
1031
    	});
1029
	#set($partnerInvestment = $investments.get("investment"))	
1032
		  #set($partnerInvestment = $investments.get("investment"))
1030
	saleAmount = numberToComma($partnerInvestment.getSalesAmount());
1033
	saleAmount = numberToComma($partnerInvestment.getSalesAmount());
1031
	minimumInvestmentAmount = numberToComma($partnerInvestment.getMinInvestment());
1034
	minimumInvestmentAmount = numberToComma($partnerInvestment.getMinInvestment());
1032
	totalInvestedAmount = numberToComma($partnerInvestment.getTotalInvestment());
1035
	totalInvestedAmount = numberToComma($partnerInvestment.getTotalInvestment());
1033
	shortPercentage = numberToComma($partnerInvestment.getShortPercentage());
1036
	shortPercentage = numberToComma($partnerInvestment.getShortPercentage());
1034
	grnPendingStockAmount = numberToComma($partnerInvestment.getGrnPendingAmount());
1037
	grnPendingStockAmount = numberToComma($partnerInvestment.getGrnPendingAmount());
Line 1041... Line 1044...
1041
	starTotal = 5;
1044
	starTotal = 5;
1042
	ratings = {
1045
	ratings = {
1043
		current : $currentMonthRating,
1046
		current : $currentMonthRating,
1044
		last: $lastMonthRating,
1047
		last: $lastMonthRating,
1045
		tilldate: $ratingTillDate
1048
		tilldate: $ratingTillDate
1046
	}; 
1049
	};
1047
	for(const rating in ratings) {  
1050
	  for (const rating in ratings) {
1048
	  // 2
1051
	  // 2
1049
	  const starPercentage = (ratings[rating] / starTotal) * 100;
1052
	  const starPercentage = (ratings[rating] / starTotal) * 100;
1050
	  // 3
1053
	  // 3
1051
	  const starPercentageRounded = `${starPercentage}%`;
1054
	  const starPercentageRounded = `${starPercentage}%`;
1052
	  // 4
1055
	  // 4
1053
	  document.querySelector(`.${rating} .stars-inner`).style.width = starPercentageRounded; 
1056
		  document.querySelector(`.${rating} .stars-inner`).style.width = starPercentageRounded;
1054
	}
1057
	}
1055
	
1058
 
1056
	hasGift=$hasGift;
1059
	  hasGift=$hasGift;
1057
	giftItemId = $giftItemId;
1060
	giftItemId = $giftItemId;
1058
	monthDays=$monthDays;
1061
	monthDays=$monthDays;
1059
	dayOfMonth = $dayOfMonth;
1062
	dayOfMonth = $dayOfMonth;
1060
	$(function(){
1063
	$(function(){
1061
		$('#links_bar').popover({
1064
		$('#links_bar').popover({
Line 1081... Line 1084...
1081
		    			</div>`,
1084
		    			</div>`,
1082
		    placement: "bottom",
1085
		    placement: "bottom",
1083
		    trigger: "focus"
1086
		    trigger: "focus"
1084
		});
1087
		});
1085
	});
1088
	});
1086
	
1089
 
1087
	function showAttendanceModal() {
1090
	  function showAttendanceModal() {
1088
		var today = new Date().getTime();
1091
		var today = new Date().getTime();
1089
		if ($.cookie("punchIn") == undefined) {
1092
		if ($.cookie("punchIn") == undefined) {
1090
			document.cookie = "punchIn=" + today;
1093
			document.cookie = "punchIn=" + today;
1091
		}
1094
		}
1092
		if (today >= parseInt($.cookie("punchIn"))) {
1095
		if (today >= parseInt($.cookie("punchIn"))) {
Line 1098... Line 1101...
1098
			      	$("#punch-in-out-model").html(response);
1101
			      	$("#punch-in-out-model").html(response);
1099
					$('#punchInOutModal').modal('show');
1102
					$('#punchInOutModal').modal('show');
1100
					var time = today + 30 * 60 * 1000
1103
					var time = today + 30 * 60 * 1000
1101
					document.cookie = "punchIn=" + time;
1104
					document.cookie = "punchIn=" + time;
1102
				}
1105
				}
1103
			});	
1106
			});
1104
		}
1107
		}
1105
	}
1108
	}
1106
	var stopInterval;
1109
	var stopInterval;
1107
	$(document).ready(function(){
1110
	$(document).ready(function(){
1108
		 stopInterval = setInterval(showAttendanceModal, 100000000);
1111
		 stopInterval = setInterval(showAttendanceModal, 100000000);
1109
		 
1112
 
1110
		 $('div.message-filter').on('click', 'button', function() {
1113
		$('div.message-filter').on('click', 'button', function() {
1111
			messageType = $(this).data("messagetype");
1114
			messageType = $(this).data("messagetype");
1112
			if($(this).hasClass('btn-pressed')) {
1115
			if($(this).hasClass('btn-pressed')) {
1113
				messageType="";
1116
				messageType="";
1114
				$('div.message-filter').find('button').removeClass('btn-pressed').addClass('btn-default');
1117
				$('div.message-filter').find('button').removeClass('btn-pressed').addClass('btn-default');
1115
			} else {
1118
			} else {
Line 1117... Line 1120...
1117
				$(this).addClass('btn-pressed').removeClass('btn-default');
1120
				$(this).addClass('btn-pressed').removeClass('btn-default');
1118
			}
1121
			}
1119
			notifyTypeChange(messageType);
1122
			notifyTypeChange(messageType);
1120
		});
1123
		});
1121
		notifyTypeChange("");
1124
		notifyTypeChange("");
1122
		 
1125
 
1123
	});	
1126
	});
1124
	$(function(){
1127
	$(function(){
1125
		if (navigator.geolocation) {
1128
		if (navigator.geolocation) {
1126
	        navigator.geolocation.getCurrentPosition(showPosition);
1129
	        navigator.geolocation.getCurrentPosition(showPosition);
1127
	    } else { 
1130
		} else {
1128
	        console.log("Geolocation is not supported by browser.");
1131
	        console.log("Geolocation is not supported by browser.");
1129
	    }
1132
	    }
1130
		loaderDialogObj = bootbox.dialog({
1133
		loaderDialogObj = bootbox.dialog({
1131
		    message: '<div class="container text-center"><i class="fa fa-spin fa-spinner"></i>Loading...</div>',
1134
		    message: '<div class="container text-center"><i class="fa fa-spin fa-spinner"></i>Loading...</div>',
1132
		    show: false	
1135
			show: false
1133
		});
1136
		});
1134
		
1137
 
1135
		messageType = $(this).data("messagetype");
1138
		messageType = $(this).data("messagetype");
1136
		if($(this).hasClass('btn-pressed')) {
1139
		if($(this).hasClass('btn-pressed')) {
1137
			messageType="";
1140
			messageType="";
1138
			$('div.message-filter').find('button').removeClass('btn-pressed').addClass('btn-default');
1141
			$('div.message-filter').find('button').removeClass('btn-pressed').addClass('btn-default');
1139
		} else {
1142
		} else {
1140
			$('div.message-filter').find('button').removeClass('btn-pressed').addClass('btn-default');
1143
			$('div.message-filter').find('button').removeClass('btn-pressed').addClass('btn-default');
1141
			$(this).addClass('btn-pressed').removeClass('btn-default');
1144
			$(this).addClass('btn-pressed').removeClass('btn-default');
1142
		}
1145
		}
1143
		notifyTypeChange(messageType);
1146
		notifyTypeChange(messageType);
1144
	});
1147
	});
1145
	
-
 
1146
	
1148
 
1147
	
1149
 
1148
new Chart(document.getElementById("bar-chart"), 
1150
	  new Chart(document.getElementById("bar-chart"),
1149
 $chartMap
1151
 $chartMap
1150
);
1152
);
1151
</script>
1153
</script>
1152
    <div id="punchInOutModal" class="modal" role="dialog">
1154
    <div id="punchInOutModal" class="modal" role="dialog">
1153
	  <div class="modal-dialog">
1155
	  <div class="modal-dialog">
1154
	
1156
 
1155
	    <!-- Modal content-->
1157
		  <!-- Modal content-->
1156
	    <div class="modal-content">
1158
	    <div class="modal-content">
1157
	      <div class="modal-header">
1159
	      <div class="modal-header">
1158
	        <button type="button" class="close" data-dismiss="modal">&times;</button>
1160
	        <button type="button" class="close" data-dismiss="modal">&times;</button>
1159
	        <h4 class="modal-title">Punch In Out</h4>
1161
	        <h4 class="modal-title">Punch In Out</h4>
1160
	      </div>
1162
	      </div>
1161
	   <div class="modal-body">
1163
	   <div class="modal-body">
1162
	   <div id="punch-in-out-model">
1164
	   <div id="punch-in-out-model">
1163
		
1165
 
1164
      </div>
1166
	   </div>
1165
      </div>
1167
      </div>
1166
    </div>
1168
    </div>
1167
   </div>
1169
   </div>
1168
 </div>
1170
 </div>
1169
 
1171