Subversion Repositories SmartDukaan

Rev

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

Rev 28111 Rev 28451
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"
6
    <meta name="description" content="Smart Dukaan FOCO Dashboard">
6
	content="width=device-width, initial-scale=1, maximum-scale=1">
7
    <meta name="author" content="smartdukaan">
7
<meta name="description" content="Smart Dukaan FOCO Dashboard">
8
    <!--<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">--> 
8
<meta name="author" content="smartdukaan">
9
	<link rel="shortcut icon" href="assets/images/icons/favicon.png">
9
<!--<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">-->
10
 
10
<link rel="shortcut icon" href="assets/images/icons/favicon.png">
11
    <title>Smart Dukaan - FOCO Dashboard</title>
11
 
12
 
12
<title>Smart Dukaan - FOCO Dashboard</title>
13
    <!-- Bootstrap CSS -->    
13
 
14
    <!-- bootstrap theme -->
14
<!-- Bootstrap CSS -->
15
    <!--external css-->
15
<!-- bootstrap theme -->
16
    <!-- font icon -->
16
<!--external css-->
17
    <link href="resources/css/elegant-icons-style.css" rel="stylesheet" />
17
<!-- font icon -->
18
    <link href="resources/css/font-awesome.min.css" rel="stylesheet" />    
18
<link href="resources/css/elegant-icons-style.css" rel="stylesheet" />
19
    <!-- full calendar css-->
19
<link href="resources/css/font-awesome.min.css" rel="stylesheet" />
20
    <!-- owl carousel -->
20
<!-- full calendar css-->
21
    <link rel="stylesheet" href="resources/css/owl.carousel.css" type="text/css">
21
<!-- owl carousel -->
22
	<link href="resources/css/jquery-jvectormap-1.2.2.css" rel="stylesheet">
22
<link rel="stylesheet" href="resources/css/owl.carousel.css"
23
    <!-- Custom styles -->
23
	type="text/css">
24
	<link href="resources/css/widgets.css" rel="stylesheet">
24
<link href="resources/css/jquery-jvectormap-1.2.2.css" rel="stylesheet">
25
	<link href="resources/css/multi.min.css?v=${cssVersion}" type="text/css" rel="stylesheet">
25
<!-- Custom styles -->
26
    <link href="resources/css/style.css?v=${cssVersion}" rel="stylesheet">
26
<link href="resources/css/widgets.css" rel="stylesheet">
27
    <link href="resources/css/card.css?v=${cssVersion}" rel="stylesheet">
27
<link href="resources/css/multi.min.css?v=${cssVersion}" type="text/css"
28
    <link href="resources/css/style-responsive.css" rel="stylesheet" />
28
	rel="stylesheet">
29
	<link href="resources/css/jquery-ui-1.10.4.min.css" rel="stylesheet">
29
<link href="resources/css/style.css?v=${cssVersion}" rel="stylesheet">
30
    <link type="text/css" href="resources/css/bootstrap.css" rel="stylesheet">
30
<link href="resources/css/card.css?v=${cssVersion}" rel="stylesheet">
31
	<!--<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/bootstrap/3/css/bootstrap.css" />-->
31
<link href="resources/css/style-responsive.css" rel="stylesheet" />
32
    <link href="resources/css/bootstrap-theme.min.css" rel="stylesheet">
32
<link href="resources/css/jquery-ui-1.10.4.min.css" rel="stylesheet">
33
	<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.css" />
33
<link type="text/css" href="resources/css/bootstrap.css"
34
	<link rel="stylesheet" type="text/css" href="resources/js/chosen.min.css" />
34
	rel="stylesheet">
35
	<link href="resources/css/bootstrap-duallistbox.css" rel="stylesheet" />
35
<!--<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/bootstrap/3/css/bootstrap.css" />-->
36
	<link rel="stylesheet" type="text/css" href="resources/css/bootstrap-multiselect.css" />
36
<link href="resources/css/bootstrap-theme.min.css" rel="stylesheet">
37
	<link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.10.16/css/dataTables.bootstrap.min.css"/>
37
<link rel="stylesheet" type="text/css"
38
	<link rel='stylesheet' href='https://use.fontawesome.com/releases/v5.7.0/css/all.css' integrity='sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ' crossorigin='anonymous'>
38
	href="//cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.css" />
39
	
39
<link rel="stylesheet" type="text/css"
40
	<style type="text/css">
40
	href="resources/js/chosen.min.css" />
41
		.loading {
41
<link href="resources/css/bootstrap-duallistbox.css" rel="stylesheet" />
42
  			display: none;
42
<link rel="stylesheet" type="text/css"
43
		}
43
	href="resources/css/bootstrap-multiselect.css" />
44
		.breadcrumb {
44
<link rel="stylesheet" type="text/css"
45
    		padding: 0 15px;
45
	href="//cdn.datatables.net/1.10.16/css/dataTables.bootstrap.min.css" />
46
    	}
46
<link rel='stylesheet'
47
    	
47
	href='https://use.fontawesome.com/releases/v5.7.0/css/all.css'
48
    	.stars-outer {
48
	integrity='sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ'
49
		  display: inline-block;
49
	crossorigin='anonymous'>
50
		  position: relative;
50
 
51
		  font-family: FontAwesome;
51
<style type="text/css">
52
		}
52
.loading {
53
		 
53
	display: none;
54
		.stars-outer::before {
54
}
55
		  content: "\f006 \f006 \f006 \f006 \f006";
55
 
56
		}
56
.breadcrumb {
57
		 
57
	padding: 0 15px;
58
		.stars-inner {
58
}
59
		  position: absolute;
59
 
60
		  top: 0;
60
.stars-outer {
61
		  left: 0;
61
	display: inline-block;
62
		  white-space: nowrap;
62
	position: relative;
63
		  overflow: hidden;
63
	font-family: FontAwesome;
64
		  width: 0;
64
}
65
		}
65
 
66
		 
66
.stars-outer::before {
67
		.stars-inner::before {
67
	content: "\f006 \f006 \f006 \f006 \f006";
68
		  content: "\f005 \f005 \f005 \f005 \f005";
68
}
69
		  color: #f8ce0b;
69
 
70
		}
70
.stars-inner {
71
    	
71
	position: absolute;
72
    	
72
	top: 0;
73
	.table-striped > tbody > tr:nth-child(odd) > td{
73
	left: 0;
74
  		background: white;
74
	white-space: nowrap;
75
  		background-color: #dae5f4;
75
	overflow: hidden;
76
	}
76
	width: 0;
77
	.table-striped > tbody > tr:nth-child(even) > td{
77
}
78
  		background:  #f2f2f2;
78
 
79
  		background-color: #b8d1f3;
79
.stars-inner::before {
80
	}
80
	content: "\f005 \f005 \f005 \f005 \f005";
81
	
81
	color: #f8ce0b;
82
	.btn:hover{
82
}
83
  		color: grey;
83
 
84
  		text-decoration: none;
84
.table-striped>tbody>tr:nth-child(odd)>td {
85
	}
85
	background: white;
86
	.btn-primary:hover{
86
	background-color: #dae5f4;
87
  		color: grey;
87
}
88
  		text-decoration: none;
88
 
89
	}
89
.table-striped>tbody>tr:nth-child(even)>td {
90
	.sale-details{
90
	background: #f2f2f2;
91
		cursor:pointer;
91
	background-color: #b8d1f3;
92
	}
92
}
93
	
93
 
94
	.popover {
94
.btn:hover {
95
		min-width:18%;
95
	color: grey;
96
	}
96
	text-decoration: none;
97
	.fa-2x {
97
}
98
		font-size:1.4em;
98
 
99
	}
99
.btn-primary:hover {
100
	.cover {
100
	color: grey;
101
	  object-fit: cover;
101
	text-decoration: none;
102
	  width: 100%;
102
}
103
	  height: 90px;
103
 
104
	  padding: 8px;
104
.sale-details {
105
	}
105
	cursor: pointer;
106
	.info-box .notifications i {
106
}
107
    display: inline-block;
107
 
108
    margin-top:0px;
108
.popover {
109
    height: 25px;
109
	min-width: 18%;
110
    font-size: 16px;
110
}
111
    line-height: 25px;
111
 
112
    width: 25px;
112
.fa-2x {
113
    float: none;
113
	font-size: 1.4em;
114
    text-align: center;
114
}
115
    padding-right: 0px;
115
 
116
    color:#768399;
116
.cover {
117
  }
117
	object-fit: cover;
118
    
118
	width: 100%;
119
	#preview {
119
	height: 90px;
120
	  position: relative;
120
	padding: 8px;
121
	  color: #fff;
121
}
122
	  float: left;
122
 
123
	  width: 100%;
123
.info-box .notifications i {
124
	  -webkit-border-radius: 10px;
124
	display: inline-block;
125
	  -moz-border-radius: 10px;
125
	margin-top: 0px;
126
	  border-radius: 10px;
126
	height: 25px;
127
	  clear: both;
127
	font-size: 16px;
128
	}
128
	line-height: 25px;
129
	#canvas-preview{
129
	width: 25px;
130
	  width: 100%;
130
	float: none;
131
	  position: relative;
131
	text-align: center;
132
	  top:-15px;
132
	padding-right: 0px;
133
	}
133
	color: #768399;
134
	#preview-textfield{
134
}
135
	  position: absolute; top: -10px; left: 0; right: 0;
135
 
136
	  text-align: center; font-size: 2em; font-weight: bold;
136
#preview {
137
	  color: white; font-family: 'Amaranth', sans-serif;
137
	position: relative;
138
	}
138
	color: #fff;
139
	
139
	float: left;
140
	
140
	width: 100%;
141
	</style>
141
	-webkit-border-radius: 10px;
142
	<script type="text/javascript">
142
	-moz-border-radius: 10px;
-
 
143
	border-radius: 10px;
-
 
144
	clear: both;
-
 
145
}
-
 
146
 
-
 
147
#canvas-preview {
-
 
148
	width: 100%;
-
 
149
	position: relative;
-
 
150
	top: -15px;
-
 
151
}
-
 
152
 
-
 
153
#preview-textfield {
-
 
154
	position: absolute;
-
 
155
	top: -10px;
-
 
156
	left: 0;
-
 
157
	right: 0;
-
 
158
	text-align: center;
-
 
159
	font-size: 2em;
-
 
160
	font-weight: bold;
-
 
161
	color: white;
-
 
162
	font-family: 'Amaranth', sans-serif;
-
 
163
}
-
 
164
</style>
-
 
165
 
-
 
166
<script type="text/javascript">
143
	function getWarehousePartners(warehouseId){
167
	function getWarehousePartners(warehouseId){
144
	
168
	
145
		doGetAjaxRequestHandler(context + "/getWarehousePartners?warehouseId="+warehouseId,
169
		doGetAjaxRequestHandler(context + "/getWarehousePartners?warehouseId="+warehouseId,
146
			function(response) {
170
			function(response) {
147
				$('#' + "main-content").html(response);
171
				$('#' + "main-content").html(response);
Line 176... Line 200...
176
			});
200
			});
177
	}
201
	}
178
	
202
	
179
	
203
	
180
</script>
204
</script>
181
	
205
 
182
	
206
 
183
<script type="text/javascript">
207
<script type="text/javascript">
184
	function getWarehouseWiseData(){
208
	function getWarehouseWiseData(){
185
		doGetAjaxRequestHandler(context + "/getWarehouseWiseData",
209
		doGetAjaxRequestHandler(context + "/getWarehouseWiseData",
186
			function(response) {
210
			function(response) {
187
				$('#' + "main-content").html(response);
211
				$('#' + "main-content").html(response);
Line 203... Line 227...
203
   }
227
   }
204
	
228
	
205
 
229
 
206
</script>
230
</script>
207
 
231
 
208
	
-
 
209
 
232
 
210
  </head>
-
 
211
 
233
 
-
 
234
</head>
-
 
235
 
212
  <body style="background-color:#f7f7f7">
236
<body style="background-color: #f7f7f7">
213
  <!--<div class="loading"><img src="resources/images/icons/loading.gif"></div>-->
237
	<!--<div class="loading"><img src="resources/images/icons/loading.gif"></div>-->
214
  <!-- container section start -->
238
	<!-- container section start -->
215
  <section id="container">
239
	<section id="container">
216
     
240
 
217
      
241
 
218
      <header class="header dark-bg">
242
		<header class="header dark-bg">
219
            <div class="toggle-nav">
243
			<div class="toggle-nav">
-
 
244
				<div class="icon-reorder tooltips"
220
                <div class="icon-reorder tooltips" data-original-title="Toggle Navigation" data-placement="bottom"><i class="icon_menu"></i></div>
245
					data-original-title="Toggle Navigation" data-placement="bottom">
-
 
246
					<i class="icon_menu"></i>
221
            </div>
247
				</div>
-
 
248
			</div>
222
            <div class="top-nav notification-row">
249
			<div class="top-nav notification-row">
223
                <!-- notificatoin dropdown start-->
250
				<!-- notificatoin dropdown start-->
224
                <ul class="nav pull-right top-menu">
251
				<ul class="nav pull-right top-menu">
225
                    <!-- user login dropdown start-->
252
					<!-- user login dropdown start-->
226
                    <li class="dropdown">
253
					<li class="dropdown"><a data-toggle="dropdown"
227
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
-
 
228
                            <span class="profile-ava">
254
						class="dropdown-toggle" href="#"> <span class="profile-ava">
229
                                <img class="avatar-custom" id="photo" alt="" src="">
255
								<img class="avatar-custom" id="photo" alt="" src="">
230
                            </span>
-
 
231
                            <span class="username" id="fofo_name"></span>
256
						</span> <span class="username" id="fofo_name"></span> <b class="caret"></b>
232
                            <b class="caret"></b>
-
 
233
                        </a>
257
					</a>
234
                        <ul class="dropdown-menu extended logout">
258
						<ul class="dropdown-menu extended logout">
235
                            <div class="log-arrow-up"></div>
259
							<div class="log-arrow-up"></div>
236
                            <li class="eborder-top">
260
							<li class="eborder-top"><a class="change-auth-user-password"
237
                                <a class="change-auth-user-password" href="javascript:void(0);"><i class=""></i>Change Password</a>
261
								href="javascript:void(0);"><i class=""></i>Change Password</a></li>
238
                            </li>
262
							<li><a href="${rc.contextPath}/logout"><i
239
                            <li>
-
 
240
                                <a href="${rc.contextPath}/logout"><i class="icon_key_alt" id = "logout"></i> Log Out</a>
263
									class="icon_key_alt" id="logout"></i> Log Out</a></li>
241
                            </li>
-
 
242
                        </ul>
-
 
243
                    </li>
264
						</ul></li>
244
                    <!-- user login dropdown end -->
265
					<!-- user login dropdown end -->
245
                </ul>
266
				</ul>
246
                <!-- notificatoin dropdown end-->
267
				<!-- notificatoin dropdown end-->
247
            </div>
268
			</div>
248
      </header>      
269
		</header>
249
      <!--header end-->
270
		<!--header end-->
250
 
271
 
251
      <!--sidebar start-->
272
		<!--sidebar start-->
252
      <aside>
273
		<aside>
253
          <div id="sidebar"  class="nav-collapse ">
274
			<div id="sidebar" class="nav-collapse ">
254
              <!-- sidebar menu start-->
275
				<!-- sidebar menu start-->
255
              <ul class="sidebar-menu">                
276
				<ul class="sidebar-menu">
256
              	  <li class="active">
277
					<li class="active"><a class="dashboardload"
257
                      <a class="dashboardload" href="${rc.contextPath}/dashboard">
-
 
258
                          <i class="icon_house_alt"></i>
278
						href="${rc.contextPath}/dashboard"> <i class="icon_house_alt"></i>
259
                          <span>Dashboard</span>
279
							<span>Dashboard</span>
260
                      </a>
-
 
261
                  </li>
280
					</a></li>
262
                  <li><a class="product-compare-info" href="javascript:void(0);">Product Compare</a></li>
281
					<li><a class="product-compare-info" href="javascript:void(0);">Product
-
 
282
							Compare</a></li>
263
                  <!--<li><a class="web-listing" href="javascript:void(0);">Web Listing</a></li>
283
					<!--<li><a class="web-listing" href="javascript:void(0);">Web Listing</a></li>
264
                  <li><a class="banner-listing" href="javascript:void(0);">Banner Listing</a></li>
284
                  <li><a class="banner-listing" href="javascript:void(0);">Banner Listing</a></li>
265
                  <li><a class="view-invoices" href="javascript:void(0);">View Invoices</a></li>-->
285
                  <li><a class="view-invoices" href="javascript:void(0);">View Invoices</a></li>-->
266
                  #foreach($menuItem in $menu)
286
					#foreach($menuItem in $menu)
267
		            <li class="sub-menu">
-
 
268
		              <a href="javascript:;" class="">
287
					<li class="sub-menu"><a href="javascript:;" class=""> <i
269
	                       <i class="icon_document_alt"></i>
-
 
270
	                       <span>$menuItem.getDisplayText()</span>
288
							class="icon_document_alt"></i> <span>$menuItem.getDisplayText()</span>
271
	                       <span class="menu-arrow arrow_carrot-right"></span>
289
							<span class="menu-arrow arrow_carrot-right"></span>
272
		              </a>
290
					</a>
273
					  <ul class="sub">
291
						<ul class="sub">
274
					  #foreach($subMenu in $menuItem.getSubMenus())
292
							#foreach($subMenu in $menuItem.getSubMenus())
-
 
293
							<li><a class="$subMenu.getActionClass()"
275
						  <li><a class="$subMenu.getActionClass()" href="javascript:void(0);">$subMenu.getDisplayText()</a></li>
294
								href="javascript:void(0);">$subMenu.getDisplayText()</a></li> #end
276
					  #end
295
						</ul></li> #end
277
					</ul>
296
				</ul>
278
		           	</li>
-
 
279
                  #end
-
 
280
              </ul>
-
 
281
              <!-- sidebar menu end-->
297
				<!-- sidebar menu end-->
282
          </div>
-
 
283
      </aside>
-
 
284
      <!--sidebar end-->
-
 
285
 
-
 
286
	<!--main content start-->
-
 
287
	<section id="main-content">
-
 
288
		<section class="wrapper">
-
 
289
          	<!--overview start-->
-
 
290
			<div class="row">
-
 
291
				<div class="col-lg-12">
-
 
292
					<h3 class="page-header"><i class="fa fa-laptop"></i> Dashboard</h3>
-
 
293
					<ol class="breadcrumb">
-
 
294
						<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
-
 
295
						<li><i class="fa fa-laptop"></i>Dashboard</li>						  	
-
 
296
					</ol>
-
 
297
				</div>
-
 
298
			</div>
298
			</div>
-
 
299
		</aside>
299
			<!-- overview end -->
300
		<!--sidebar end-->
300
			
301
 
-
 
302
		<!--main content start-->
-
 
303
		<section id="main-content">
-
 
304
			<section class="wrapper">
301
			    #if($warehousePartnerDetailMap)
305
				<!--overview start-->
302
				<div class="row">
306
				<div class="row">
303
					
-
 
304
				<div class="col-lg-6">
307
					<div class="col-lg-12">
305
				
-
 
306
				 <div class="row col-lg-4">
308
						<h3 class="page-header">
307
						<h3 style="margin-top:-2px;margin-bottom:24px"><strong>Partner Wise Report</strong></h3>
309
							<i class="fa fa-laptop"></i> Dashboard
308
				 </div>
310
						</h3>
309
				 
311
						<ol class="breadcrumb">
-
 
312
							<li><i class="fa fa-home"></i><a
310
				<div style="float:right"> <span style="margin-right:10px">Last Fetch :- $rctPartneStat.getLastCreatedTimestamp().format($dateTimeFormatter)</span><button class="btn btn-primary fetchPartnersData"  onclick="getPartnersStat()" type="button">Fetch</button>
313
								href="${rc.contextPath}/dashboard">Home</a></li>
-
 
314
							<li><i class="fa fa-laptop"></i>Dashboard</li>
311
					</div>
315
						</ol>
312
				 <table class="table table-striped table-advance table-hover">
-
 
313
	    			<tbody>
316
					</div>
314
	    				<tr>
317
				</div>
315
	    				<th>W/H Location</th>
318
				<!-- overview end -->
-
 
319
 
316
	    				<th>Partners</th>
320
				#if($warehousePartnerDetailMap)
317
	    				<th>LMS</th>
321
				<div class="row">
-
 
322
 
318
                         <th>LMTD</th>
323
					<div class="col-lg-6">
-
 
324
 
319
	    				 <th>MTD</th>
325
						<div class="row col-lg-4">
-
 
326
							<h3 style="margin-top: -2px; margin-bottom: 24px">
320
	    				 <th>Today Tertiary</th>
327
								<strong>Partner Wise Report</strong>
321
	    				 <th>Tickets</th>
328
							</h3>
322
	    				</tr>
329
						</div>
323
	    				#foreach($name in $warehousePartnerDetailMap.keySet())
-
 
-
 
330
 
324
	    				<tr onclick="getWarehousePartners($name)">
331
						<div style="float: right">
325
	    	 		     <td>$warehouseMap.get($name)</td>
332
							<span style="margin-right: 10px">Last Fetch :-
326
	    	 		     <td>$warehousePartnerDetailMap.get($name).getCount()</td>
333
								$rctPartneStat.getLastCreatedTimestamp().format($dateTimeFormatter)</span>
327
	    	 		     <td class="currency">$warehousePartnerDetailMap.get($name).getLms()</td>
334
							<button class="btn btn-primary fetchPartnersData"
328
	    	 		     <td class="currency">$warehousePartnerDetailMap.get($name).getLmtd()</td>
-
 
329
	    	 		     <td class="currency">$warehousePartnerDetailMap.get($name).getMtd()</td>
-
 
330
	    	 		     <td class="currency">$warehousePartnerDetailMap.get($name).getTodayTertiary()</td>
-
 
331
	    	 		    
-
 
332
	    	 		     <td>$warehousePartnerDetailMap.get($name).getTicket()</td>
335
								onclick="getPartnersStat()" type="button">Fetch</button>
333
	    	 		   
-
 
334
	    	 		   </tr>
-
 
335
	    				 #end
-
 
336
	    				
-
 
337
	    		    </tbody>
-
 
338
	    		</table>
-
 
339
						</div>
336
						</div>
-
 
337
						<table class="table table-striped table-advance table-hover">
-
 
338
							<tbody>
340
						
339
								<tr>
-
 
340
									<th>W/H Location</th>
341
				<div class="col-lg-4">
341
									<th>Partners</th>
-
 
342
									<th>LMS</th>
-
 
343
									<th>LMTD</th>
-
 
344
									<th>MTD</th>
342
				   <div class="row col-lg-8">
345
									<th>Today Tertiary</th>
-
 
346
									<th>Tickets</th>
-
 
347
								</tr>
-
 
348
								#foreach($name in $warehousePartnerDetailMap.keySet())
-
 
349
								<tr onclick="getWarehousePartners($name)">
-
 
350
									<td>$warehouseMap.get($name)</td>
-
 
351
									<td>$warehousePartnerDetailMap.get($name).getCount()</td>
-
 
352
									<td class="currency">$warehousePartnerDetailMap.get($name).getLms()</td>
-
 
353
									<td class="currency">$warehousePartnerDetailMap.get($name).getLmtd()</td>
-
 
354
									<td class="currency">$warehousePartnerDetailMap.get($name).getMtd()</td>
343
						<h3 style="margin-top:-2px;margin-bottom:24px"><strong>Warehouse Wise Report</strong></h3>
355
									<td class="currency">$warehousePartnerDetailMap.get($name).getTodayTertiary()</td>
-
 
356
 
-
 
357
									<td>$warehousePartnerDetailMap.get($name).getTicket()</td>
-
 
358
 
-
 
359
								</tr>
-
 
360
								#end
-
 
361
 
-
 
362
							</tbody>
-
 
363
						</table>
344
					</div>
364
					</div>
345
			
365
 
-
 
366
					<div class="col-lg-4">
-
 
367
						<div class="row col-lg-8">
-
 
368
							<h3 style="margin-top: -2px; margin-bottom: 24px">
-
 
369
								<strong>Warehouse Wise Report</strong>
-
 
370
							</h3>
-
 
371
						</div>
-
 
372
 
-
 
373
						<div style="float: right">
-
 
374
							<span style="margin-right: 10px">Last Fetch :-
-
 
375
								$reporticoDate.getLastCreatedTimestamp().format($dateTimeFormatter)</span>
346
				<div style="float:right"> <span style="margin-right:10px">Last Fetch :- $reporticoDate.getLastCreatedTimestamp().format($dateTimeFormatter)</span><button class="btn btn-primary fetchWarehouseData"  onclick="getWarehouseWiseData()" type="button">Fetch</button>
376
							<button class="btn btn-primary fetchWarehouseData"
-
 
377
								onclick="getWarehouseWiseData()" type="button">Fetch</button>
347
						     </div>
378
						</div>
348
				<table class="table table-striped table-advance table-hover">
379
						<table class="table table-striped table-advance table-hover">
349
	    			<tbody>
380
							<tbody>
350
	    				<tr>
381
								<tr>
351
	    				<th>W/H Location</th>
382
									<th>W/H Location</th>
352
	    				<th>Total Stock</th>
383
									<th>Total Stock</th>
353
	    				<th>Total Value</th>
384
									<th>Total Value</th>
354
	    				<th>Pending Indent</th>
385
									<th>Pending Indent</th>
355
	    				<th>Tertiary</th>
386
									<th>Tertiary</th>
356
	    				</tr>
387
								</tr>
357
	    				#foreach($key in $warehouseStockMap.keySet())
388
								#foreach($key in $warehouseStockMap.keySet())
-
 
389
 
358
	    			
390
								<tr
359
	    				<tr onclick="getWarehouseBrandStock($warehouseStockMap.get($key).getWarehouseId())">
391
									onclick="getWarehouseBrandStock($warehouseStockMap.get($key).getWarehouseId())">
360
	    					<td>$warehouseMap.get($key)</td>
392
									<td>$warehouseMap.get($key)</td>
361
	    					#if($warehouseStockMap.get($key).getStockQty())
393
									#if($warehouseStockMap.get($key).getStockQty())
362
	    					<td>$warehouseStockMap.get($key).getStockQty()</td>
394
									<td>$warehouseStockMap.get($key).getStockQty()</td>
363
	    					<td class="currency">$warehouseStockMap.get($key).getStockValue()</td>
395
									<td class="currency">$warehouseStockMap.get($key).getStockValue()</td>
364
	    					#else
396
									#else
365
	    					<td>0</td>
397
									<td>0</td>
366
	    					<td>0</td>
398
									<td>0</td> #end
367
	    					#end
-
 
368
	    					#if($warehouseStockMap.get($key).getPendingIndent())
399
									#if($warehouseStockMap.get($key).getPendingIndent())
369
	    				    <td>$warehouseStockMap.get($key).getPendingIndent()</td>
400
									<td>$warehouseStockMap.get($key).getPendingIndent()</td> #else
370
	    				    #else
-
 
371
	    				    <td>0</td>
401
									<td>0</td> #end
372
	    					#end
-
 
373
	    					
402
 
374
	    					<td>$warehouseStockMap.get($key).getTertiary()</td>
403
									<td>$warehouseStockMap.get($key).getTertiary()</td>
-
 
404
 
375
	    				  		
405
								</tr>
376
		                  </tr>
-
 
377
		              
-
 
-
 
406
 
378
	    				 #end
407
								#end
379
	    			
408
 
380
	    				
409
 
381
	    		    </tbody>
410
							</tbody>
382
	    		</table>
411
						</table>
383
	    		
-
 
384
	    		
-
 
385
	    		
-
 
386
					
412
 
387
			 </div>
-
 
388
			</div>
-
 
389
			
413
 
390
			#end
-
 
391
		
414
 
392
		    #if($brandSalesMap)	
-
 
393
					
415
 
394
			<div class="row">
-
 
395
				<div class="col-lg-6">
-
 
396
					<div class="row col-lg-5">
-
 
397
						<h3 style="margin-top:-2px;margin-bottom:24px"><strong>Mobile Brand Wise Report</strong></h3>
-
 
398
					</div>
416
					</div>
399
					
417
				</div>
-
 
418
 
400
					 <table class="table table-striped table-advance table-hover">
419
				#end #if($warehousePartnerDetailMap)
401
	    			<tbody>
-
 
402
	    				<tr>
420
 
403
	    			    <th>Brand</th>
-
 
404
	    				<th>LMS</th>
-
 
405
	    				  <th>LMS Qty</th>
-
 
406
	    				 <th>LMTD</th>
-
 
407
	    				  <th>LMTD Qty</th>
-
 
408
	    				   <th>MTD</th>
-
 
409
	    				    <th>MTD Qty</th>
-
 
410
	    				       <th>MTD UA</th>
-
 
411
	    				      <th>MTD UA Qty</th>
421
				<div class="row col-lg-6">
412
	    				 
-
 
413
	    				</tr>
-
 
414
	    				#foreach($salekey in $brandSalesMap.keySet())
422
					<ul class="nav nav-tabs" style="margin: 5px">
415
	    				<tr onclick="getWarehouseWiseBrandPartnerSale(`$brandSalesMap.get($salekey).getBrand()`)">
-
 
416
	    				  <td>$brandSalesMap.get($salekey).getBrand()</td>
423
						<li class="brandlms"><a class="pa">Lms</a></li>
417
	    	 		    
424
 
418
	    	 		      #if($brandSalesMap.get($salekey).getLms())
425
						<li class="mobile_based"><a class="ba">Mobile</a></li>
419
	    	 		      <td class="currency">$brandSalesMap.get($salekey).getLms()</td>
426
						<li class="accessories_based"><a class="la">Accessories</a></li>
420
	    	 		      #else
-
 
421
	    	 		      <td>0</td>
-
 
422
	    	 		      #end
-
 
-
 
427
 
423
	    	 		       
428
					</ul>
424
	    	 		      #if($brandSalesMap.get($salekey).getLmsQty())
-
 
-
 
429
 
425
	    	 		      <td class="currency">$brandSalesMap.get($salekey).getLmsQty()</td>
430
					<div class="row" id="chart-filter">
426
	    	 		      #else
-
 
427
	    	 		      <td>0</td>
431
						<div class="col-lg-2 form-group">
428
	    	 		      #end
-
 
429
	    	 		      #if($brandSalesMap.get($salekey).getLmtd())
432
							<span><b> Warehouse </b> </span> <select
430
	    	 		      <td class="currency">$brandSalesMap.get($salekey).getLmtd()</td>
433
								class="form-control input-sm" id="warehouseId"
431
	    	 		      #else
-
 
432
	    	 		      <td>0</td>
-
 
433
	    	 		      #end
-
 
434
	    	 		       
-
 
435
	    	 		      #if($brandSalesMap.get($salekey).getLmtdQty())
434
								name="warehouseMap" placeholder="Warehouse">
436
	    	 		      <td class="currency">$brandSalesMap.get($salekey).getLmtdQty()</td>
435
								<option value="" disabled selected>Warehouse</option>
437
	    	 		      #else
-
 
438
	    	 		      <td>0</td>
436
								#if($warehouseId.contains(0))
439
	    	 		      #end
-
 
440
	    	 		       #if($brandSalesMap.get($salekey).getMtd())
437
								<option value="0" selected>All</option> #else
441
	    	 		      <td class="currency">$brandSalesMap.get($salekey).getMtd()</td>
438
								<option value="0" selected>All</option> #end #foreach($wm
442
	    	 		      #else
-
 
443
	    	 		      <td>0</td>
-
 
444
	    	 		      #end
-
 
445
	    	 		      #if($brandSalesMap.get($salekey).getMtdQty())
439
								in$warehouseMap.entrySet()))
446
	    	 		      <td class="currency">$brandSalesMap.get($salekey).getMtdQty()</td>
-
 
447
	    	 		      #else
-
 
448
	    	 		      <td>0</td>
-
 
449
	    	 		      #end
-
 
450
	    	 		       #if($brandSalesMap.get($salekey).getAmtd())
440
								#if($warehouseId.contains($wm.getKey()))
451
	    	 		      <td class="currency">$brandSalesMap.get($salekey).getAmtd()</td>
441
								<option value="$wm.getKey()" selected>$wm.getValue()</option>
452
	    	 		      #else
442
								#else
453
	    	 		      <td>0</td>
-
 
454
	    	 		      #end
-
 
455
	    	 		       #if($brandSalesMap.get($salekey).getUamtdQty())
-
 
456
	    	 		      <td>$brandSalesMap.get($salekey).getUamtdQty()</td>
443
								<option value="$wm.getKey()">$wm.getValue()</option> #end #end
457
	    	 		      #else
-
 
458
	    	 		      <td>0</td>
-
 
459
	    	 		      #end
-
 
460
	    	 		
-
 
461
	    	 		   </tr>
444
							</select>
462
	    				 #end
445
						</div>
463
	    				
446
 
464
	    		    </tbody>
447
						<div class="col-lg-2 form-group">
465
	    		</table> 		
-
 
466
	    		
-
 
467
	    		
448
 
468
	    		<div class="row col-lg-6">
449
							<div class="input-group">
469
						<h3 style="margin-top:-2px;margin-bottom:24px"><strong>Accessories Brand Wise Report</strong></h3>
450
								<span><b> From: </b> </span><input type="date"
470
					</div>
-
 
471
					
-
 
472
					 <table class="table table-striped table-advance table-hover">
451
									class="form-control date-set" value="${date}" />
473
	    			<tbody>
452
 
474
	    				<tr>
453
							</div>
475
	    			    <th>Brand</th>
-
 
476
	    				<th>LMS</th>
-
 
477
	    				  <th>LMS Qty</th>
-
 
478
	    				 <th>LMTD</th>
-
 
479
	    				  <th>LMTD Qty</th>
-
 
480
	    				   <th>MTD</th>
-
 
481
	    				    <th>MTD Qty</th>
-
 
482
	    				</tr>
454
						</div>
483
	    				#foreach($salekey in $accessoriesBrandSales)
-
 
-
 
455
 
484
	    				<tr onclick="getWarehouseWiseAccessoriesBrandPartnerSale(`$salekey.getBrand()`)">
456
						<div class="col-lg-2 form-group" style="margin-left: 25px">
485
	    				  <td>$salekey.getBrand()</td>
457
							<span><b> Partners </b> </span><select
486
	    	 		    
-
 
487
	    	 		      #if($salekey.getLms())
-
 
488
	    	 		      <td class="currency">$salekey.getLms()</td>
458
								class="form-control input-sm" id="fofo-users" name="fofo-users"
489
	    	 		      #else
-
 
490
	    	 		      <td>0</td>
-
 
491
	    	 		      #end
-
 
492
	    	 		       
-
 
493
	    	 		      #if($salekey.getLmsQty())
-
 
494
	    	 		      <td class="currency">$salekey.getLmsQty()</td>
459
								placeholder="Partners" multiple="multiple">
495
	    	 		      #else
-
 
496
	    	 		      <td>0</td>
-
 
497
	    	 		      #end
-
 
498
	    	 		      #if($salekey.getLmtd())
-
 
499
	    	 		      <td class="currency">$salekey.getLmtd()</td>
460
								<option value="" disabled selected>Partners</option>
500
	    	 		      #else
-
 
501
	    	 		      <td>0</td>
-
 
502
	    	 		      #end
-
 
503
	    	 		       
-
 
504
	    	 		      #if($salekey.getLmtdQty())
-
 
-
 
461
 
505
	    	 		      <td class="currency">$salekey.getLmtdQty()</td>
462
								#foreach($fofoId in $customRetailersMap.keySet())
506
	    	 		      #else
-
 
507
	    	 		      <td>0</td>
-
 
508
	    	 		      #end
-
 
509
	    	 		       #if($salekey.getMtd())
463
								#if($fofoIds.contains($fofoId))
510
	    	 		      <td class="currency">$salekey.getMtd()</td>
464
								<option value="$fofoId" selected>$customRetailersMap.get($fofoId).getBusinessName()</option>
511
	    	 		      #else
465
								#else
512
	    	 		      <td>0</td>
-
 
513
	    	 		      #end
-
 
514
	    	 		      #if($salekey.getMtdQty())
-
 
515
	    	 		      <td class="currency">$salekey.getMtdQty()</td>
466
								<option value="$fofoId">$customRetailersMap.get($fofoId).getBusinessName()</option>
516
	    	 		      #else
-
 
517
	    	 		      <td>0</td>
-
 
518
	    	 		      #end
-
 
519
	    	 		   </tr>
-
 
520
	    				 #end
467
								#end #end
521
	    				
-
 
522
	    		    </tbody>
-
 
523
	    		</table>  
468
							</select>
524
			</div>
469
						</div>
525
			
-
 
526
			<div class="col-lg-6">
-
 
527
			
470
 
528
			#if($authUserTicketCount)
-
 
529
				<div class="row col-lg-8">
-
 
530
						<h3 style="margin-top:-2px;margin-bottom:24px"><strong>Auth User Tickets</strong></h3>
-
 
531
					</div>
471
					</div>
-
 
472
 
-
 
473
 
-
 
474
					<div class="row reportContainer" style="margin: 5px"></div>
-
 
475
 
-
 
476
				</div>
-
 
477
 
532
			
478
				#end
-
 
479
 
-
 
480
 
-
 
481
 
-
 
482
 
-
 
483
				<div class="col-lg-6">
-
 
484
 
-
 
485
					#if($authUserTicketCount)
-
 
486
					<div class="row col-lg-8">
-
 
487
						<h3 style="margin-top: -2px; margin-bottom: 24px">
-
 
488
							<strong>Auth User Tickets</strong>
-
 
489
						</h3>
-
 
490
					</div>
-
 
491
 
533
				<table class="table table-striped table-advance table-hover" style="width:65%">
492
					<table class="table table-striped table-advance table-hover"
-
 
493
						style="width: 65%">
534
	    			<tbody>
494
						<tbody>
535
	    				<tr>
495
							<tr>
536
	    				<th>Auth User</th>
496
								<th>Auth User</th>
537
	    				<th>Tickets</th>
497
								<th>Tickets</th>
538
	    				
498
 
539
	    				</tr>
499
							</tr>
540
	    				#foreach($authUserTicket in $authUserTicketCount.entrySet())
500
							#foreach($authUserTicket in $authUserTicketCount.entrySet())
541
	    			
501
 
542
	    				<tr>
502
							<tr>
543
	    					<td>$authUserTicket.getKey().getName()</td>
503
								<td>$authUserTicket.getKey().getName()</td>
544
	    					<td>$authUserTicket.getValue()</td>
504
								<td>$authUserTicket.getValue()</td>
-
 
505
 
545
	    				  		
506
							</tr>
546
		                  </tr>
-
 
547
		              
507
 
548
	    				 #end
508
							#end
549
	    			
509
 
550
	    				
510
 
551
	    		    </tbody>
511
						</tbody>
552
	    		</table>
512
					</table>
553
	    	#end
513
 
554
					<div class="row col-lg-4">
514
					<div class="row col-lg-4">
555
						<h3 style="margin-top:-2px;margin-bottom:24px"><strong>Reports</strong></h3>
515
						<h3 style="margin-top: -2px; margin-bottom: 24px">
-
 
516
							<strong>Reports</strong>
-
 
517
						</h3>
556
					</div>
518
					</div>
557
					<div class="row col-lg-12 info-box white-bg">
519
					<div class="row col-lg-12 info-box white-bg">
558
						<table class="table table-striped reports-table" style="display:none">
520
						<table class="table table-striped reports-table"
-
 
521
							style="display: none">
559
						    <tbody>
522
							<tbody>
560
					    		<div class="list-group">
523
								<div class="list-group">
561
					            #foreach($reporticoProjectEntry in $reporticoProjectMap.entrySet())
524
									#foreach($reporticoProjectEntry in
-
 
525
									$reporticoProjectMap.entrySet()) #foreach($reporticoUrlInfo in
562
						            #foreach($reporticoUrlInfo in $reporticoProjectEntry.getValue())
526
									$reporticoProjectEntry.getValue()) <a
563
										  <a href="${rc.contextPath}/reports/${reporticoProjectEntry.getKey()}${reporticoUrlInfo.getUrl()}" class="list-group-item"
527
										href="${rc.contextPath}/reports/${reporticoProjectEntry.getKey()}${reporticoUrlInfo.getUrl()}"
564
											  #if($reporticoUrlInfo.getParamsList())
528
										class="list-group-item" #if($reporticoUrlInfo.getParamsList())
565
											  data-paramslist="$vmUtils.htmlJson($reporticoUrlInfo.getParamsList())"
529
										data-paramslist="$vmUtils.htmlJson($reporticoUrlInfo.getParamsList())"
566
											  #end
530
										#end>
567
										  >
-
 
568
										    <h4 class="list-group-item-heading">$reporticoUrlInfo.getTitle()</h4>
531
										<h4 class="list-group-item-heading">$reporticoUrlInfo.getTitle()</h4>
569
										    <p class="list-group-item-text">$reporticoUrlInfo.getDescription()</p>
532
										<p class="list-group-item-text">$reporticoUrlInfo.getDescription()</p>
570
										  </a>
533
									</a> #end #end
571
										  
-
 
572
					    			#end
-
 
573
				    			#end
-
 
574
								</div>
534
								</div>
575
						    </tbody>
535
							</tbody>
576
						</table>
536
						</table>
577
						
537
 
578
					</div>
538
					</div>
579
					
539
 
580
					
540
 
581
				<div class="row col-lg-12 info-box white-bg">
541
					<div class="row col-lg-12 info-box white-bg">
582
						<div class="col-lg-4">
542
						<div class="col-lg-4">
583
						<h3 style="margin-top:-2px;margin-bottom:24px"><strong>My Messages</strong>
543
							<h3 style="margin-top: -2px; margin-bottom: 24px">
-
 
544
								<strong>My Messages</strong>
584
						</h3>
545
							</h3>
585
						</div>
546
						</div>
586
						<div class="col-lg-4">
547
						<div class="col-lg-4">
587
							<div class="btn-group message-filter"> 
548
							<div class="btn-group message-filter">
588
								<button data-messagetype="notification" type="button" class="btn btn-default" aria-label="Notifications" title="Notifications">
549
								<button data-messagetype="notification" type="button"
-
 
550
									class="btn btn-default" aria-label="Notifications"
-
 
551
									title="Notifications">
589
								<span class="glyphicon glyphicon-bell" aria-hidden="true"></span></button> 
552
									<span class="glyphicon glyphicon-bell" aria-hidden="true"></span>
-
 
553
								</button>
590
								<button data-messagetype="announcement" type="button" class="btn btn-default" aria-label="Announcements" title="Announcements">
554
								<button data-messagetype="announcement" type="button"
-
 
555
									class="btn btn-default" aria-label="Announcements"
-
 
556
									title="Announcements">
591
								<span class="glyphicon glyphicon-bullhorn" aria-hidden="true"></span></button> 
557
									<span class="glyphicon glyphicon-bullhorn" aria-hidden="true"></span>
-
 
558
								</button>
-
 
559
								<button data-messagetype="scheme" type="button"
592
								<button data-messagetype="scheme" type="button" class="btn btn-default" aria-label="SmartDukaan Schemes" title="SmartDukaan Schemes">
560
									class="btn btn-default" aria-label="SmartDukaan Schemes"
-
 
561
									title="SmartDukaan Schemes">
593
									<span class="glyphicon glyphicon-tags" aria-hidden="true"></span>
562
									<span class="glyphicon glyphicon-tags" aria-hidden="true"></span>
594
								</button>
563
								</button>
-
 
564
								<button data-messagetype="marketing" type="button"
595
								<button data-messagetype="marketing" type="button" class="btn btn-default" aria-label="SmartDukaan Schemes" title="SmartDukaan Schemes">
565
									class="btn btn-default" aria-label="SmartDukaan Schemes"
-
 
566
									title="SmartDukaan Schemes">
596
								 <span class="glyphicon glyphicon-picture" aria-hidden="true"></span>
567
									<span class="glyphicon glyphicon-picture" aria-hidden="true"></span>
597
							</button>
568
								</button>
598
							</div>
569
							</div>
599
						</div>
570
						</div>
600
				    	<div class="col-lg-12 row notification-container" style="max-height: 500px;overflow-y: scroll;">
571
						<div class="col-lg-12 row notification-container"
601
						</div>
572
							style="max-height: 500px; overflow-y: scroll;"></div>
602
					</div>
573
					</div>
603
				</div>
574
				</div>
604
	
575
 
605
		  </div>
576
				</div>
606
		  </div>
577
				</div>
607
			#end
578
				#end 
608
			
579
				
609
	
-
 
610
		 #if(!$brandSalesMap)	
580
				#if(!$authUserTicketCount)
611
			
581
 
612
			<div class="row">
582
				<div class="row">
613
				<div class="col-lg-6">
-
 
614
					<div class="row col-lg-4">
583
					<div class="row col-lg-4">
615
						<h3 style="margin-top:-2px;margin-bottom:24px"><strong>Reports</strong></h3>
584
						<h3 style="margin-top: -2px; margin-bottom: 24px">
-
 
585
							<strong>Reports</strong>
-
 
586
						</h3>
616
					</div>
587
					</div>
617
					<div class="row col-lg-12 info-box white-bg">
588
					<div class="row col-lg-12 info-box white-bg">
618
						<table class="table table-striped reports-table" style="display:none">
589
						<table class="table table-striped reports-table"
-
 
590
							style="display: none">
619
						    <tbody>
591
							<tbody>
620
					    		<div class="list-group">
592
								<div class="list-group">
621
					            #foreach($reporticoProjectEntry in $reporticoProjectMap.entrySet())
593
									#foreach($reporticoProjectEntry in
-
 
594
									$reporticoProjectMap.entrySet()) #foreach($reporticoUrlInfo in
622
						            #foreach($reporticoUrlInfo in $reporticoProjectEntry.getValue())
595
									$reporticoProjectEntry.getValue()) <a
623
										  <a href="${rc.contextPath}/reports/${reporticoProjectEntry.getKey()}${reporticoUrlInfo.getUrl()}" class="list-group-item"
596
										href="${rc.contextPath}/reports/${reporticoProjectEntry.getKey()}${reporticoUrlInfo.getUrl()}"
624
											  #if($reporticoUrlInfo.getParamsList())
597
										class="list-group-item" #if($reporticoUrlInfo.getParamsList())
625
											  data-paramslist="$vmUtils.htmlJson($reporticoUrlInfo.getParamsList())"
598
										data-paramslist="$vmUtils.htmlJson($reporticoUrlInfo.getParamsList())"
626
											  #end
599
										#end>
627
										  >
-
 
628
										    <h4 class="list-group-item-heading">$reporticoUrlInfo.getTitle()</h4>
600
										<h4 class="list-group-item-heading">$reporticoUrlInfo.getTitle()</h4>
629
										    <p class="list-group-item-text">$reporticoUrlInfo.getDescription()</p>
601
										<p class="list-group-item-text">$reporticoUrlInfo.getDescription()</p>
630
										  </a>
602
									</a> #end #end
631
										  
-
 
632
					    			#end
-
 
633
				    			#end
-
 
634
								</div>
603
								</div>
635
						    </tbody>
604
							</tbody>
636
						</table>
605
						</table>
637
						
606
 
638
					</div>
607
					</div>
-
 
608
 
639
				</div>
609
				</div>
-
 
610
				<div>
640
				<div class="col-lg-6">
611
					<div class="col-lg-12">
641
					<div class="row col-lg-12 info-box white-bg">
612
						<div class="row col-lg-12 info-box white-bg">
642
						<div class="col-lg-4">
613
							<div class="col-lg-4">
643
						<h3 style="margin-top:-2px;margin-bottom:24px"><strong>My Messages</strong>
614
								<h3 style="margin-top: -2px; margin-bottom: 24px">
644
						</h3>
-
 
645
						</div>
-
 
646
						<div class="col-lg-4">
-
 
647
							<div class="btn-group message-filter"> 
615
									<strong>My Messages</strong>
648
								<button data-messagetype="notification" type="button" class="btn btn-default" aria-label="Notifications" title="Notifications">
-
 
649
								<span class="glyphicon glyphicon-bell" aria-hidden="true"></span></button> 
-
 
650
								<button data-messagetype="announcement" type="button" class="btn btn-default" aria-label="Announcements" title="Announcements">
-
 
651
								<span class="glyphicon glyphicon-bullhorn" aria-hidden="true"></span></button> 
-
 
652
								<button data-messagetype="scheme" type="button" class="btn btn-default" aria-label="SmartDukaan Schemes" title="SmartDukaan Schemes">
-
 
653
									<span class="glyphicon glyphicon-tags" aria-hidden="true"></span>
-
 
654
								</button>
616
								</h3>
655
								<button data-messagetype="marketing" type="button" class="btn btn-default" aria-label="SmartDukaan Schemes" title="SmartDukaan Schemes">
-
 
656
								 <span class="glyphicon glyphicon-picture" aria-hidden="true"></span>
-
 
657
							</button>
-
 
658
							</div>
617
							</div>
-
 
618
							<div class="col-lg-4">
-
 
619
								<div class="btn-group message-filter">
-
 
620
									<button data-messagetype="notification" type="button"
-
 
621
										class="btn btn-default" aria-label="Notifications"
-
 
622
										title="Notifications">
-
 
623
										<span class="glyphicon glyphicon-bell" aria-hidden="true"></span>
-
 
624
									</button>
-
 
625
									<button data-messagetype="announcement" type="button"
-
 
626
										class="btn btn-default" aria-label="Announcements"
-
 
627
										title="Announcements">
-
 
628
										<span class="glyphicon glyphicon-bullhorn" aria-hidden="true"></span>
-
 
629
									</button>
-
 
630
									<button data-messagetype="scheme" type="button"
-
 
631
										class="btn btn-default" aria-label="SmartDukaan Schemes"
-
 
632
										title="SmartDukaan Schemes">
-
 
633
										<span class="glyphicon glyphicon-tags" aria-hidden="true"></span>
-
 
634
									</button>
-
 
635
									<button data-messagetype="marketing" type="button"
-
 
636
										class="btn btn-default" aria-label="SmartDukaan Schemes"
-
 
637
										title="SmartDukaan Schemes">
-
 
638
										<span class="glyphicon glyphicon-picture" aria-hidden="true"></span>
-
 
639
									</button>
-
 
640
								</div>
659
						</div>
641
							</div>
660
				    	<div class="col-lg-12 row notification-container" style="max-height: 500px;overflow-y: scroll;">
642
							<div class="col-lg-12 row notification-container"
-
 
643
								style="max-height: 500px; overflow-y: scroll;"></div>
661
						</div>
644
						</div>
662
					</div>
645
					</div>
663
				</div>
646
				</div>
-
 
647
				#end
-
 
648
			</section>
-
 
649
			<div class="text-center">
-
 
650
				<div class="credits">
-
 
651
					<p>All rights reserved.&copy;2017, Smart Dukaan</p>
-
 
652
				</div>
664
			</div>
653
			</div>
665
			#end
-
 
666
		</section>
654
		</section>
667
    	<div class="text-center">
-
 
668
          <div class="credits">
-
 
669
          	<p>All rights reserved.&copy;2017, Smart Dukaan</p>
-
 
670
          </div>
-
 
671
		</div>
-
 
672
	</section>
-
 
673
 
655
 
674
	<script type="text/javascript">
656
		<script type="text/javascript">
675
		context="${rc.contextPath}";
657
		context="${rc.contextPath}";
676
		webApiScheme="$webApiScheme";
658
		webApiScheme="$webApiScheme";
677
		webApiRoot="$webApiRoot";
659
		webApiRoot="$webApiRoot";
678
		webApiHost="$webApiHost";
660
		webApiHost="$webApiHost";
679
		webApiPort="$webApiPort";
661
		webApiPort="$webApiPort";
680
		#if($authId)
662
		#if($authId)
681
			retailers = $retailers;
663
			retailers = $retailers;
682
			warehouses = $warehouses;
664
			warehouses = $warehouses;
683
	        authId = $authId;
665
	        authId = $authId;
684
		#end
666
		#end
-
 
667
		
-
 
668
		
-
 
669
		
-
 
670
 
685
	</script>
671
	</script>
686
	#parse("include-scripts.vm")
672
		#parse("include-scripts.vm")
687
  
673
 
688
  <script>
674
		<script>
689
 
675
 
690
      //knob
676
      //knob
691
      $(function() {
677
      $(function() {
692
        /*$(".knob").knob({
678
        /*$(".knob").knob({
693
          'draw' : function () { 
679
          'draw' : function () { 
Line 724... Line 710...
724
		    show: false	
710
		    show: false	
725
		});
711
		});
726
	});
712
	});
727
	
713
	
728
	$(document).ready(function(){
714
	$(document).ready(function(){
-
 
715
		
-
 
716
	   $(".brandlms").click();
-
 
717
	    
729
		 $('div.message-filter').on('click', 'button', function() {
718
	    $('div.message-filter').on('click', 'button', function() {
730
			messageType = $(this).data("messagetype");
719
			messageType = $(this).data("messagetype");
731
			if($(this).hasClass('btn-pressed')) {
720
			if($(this).hasClass('btn-pressed')) {
732
				messageType="";
721
				messageType="";
733
				$('div.message-filter').find('button').removeClass('btn-pressed').addClass('btn-default');
722
				$('div.message-filter').find('button').removeClass('btn-pressed').addClass('btn-default');
734
			} else {
723
			} else {
Line 738... Line 727...
738
			notifyTypeChange(messageType);
727
			notifyTypeChange(messageType);
739
		});
728
		});
740
		notifyTypeChange("");
729
		notifyTypeChange("");
741
	});
730
	});
742
		
731
		
-
 
732
	
-
 
733
    $(document).on("click", ".mobile_based",
-
 
734
            function () {  
-
 
735
    	 $("#chart-filter").hide();
-
 
736
            $(".ba").css("color", "blue");
-
 
737
            $(".ba").css("background-color", "white");   
-
 
738
           $(".la").css("color", "white"); 
-
 
739
            $(".la").css("background-color", "#C0C0C0");
-
 
740
             $(".pa").css("color", "white"); 
-
 
741
            $(".pa").css("background-color", "#C0C0C0");  
-
 
742
             $(".pd").css("color", "white");
-
 
743
            $(".pd").css("background-color", "#C0C0C0");                   
-
 
744
             doGetAjaxRequestHandler(context + "/getMobileBrandWise", function (response) {
-
 
745
                    $('.reportContainer').html(response);
-
 
746
                });              
-
 
747
        }); 
-
 
748
    
-
 
749
    $(document).on("click", ".accessories_based",
-
 
750
            function () {
-
 
751
    	   $("#chart-filter").hide();
-
 
752
          $(".ba").css("color", "white"); 
-
 
753
          $(".ba").css("background-color", "#C0C0C0");   
-
 
754
           $(".pa").css("color", "white"); 
-
 
755
            $(".pa").css("background-color", "#C0C0C0");   
-
 
756
           $(".la").css("color", "blue"); 
-
 
757
            $(".la").css("background-color", "white");
-
 
758
            $(".pd").css("color", "white");
-
 
759
            $(".pd").css("background-color", "#C0C0C0");
-
 
760
             doGetAjaxRequestHandler(context + "/getAccessoriesBrandWise", function (response) {
-
 
761
                    $('.reportContainer').html(response);
-
 
762
                });    
-
 
763
   }); 
-
 
764
    
-
 
765
    
-
 
766
    
-
 
767
    $(document).on("click", ".brandlms",
-
 
768
            function () {
-
 
769
            
-
 
770
    	 $(".pa").css("color", "blue"); 
-
 
771
         $(".pa").css("background-color", "white");
-
 
772
       $(".ba").css("color", "white"); 
-
 
773
       $(".ba").css("background-color", "#C0C0C0");  
-
 
774
        $(".pd").css("color", "white"); 
-
 
775
         $(".pd").css("background-color", "#C0C0C0");  
-
 
776
        $(".la").css("color", "white"); 
-
 
777
         $(".la").css("background-color", "#C0C0C0");
-
 
778
         
-
 
779
         $("#chart-filter").show();
-
 
780
  	   
-
 
781
     	var warehouseId = $('#warehouseId').val();
-
 
782
        	var date = $('.date-set').val();
-
 
783
        	var fofoIds =    $('#fofo-users').val();
-
 
784
        	console.log(warehouseId)
-
 
785
            
-
 
786
        	console.log(date)
-
 
787
             doGetAjaxRequestHandler(context + "/getMobileLMSGraph?warehouseId="+warehouseId+"&date="+date+"&fofoIds="+fofoIds, function (response) {
-
 
788
                    $('.reportContainer').html(response);
-
 
789
                });    
-
 
790
   });
-
 
791
        
743
	/*$(function(){
792
	/*$(function(){
744
		messageType = $(this).data("messagetype");
793
		messageType = $(this).data("messagetype");
745
		if($(this).hasClass('btn-pressed')) {
794
		if($(this).hasClass('btn-pressed')) {
746
			messageType="";
795
			messageType="";
747
			$('div.message-filter').find('button').removeClass('btn-pressed').addClass('btn-default');
796
			$('div.message-filter').find('button').removeClass('btn-pressed').addClass('btn-default');
Line 749... Line 798...
749
			$('div.message-filter').find('button').removeClass('btn-pressed').addClass('btn-default');
798
			$('div.message-filter').find('button').removeClass('btn-pressed').addClass('btn-default');
750
			$(this).addClass('btn-pressed').removeClass('btn-default');
799
			$(this).addClass('btn-pressed').removeClass('btn-default');
751
		}
800
		}
752
		notifyTypeChange(messageType);
801
		notifyTypeChange(messageType);
753
	});*/
802
	});*/
-
 
803
	
-
 
804
	 $('#fofo-users').multiselect({
-
 
805
 		includeSelectAllOption: true,
-
 
806
     		multiple:true,
-
 
807
     		maxHeight: 200,
-
 
808
     		buttonWidth: '180px',
-
 
809
     		numberDisplayed: 1,
-
 
810
     	nonSelectedText: 'Users',
-
 
811
     	nSelectedText: ' - Users Selected',
-
 
812
     	allSelectedText: 'All Users Selected',
-
 
813
     	enableFiltering: true,
-
 
814
	        enableCaseInsensitiveFiltering : true
-
 
815
     });
-
 
816
     
754
</script>
817
</script>
755
	<div id="report-modal" class="modal" role="dialog" data-backdrop="static" data-keyboard="false">
818
		<div id="report-modal" class="modal" role="dialog"
-
 
819
			data-backdrop="static" data-keyboard="false">
756
		<div class="modal-dialog">
820
			<div class="modal-dialog">
757
		
821
 
758
		    <!-- Modal content-->
822
				<!-- Modal content-->
759
		    <div class="modal-content">
823
				<div class="modal-content">
760
		      <div class="modal-header">
824
					<div class="modal-header">
761
		        <button type="button" class="close" data-dismiss="modal">&times;</button>
825
						<button type="button" class="close" data-dismiss="modal">&times;</button>
762
		        <h4 class="modal-title"></h4>
826
						<h4 class="modal-title"></h4>
763
		      </div>
827
					</div>
764
		      <div class="modal-body">
828
					<div class="modal-body"></div>
765
			  </div>
-
 
766
			  <div class="modal-footer">
829
					<div class="modal-footer">
-
 
830
						<button type="button" data-dismiss="modal"
767
		        <button type="button" data-dismiss="modal" class="btn btn-default download-report">Download</button>
831
							class="btn btn-default download-report">Download</button>
768
		      </div>
832
					</div>
769
	    	</div>
833
				</div>
-
 
834
			</div>
770
		</div>
835
		</div>
771
	</div>
-
 
772
 
-
 
773
  </body>
836
</body>
774
</html>
837
</html>
775
838