Subversion Repositories SmartDukaan

Rev

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

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