| Line 30... |
Line 30... |
| 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 |
|
| 34 |
<link rel="stylesheet" type="text/css" href="resources/css/bootstrap-multiselect.css" />
|
34 |
<link rel="stylesheet" type="text/css" href="resources/css/bootstrap-multiselect.css" />
|
| - |
|
35 |
<link rel="stylesheet" type="text/css" href="resources/css/multi.min.css"/>
|
| - |
|
36 |
<link rel="stylesheet" type="text/css" href="resources/css/slimselect.min.css"/>
|
| - |
|
37 |
<link rel="stylesheet" type="text/css" href="resources/js/chosen.min.css"/>
|
| 35 |
<link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.10.16/css/dataTables.bootstrap.min.css"/>
|
38 |
<link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.10.16/css/dataTables.bootstrap.min.css"/>
|
| 36 |
<link rel='stylesheet' href='https://use.fontawesome.com/releases/v5.7.0/css/all.css' integrity='sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ' crossorigin='anonymous'>
|
39 |
<link rel='stylesheet' href='https://use.fontawesome.com/releases/v5.7.0/css/all.css' integrity='sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ' crossorigin='anonymous'>
|
| 37 |
<style type="text/css">
|
40 |
<style type="text/css">
|
| 38 |
.loading {
|
41 |
.loading {
|
| 39 |
display: none;
|
42 |
display: none;
|
| Line 247... |
Line 250... |
| 247 |
<th>Sale Head</th>
|
250 |
<th>Sale Head</th>
|
| 248 |
<th>Total Partners</th>
|
251 |
<th>Total Partners</th>
|
| 249 |
<th>lmtd</th>
|
252 |
<th>lmtd</th>
|
| 250 |
<th>mtd</th>
|
253 |
<th>mtd</th>
|
| 251 |
<th>Hygiene</th>
|
254 |
<th>Hygiene</th>
|
| - |
|
255 |
<th>Tickets</th>
|
| - |
|
256 |
<th>Leads</th>
|
| 252 |
<th>In Stock Investment</th>
|
257 |
<!--<th>In Stock Investment</th>
|
| 253 |
<th>Total Investment</th>
|
258 |
<th>Total Investment</th>-->
|
| 254 |
</tr>
|
259 |
</tr>
|
| 255 |
#foreach($name in $authIdAndallValues.keySet())
|
260 |
#foreach($name in $authIdAndallValues.keySet())
|
| 256 |
<tr onclick="getAuthUser($name)">
|
261 |
<tr onclick="getAuthUser($name)">
|
| 257 |
<td>$authIdAndAuthUserMap.get($name).getFirstName() $authIdAndAuthUserMap.get($name).getLastName()</td>
|
262 |
<td>$authIdAndAuthUserMap.get($name).getFirstName() $authIdAndAuthUserMap.get($name).getLastName()</td>
|
| 258 |
<td>$authIdAndallValues.get($name).getCount()</td>
|
263 |
<td>$authIdAndallValues.get($name).getCount()</td>
|
| 259 |
<td class="currency">$authIdAndallValues.get($name).getLmtd()</td>
|
264 |
<td class="currency">$authIdAndallValues.get($name).getLmtd()</td>
|
| 260 |
<td class="currency">$authIdAndallValues.get($name).getMtd()</td>
|
265 |
<td class="currency">$authIdAndallValues.get($name).getMtd()</td>
|
| 261 |
<td>$authIdAndallValues.get($name).getHygienePercentage()</td>
|
266 |
<td>$authIdAndallValues.get($name).getHygienePercentage()</td>
|
| - |
|
267 |
<td>$authIdAndallValues.get($name).getTicket()</td>
|
| - |
|
268 |
<td>$authIdAndallValues.get($name).getLeads()</td>
|
| 262 |
<td class="currency">$authIdAndallValues.get($name).getInvestment().getInStockAmount()</td>
|
269 |
<!--<td class="currency">$authIdAndallValues.get($name).getInvestment().getInStockAmount()</td>
|
| 263 |
<td class="currency">$authIdAndallValues.get($name).getInvestment().getTotalInvestment()</td>
|
270 |
<td class="currency">$authIdAndallValues.get($name).getInvestment().getTotalInvestment()</td>-->
|
| 264 |
|
271 |
|
| 265 |
</tr>
|
272 |
</tr>
|
| 266 |
#end
|
273 |
#end
|
| 267 |
|
274 |
|
| 268 |
</tbody>
|
275 |
</tbody>
|
| Line 271... |
Line 278... |
| 271 |
|
278 |
|
| 272 |
<div class="col-lg-4">
|
279 |
<div class="col-lg-4">
|
| 273 |
<table class="table table-striped table-advance table-hover">
|
280 |
<table class="table table-striped table-advance table-hover">
|
| 274 |
<tbody>
|
281 |
<tbody>
|
| 275 |
<tr>
|
282 |
<tr>
|
| - |
|
283 |
<th>W/H Location</th>
|
| 276 |
<th>Name </th>
|
284 |
<th>Brand</th>
|
| 277 |
<th>Ticket</th>
|
285 |
<th>Total Stock</th>
|
| 278 |
<th>Leads</th>
|
286 |
<th>Total Value</th>
|
| 279 |
</tr>
|
287 |
</tr>
|
| 280 |
|
288 |
|
| 281 |
#foreach($key in $authIdAndallValues.keySet())
|
289 |
#foreach($key in $authIdAndallValues.keySet())
|
| 282 |
<tr>
|
290 |
<tr>
|
| - |
|
291 |
<td></td>
|
| 283 |
<td>$authIdAndAuthUserMap.get($key).getFirstName()</td>
|
292 |
<td></td>
|
| 284 |
<td>$authIdAndallValues.get($key).getTicket()</td>
|
293 |
<td></td>
|
| 285 |
<td>$authIdAndallValues.get($key).getLeads()</td>
|
294 |
<td></td>
|
| 286 |
</tr>
|
295 |
</tr>
|
| 287 |
#end
|
296 |
#end
|
| 288 |
|
297 |
|
| 289 |
|
298 |
|
| 290 |
</tbody>
|
299 |
</tbody>
|
| Line 404... |
Line 413... |
| 404 |
|
413 |
|
| 405 |
$(function(){
|
414 |
$(function(){
|
| 406 |
dateRangeCallback(moment(),moment());
|
415 |
dateRangeCallback(moment(),moment());
|
| 407 |
loaderDialogObj = bootbox.dialog({
|
416 |
loaderDialogObj = bootbox.dialog({
|
| 408 |
message: '<div class="container text-center"><i class="fa fa-spin fa-spinner"></i>Loading...</div>',
|
417 |
message: '<div class="container text-center"><i class="fa fa-spin fa-spinner"></i>Loading...</div>',
|
| 409 |
show: false
|
418 |
show: false,
|
| - |
|
419 |
closeButton:false,
|
| - |
|
420 |
backdrop: true,
|
| - |
|
421 |
onEscape: false
|
| 410 |
});
|
422 |
});
|
| 411 |
});
|
423 |
});
|
| 412 |
|
424 |
|
| 413 |
$(document).ready(function(){
|
425 |
$(document).ready(function(){
|
| 414 |
$('div.message-filter').on('click', 'button', function() {
|
426 |
$('div.message-filter').on('click', 'button', function() {
|