| 21627 |
kshitij.so |
1 |
<!DOCTYPE html>
|
|
|
2 |
<html lang="en">
|
| 27875 |
amit.gupta |
3 |
<head>
|
| 30485 |
tejbeer |
4 |
<meta charset="UTF-8">
|
| 22095 |
kshitij.so |
5 |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
| 36080 |
aman |
6 |
<meta name="description" content="Smart Dukaan Partner Dashboard">
|
| 23166 |
amit.gupta |
7 |
<meta name="author" content="smartdukaan">
|
| 31859 |
amit.gupta |
8 |
|
| 31807 |
tejbeer |
9 |
<meta name="referer" content="no-referer">
|
|
|
10 |
<meta name="referrer" content="no-referrer">
|
| 31859 |
amit.gupta |
11 |
|
| 27875 |
amit.gupta |
12 |
<!--<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">-->
|
|
|
13 |
<link rel="shortcut icon" href="assets/images/icons/favicon.png">
|
| 21627 |
kshitij.so |
14 |
|
| 36080 |
aman |
15 |
<title>Smart Dukaan - Partner Dashboard</title>
|
| 21627 |
kshitij.so |
16 |
|
| 27875 |
amit.gupta |
17 |
<!-- Bootstrap CSS -->
|
| 21627 |
kshitij.so |
18 |
<!-- bootstrap theme -->
|
|
|
19 |
<!--external css-->
|
|
|
20 |
<!-- font icon -->
|
| 27875 |
amit.gupta |
21 |
<link href="resources/css/elegant-icons-style.css" rel="stylesheet"/>
|
|
|
22 |
<link href="resources/css/font-awesome.min.css" rel="stylesheet"/>
|
| 21627 |
kshitij.so |
23 |
<!-- full calendar css-->
|
|
|
24 |
<!-- owl carousel -->
|
|
|
25 |
<link rel="stylesheet" href="resources/css/owl.carousel.css" type="text/css">
|
| 27875 |
amit.gupta |
26 |
<link href="resources/css/jquery-jvectormap-1.2.2.css" rel="stylesheet">
|
| 21627 |
kshitij.so |
27 |
<!-- Custom styles -->
|
| 27875 |
amit.gupta |
28 |
<link href="resources/css/widgets.css" rel="stylesheet">
|
| 24566 |
amit.gupta |
29 |
<link href="resources/css/style.css?v=${cssVersion}" rel="stylesheet">
|
| 25143 |
amit.gupta |
30 |
<link href="resources/css/card.css?v=${cssVersion}" rel="stylesheet">
|
| 30165 |
manish |
31 |
<link href="resources/css/brand-logo.css?v=${cssVersion}" rel="stylesheet">
|
| 27875 |
amit.gupta |
32 |
<link href="resources/css/style-responsive.css?v=${cssVersion}" rel="stylesheet"/>
|
|
|
33 |
<link href="resources/css/jquery-ui-1.10.4.min.css" rel="stylesheet">
|
| 24066 |
amit.gupta |
34 |
<link type="text/css" href="resources/css/bootstrap.css" rel="stylesheet">
|
| 27875 |
amit.gupta |
35 |
<!--<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/bootstrap/3/css/bootstrap.css" />-->
|
| 24066 |
amit.gupta |
36 |
<link href="resources/css/bootstrap-theme.min.css" rel="stylesheet">
|
| 28524 |
amit.gupta |
37 |
<link rel="stylesheet" type="text/css" href="resources/js/daterangepicker/daterangepicker.css"/>
|
| 27624 |
tejbeer |
38 |
|
| 27875 |
amit.gupta |
39 |
<link rel="stylesheet" type="text/css" href="resources/css/bootstrap-multiselect.css"/>
|
| 31189 |
tejbeer |
40 |
<link rel="stylesheet" type="text/css" href="resources/css/datatables.bootstrap.min.css"/>
|
| 27875 |
amit.gupta |
41 |
<link rel='stylesheet' href='https://use.fontawesome.com/releases/v5.7.0/css/all.css'
|
|
|
42 |
integrity='sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ' crossorigin='anonymous'>
|
| 30695 |
amit.gupta |
43 |
<link rel="stylesheet" type="text/css" href="resources/css/bootstrap-tagsinput.css">
|
| 33167 |
amit.gupta |
44 |
<!-- Include the Toastify CSS file -->
|
|
|
45 |
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/toastify-js/src/toastify.min.css">
|
| 30492 |
amit.gupta |
46 |
<style>
|
| 36570 |
amit |
47 |
.modal-xl { max-width: 70% !important; width: 100%; }
|
| 27596 |
tejbeer |
48 |
|
| 33995 |
vikas.jang |
49 |
@media (max-width: 1920px) {
|
| 36570 |
amit |
50 |
#[[#main-content]]# > .wrapper { zoom: 0.8; }
|
| 33995 |
vikas.jang |
51 |
}
|
| 30017 |
amit.gupta |
52 |
@media (max-width: 1280px) {
|
| 36570 |
amit |
53 |
div.count { font-size: 18px; }
|
| 30017 |
amit.gupta |
54 |
}
|
|
|
55 |
|
| 36570 |
amit |
56 |
.current-margin, .margin-calculator, .sale-details { cursor: pointer; }
|
| 30017 |
amit.gupta |
57 |
|
| 36570 |
amit |
58 |
.brand-tile {
|
| 27875 |
amit.gupta |
59 |
border-radius: 4px;
|
|
|
60 |
border: solid 5px black;
|
|
|
61 |
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
|
|
|
62 |
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
|
|
|
63 |
background-image: linear-gradient(#4682B4, #dae5f4);
|
|
|
64 |
color: #FFF;
|
|
|
65 |
padding: 8px 12px;
|
|
|
66 |
text-decoration: none;
|
|
|
67 |
cursor: pointer;
|
|
|
68 |
}
|
| 36570 |
amit |
69 |
.brand-tile:hover { border-radius: 4px; }
|
|
|
70 |
.Samsung:hover { background: blue; }
|
|
|
71 |
.Vivo:hover { background: mediumblue; }
|
|
|
72 |
.Oppo:hover { background: green; }
|
|
|
73 |
.Lava:hover { background: salmon; }
|
|
|
74 |
.Live:hover { background: coral; }
|
|
|
75 |
.Nokia:hover { background: blue; }
|
|
|
76 |
.Realme:hover { background: yellow; }
|
|
|
77 |
.Tecno:hover { background: DarkTurquoise; }
|
| 27875 |
amit.gupta |
78 |
|
| 36570 |
amit |
79 |
.accesoriesClass { object-fit: cover; width: 92%; height: 90px; cursor: pointer; }
|
| 27875 |
amit.gupta |
80 |
|
| 36570 |
amit |
81 |
.loading { display: none; }
|
|
|
82 |
.breadcrumb { padding: 0 15px; }
|
|
|
83 |
.purple-bg { background-image: linear-gradient(#800080, #DDA0DD); box-shadow: 6px 5px 6px purple; }
|
|
|
84 |
.fa-2x { font-size: 1.4em; }
|
|
|
85 |
.cover { object-fit: cover; width: 92%; height: 90px; }
|
| 27875 |
amit.gupta |
86 |
|
|
|
87 |
.info-box .notifications i {
|
|
|
88 |
display: inline-block;
|
| 36570 |
amit |
89 |
margin-top: 0; height: 25px; font-size: 16px; line-height: 25px;
|
|
|
90 |
width: 25px; float: none; text-align: center; padding-right: 0; color: #768399;
|
| 27875 |
amit.gupta |
91 |
}
|
|
|
92 |
|
| 36570 |
amit |
93 |
#[[#preview]]# { position: relative; color: #fff; float: left; width: 100%; border-radius: 10px; clear: both; }
|
|
|
94 |
#[[#canvas-preview]]# { width: 100%; position: relative; top: -15px; }
|
|
|
95 |
#[[#preview-textfield]]# {
|
|
|
96 |
position: absolute; top: -10px; left: 0; right: 0;
|
|
|
97 |
text-align: center; font-size: 2em; font-weight: bold; color: white;
|
| 34176 |
tejus.loha |
98 |
font-family: 'Amaranth', sans-serif, Hind, 'Mukta';
|
| 27875 |
amit.gupta |
99 |
}
|
| 36570 |
amit |
100 |
#[[#descriptionMenu]]# { list-style-type: square; text-align: left; }
|
| 27875 |
amit.gupta |
101 |
|
| 36570 |
amit |
102 |
.messagebutton { margin-left: 1px; }
|
| 27875 |
amit.gupta |
103 |
|
| 32678 |
ranu |
104 |
.partnerTypeList a {
|
| 36570 |
amit |
105 |
color: #1f1d1d; border-bottom: none !important;
|
|
|
106 |
background-color: #efecec; border: 1px solid #dad5d5 !important; padding: 10px 15px !important;
|
| 32678 |
ranu |
107 |
}
|
| 36570 |
amit |
108 |
.Partnerdropdiv { background-color: #efecec !important; padding: 0 !important; }
|
|
|
109 |
.partnerGold:hover { background-color: #D4AF37 !important; background-image: unset !important; }
|
|
|
110 |
.partnerBronz:hover { background-color: #CD7F32 !important; background-image: unset !important; }
|
|
|
111 |
.partnerPlatinum:hover { background-color: #799096 !important; background-image: unset !important; }
|
|
|
112 |
.partnerSilver:hover { background-color: #BCC6CC !important; background-image: unset !important; }
|
|
|
113 |
.partnerDiamond:hover { background-color: #B9F2FF !important; background-image: unset !important; }
|
| 27875 |
amit.gupta |
114 |
|
| 36570 |
amit |
115 |
.info-box .row div, .info-box .row strong { font-size: 16px !important; }
|
|
|
116 |
.info-box.light-salmon-bg div.title { font-size: 12px !important; }
|
|
|
117 |
.info-box.orange-bg button div { font-size: 10px !important; }
|
| 27875 |
amit.gupta |
118 |
</style>
|
|
|
119 |
</head>
|
|
|
120 |
|
|
|
121 |
<body style="background-color:#f7f7f7">
|
|
|
122 |
<!--<div class="loading"><img src="resources/images/icons/loading.gif"></div>-->
|
|
|
123 |
<!-- container section start -->
|
|
|
124 |
<section id="container">
|
|
|
125 |
|
|
|
126 |
|
|
|
127 |
<header class="header dark-bg indian-flag">
|
|
|
128 |
<div class="toggle-nav">
|
|
|
129 |
<div class="icon-reorder tooltips" data-original-title="Toggle Navigation" data-placement="bottom"><i
|
|
|
130 |
class="icon_menu"></i></div>
|
|
|
131 |
</div>
|
|
|
132 |
<a href="${rc.contextPath}/dashboard" class="logo" style="margin-top: 7px"> <img
|
|
|
133 |
src="resources/images/SmartDukaan-135x45.jpg" alt="smartDukaan" width="140"
|
|
|
134 |
height="45">$fofoStore.getCode()</a>
|
|
|
135 |
|
| 32678 |
ranu |
136 |
<ul class="nav pull-left top-menu">
|
|
|
137 |
<li class="dropdown">
|
|
|
138 |
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
|
|
|
139 |
<img src="${partnerTypeImage}" width="60px">
|
|
|
140 |
<span class="username" style="font-size:15px"> <span
|
|
|
141 |
style="color:red">$partnerType.getValue()</span></span>
|
|
|
142 |
<b class="caret"></b>
|
|
|
143 |
</a>
|
|
|
144 |
<ul class="dropdown-menu Partnerdropdiv">
|
|
|
145 |
<li class="eborder-top partnerTypeList">
|
|
|
146 |
<a href="javascript:void(0);" class="partnerGold">Rising Star - New</a>
|
| 32875 |
shampa |
147 |
<a href="javascript:void(0);" class="partnerBronze">Bronze+ - 0-2.99L</a>
|
| 32678 |
ranu |
148 |
<a href="javascript:void(0);" class="partnerSilver">Silver - 3L-7.99L</a>
|
|
|
149 |
<a href="javascript:void(0);" class="partnerGold">Gold - 8L-14.99L</a>
|
|
|
150 |
<a href="javascript:void(0);" class="partnerDiamond">Diamond - 15L-20.99L</a>
|
|
|
151 |
<a href="javascript:void(0);" class="partnerPlatinum">Platinum - 21L & ABOVE</a>
|
|
|
152 |
</li>
|
|
|
153 |
</ul>
|
|
|
154 |
</li>
|
|
|
155 |
</ul>
|
| 30232 |
amit.gupta |
156 |
|
|
|
157 |
|
| 28727 |
amit.gupta |
158 |
<div class="btn-group message-filter" style="margin:14px;">
|
| 27875 |
amit.gupta |
159 |
<button data-messagetype="notification" type="button" class="btn btn-default notifi"
|
|
|
160 |
aria-label="Notifications">
|
| 32771 |
raveendra. |
161 |
<span class="notify1 Notificat">#springMessage("dashboard.notification")</span></button>
|
| 27875 |
amit.gupta |
162 |
<button data-messagetype="announcement" type="button" class="btn btn-default price"
|
|
|
163 |
aria-label="Announcements">
|
| 32771 |
raveendra. |
164 |
<span class="notify Price">#springMessage("dashboard.pricedrop")</span></button>
|
| 27875 |
amit.gupta |
165 |
<button data-messagetype="scheme" type="button" class="btn btn-default schem"
|
|
|
166 |
aria-label="SmartDukaan Schemes">
|
| 32771 |
raveendra. |
167 |
<span class="notify Scheme">#springMessage("dashboard.scheme")</span>
|
| 27875 |
amit.gupta |
168 |
</button>
|
|
|
169 |
|
|
|
170 |
<button data-messagetype="marketing" type="button" class="btn btn-default mark"
|
|
|
171 |
aria-label="SmartDukaan Schemes">
|
| 32771 |
raveendra. |
172 |
<span class="notify market">#springMessage("dashboard.marketing")</span>
|
| 27875 |
amit.gupta |
173 |
</button>
|
| 35501 |
ranu |
174 |
|
|
|
175 |
<button type="button" class="btn btn-default mark">
|
|
|
176 |
<span class="today-offer">Today Offer</span>
|
|
|
177 |
</button>
|
| 27875 |
amit.gupta |
178 |
</div>
|
|
|
179 |
|
|
|
180 |
|
|
|
181 |
<div class="top-nav notification-row">
|
| 35247 |
vikas |
182 |
<!-- notification dropdown start-->
|
| 27875 |
amit.gupta |
183 |
<ul class="nav pull-right top-menu">
|
|
|
184 |
<li class="dropdown">
|
|
|
185 |
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
|
|
|
186 |
<img style="height:38px" src="/resources/images/icons/care1.jpg"/>
|
|
|
187 |
<span class="username" style="font-size:15px">CARE</span>
|
|
|
188 |
<b class="caret"></b>
|
|
|
189 |
</a>
|
|
|
190 |
<ul class="dropdown-menu extended logout">
|
|
|
191 |
<div class="log-arrow-up"></div>
|
|
|
192 |
<li class="eborder-top">
|
|
|
193 |
<a class="create-ticket" href="javascript:void(0);"><i></i>Create Ticket</a>
|
|
|
194 |
<a class="my-ticket" href="javascript:void(0);"><i class=""></i>View Tickets</a>
|
|
|
195 |
</li>
|
|
|
196 |
<li></li>
|
|
|
197 |
</ul>
|
|
|
198 |
</li>
|
|
|
199 |
|
| 35629 |
amit |
200 |
<!--<li class="dropdown" style="margin-top:3px;">
|
| 27875 |
amit.gupta |
201 |
<a href="javascript:void(0);" id="links_bar" style="color:#D3181F" class="btn btn-link"
|
|
|
202 |
data-toggle="popover">
|
|
|
203 |
<i title="third-party dashboards" class="glyphicon glyphicon-th fa-2x"></i>
|
|
|
204 |
</a>
|
| 35629 |
amit |
205 |
</li>-->
|
| 27875 |
amit.gupta |
206 |
|
|
|
207 |
<li id="wallet_bar" class="dropdown">
|
|
|
208 |
<a data-toggle="dropdown" class="dropdown-toggle wallet_icon_header" href="javascript:void(0);">
|
|
|
209 |
<i title="wallet summary" class="fas fa-wallet fa-2x" aria-hidden="true"></i>
|
|
|
210 |
</a>
|
|
|
211 |
</li>
|
|
|
212 |
|
|
|
213 |
<li id="cart_bar" class="dropdown">
|
|
|
214 |
<a class="cart_icon_header" href="javascript:void(0);">
|
|
|
215 |
<i class="fas fa-shopping-cart fa-2x" aria-hidden="true"></i>
|
|
|
216 |
<span class="badge bg-important"></span>
|
|
|
217 |
</a>
|
|
|
218 |
</li>
|
|
|
219 |
|
|
|
220 |
|
|
|
221 |
<!-- alert notification start-->
|
|
|
222 |
<!--<li id="alert_notificatoin_bar" class="dropdown">
|
|
|
223 |
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
|
|
|
224 |
|
|
|
225 |
<i class="icon-bell-l"></i>
|
|
|
226 |
<span class="badge bg-important">0</span>
|
|
|
227 |
</a>
|
|
|
228 |
<ul class="dropdown-menu extended notification">
|
|
|
229 |
<div class="notify-arrow notify-arrow-blue"></div>
|
|
|
230 |
<li>
|
|
|
231 |
<p class="blue">You have no new notifications</p>
|
|
|
232 |
</li>
|
|
|
233 |
<li>
|
|
|
234 |
<a href="#">
|
|
|
235 |
<span class="label label-primary"><i class="icon_profile"></i></span>
|
|
|
236 |
Friend Request
|
|
|
237 |
<span class="small italic pull-right">5 mins</span>
|
|
|
238 |
</a>
|
|
|
239 |
</li>
|
|
|
240 |
<li>
|
|
|
241 |
<a href="#">
|
|
|
242 |
<span class="label label-warning"><i class="icon_pin"></i></span>
|
|
|
243 |
John location.
|
|
|
244 |
<span class="small italic pull-right">50 mins</span>
|
|
|
245 |
</a>
|
|
|
246 |
</li>
|
|
|
247 |
<li>
|
|
|
248 |
<a href="#">
|
|
|
249 |
<span class="label label-danger"><i class="icon_book_alt"></i></span>
|
|
|
250 |
Project 3 Completed.
|
|
|
251 |
<span class="small italic pull-right">1 hr</span>
|
|
|
252 |
</a>
|
|
|
253 |
</li>
|
|
|
254 |
<li>
|
|
|
255 |
<a href="#">
|
|
|
256 |
<span class="label label-success"><i class="icon_like"></i></span>
|
|
|
257 |
Mick appreciated your work.
|
|
|
258 |
<span class="small italic pull-right"> Today</span>
|
|
|
259 |
</a>
|
|
|
260 |
</li>
|
|
|
261 |
<li>
|
|
|
262 |
<a href="#">See all notifications</a>
|
|
|
263 |
</li>
|
|
|
264 |
</ul>
|
|
|
265 |
</li>
|
|
|
266 |
-->
|
|
|
267 |
<!-- alert notification end -->
|
|
|
268 |
<li class="dropdown">
|
|
|
269 |
<ul class="dropdown-menu extended">
|
|
|
270 |
<div class="log-arrow-up"></div>
|
|
|
271 |
<li class="eborder-top">
|
|
|
272 |
<a href="javascript:void(0);" class="create-ticket">Create Ticket</a>
|
|
|
273 |
</li>
|
|
|
274 |
</ul>
|
|
|
275 |
</li>
|
|
|
276 |
<!-- user login dropdown start-->
|
|
|
277 |
<li class="dropdown">
|
|
|
278 |
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
|
| 27519 |
amit.gupta |
279 |
<span class="profile-ava">
|
|
|
280 |
<img class="avatar-custom" id="photo" alt="" src="">
|
|
|
281 |
</span>
|
| 27875 |
amit.gupta |
282 |
<span class="username" id="fofo_name"></span>
|
|
|
283 |
<b class="caret"></b>
|
|
|
284 |
</a>
|
|
|
285 |
<ul class="dropdown-menu extended logout">
|
|
|
286 |
<div class="log-arrow-up"></div>
|
|
|
287 |
<li class="eborder-top">
|
|
|
288 |
<a class="user-profile" href="javascript:void(0);"><i class="icon_profile"></i> My
|
|
|
289 |
Profile</a>
|
|
|
290 |
<a href="${rc.contextPath}/mobileapp" class="btn btn-default" target="_blank">SD Mobile
|
|
|
291 |
App</a>
|
|
|
292 |
<a class="user-manual" target="_blank"
|
| 33624 |
tejus.loha |
293 |
href="http://images.smartdukaan.com/uploads/campaigns/SD_Guide_Book_English.pdf">Sd
|
|
|
294 |
Policies(En)</a>
|
|
|
295 |
<a class="user-manual" target="_blank"
|
|
|
296 |
href="http://images.smartdukaan.com/uploads/campaigns/SD_Guide_Book_Hindi.pdf">Sd
|
|
|
297 |
Policies(Hi)</a>
|
| 35311 |
vikas |
298 |
<a class="user-manual" target="_blank" href="https://apis.smartdukaan.com/download/app-release.apk">
|
|
|
299 |
<i title="Download Android App" class="glyphicon glyphicon-phone fa-2x"></i> Download App
|
|
|
300 |
</a>
|
| 27875 |
amit.gupta |
301 |
#if($isAdmin)
|
| 27519 |
amit.gupta |
302 |
<a class="add-auth-user" href="javascript:void(0);"><i class=""></i>Add User</a>
|
| 27875 |
amit.gupta |
303 |
<a class="change-auth-user-password" href="javascript:void(0);"><i class=""></i>Change
|
|
|
304 |
Password</a>
|
|
|
305 |
#end
|
|
|
306 |
</li>
|
|
|
307 |
<li>
|
|
|
308 |
<a href="${rc.contextPath}/logout"><i class="icon_key_alt" id="logout"></i> Log Out</a>
|
|
|
309 |
</li>
|
|
|
310 |
</ul>
|
|
|
311 |
</li>
|
|
|
312 |
<!-- user login dropdown end -->
|
|
|
313 |
</ul>
|
|
|
314 |
<!-- notificatoin dropdown end-->
|
|
|
315 |
</div>
|
|
|
316 |
</header>
|
|
|
317 |
<!--header end-->
|
| 21627 |
kshitij.so |
318 |
|
| 27875 |
amit.gupta |
319 |
<!--sidebar start-->
|
|
|
320 |
<aside>
|
|
|
321 |
<div id="sidebar" class="nav-collapse ">
|
|
|
322 |
<!-- sidebar menu start-->
|
|
|
323 |
<ul class="sidebar-menu">
|
|
|
324 |
<li>
|
| 36597 |
amit |
325 |
<a href="${rc.contextPath}/dashboard">
|
|
|
326 |
<i class="fa fa-home"></i>
|
|
|
327 |
<span>HOME</span>
|
|
|
328 |
</a>
|
|
|
329 |
</li>
|
|
|
330 |
<li>
|
| 27875 |
amit.gupta |
331 |
<a href="javascript:;" class="punch-in-outs">
|
| 36569 |
amit |
332 |
<i class="icon_clock_alt"></i>
|
| 32771 |
raveendra. |
333 |
<span>#springMessage("menu.punchinout") </span>
|
| 27875 |
amit.gupta |
334 |
</a>
|
|
|
335 |
</li>
|
|
|
336 |
<li class="sub-menu">
|
| 29728 |
manish |
337 |
<a href="javascript:;">
|
| 36569 |
amit |
338 |
<i class="icon_percent"></i>
|
| 32771 |
raveendra. |
339 |
<span>#springMessage("menu.margins")</span>
|
| 29728 |
manish |
340 |
<span class="menu-arrow arrow_carrot-right"></span>
|
| 27875 |
amit.gupta |
341 |
</a>
|
| 30232 |
amit.gupta |
342 |
<ul class="sub">
|
| 34176 |
tejus.loha |
343 |
<li><a class="schemes" href="javascript:void(0);">#springMessage(
|
|
|
344 |
"submenu.marginsmodelwisemargin")</a></li>
|
|
|
345 |
<li><a class="partner-price-circular" href="javascript:void(0);">#springMessage(
|
|
|
346 |
"submenu.marginsnlcpriccecircular")</a></li>
|
| 30232 |
amit.gupta |
347 |
|
| 29728 |
manish |
348 |
</ul>
|
| 27875 |
amit.gupta |
349 |
</li>
|
| 32249 |
amit.gupta |
350 |
|
|
|
351 |
|
| 28136 |
tejbeer |
352 |
<li class="sub-menu">
|
| 29725 |
manish |
353 |
<a href="javascript:;" class="partner-service">
|
| 36569 |
amit |
354 |
<i class="icon_currency"></i>
|
| 32779 |
shampa |
355 |
<span>Fin Services</span>
|
| 27875 |
amit.gupta |
356 |
</a>
|
|
|
357 |
</li>
|
|
|
358 |
<li class="sub-menu">
|
|
|
359 |
<a href="javascript:;" class="">
|
| 36569 |
amit |
360 |
<i class="icon_refresh"></i>
|
| 32771 |
raveendra. |
361 |
<span>#springMessage("menu.returns")</span>
|
| 27875 |
amit.gupta |
362 |
<span class="menu-arrow arrow_carrot-right"></span>
|
|
|
363 |
</a>
|
|
|
364 |
<ul class="sub">
|
| 34176 |
tejus.loha |
365 |
<li><a class="approved-returns" href="javascript:void(0);">#springMessage(
|
|
|
366 |
"submenu.returnsapprovedreturns")</a></li>
|
|
|
367 |
<li><a class="view-debit-note" href="javascript:void(0);">#springMessage(
|
|
|
368 |
"submenu.returnsviewdebitnotes")</a></li>
|
|
|
369 |
<li><a class="pending-returns" href="javascript:void(0);">#springMessage(
|
|
|
370 |
"submenu.returnspendingreturns")</a></li>
|
| 27875 |
amit.gupta |
371 |
</ul>
|
|
|
372 |
</li>
|
|
|
373 |
<li class="sub-menu">
|
|
|
374 |
<a href="javascript:;" class="">
|
| 36569 |
amit |
375 |
<i class="icon_calendar"></i>
|
| 32771 |
raveendra. |
376 |
<span>#springMessage("menu.prebooking")</span>
|
| 27875 |
amit.gupta |
377 |
<span class="menu-arrow arrow_carrot-right"></span>
|
|
|
378 |
</a>
|
|
|
379 |
<ul class="sub">
|
| 34176 |
tejus.loha |
380 |
<li><a class="create-prebooking-order" href="javascript:void(0);">#springMessage(
|
|
|
381 |
"submenu.prebookingcreateorder")</a></li>
|
|
|
382 |
<li><a class="prebooking-orders" href="javascript:void(0);">#springMessage(
|
|
|
383 |
"submenu.prebookingorders")</a></li>
|
| 34163 |
ranu |
384 |
<li><a class="hid-allocation" href="javascript:void(0);">Hid Allocation</a></li>
|
| 27875 |
amit.gupta |
385 |
</ul>
|
|
|
386 |
</li>
|
|
|
387 |
<li class="sub-menu">
|
|
|
388 |
<a href="javascript:;" class="">
|
| 36569 |
amit |
389 |
<i class="icon_mobile"></i>
|
| 32771 |
raveendra. |
390 |
<span>#springMessage("menu.recharge")</span>
|
| 27875 |
amit.gupta |
391 |
<span class="menu-arrow arrow_carrot-right"></span>
|
|
|
392 |
</a>
|
|
|
393 |
<ul class="sub">
|
| 34176 |
tejus.loha |
394 |
<li><a class="create-mobile-recharge" href="javascript:void(0);">#springMessage(
|
|
|
395 |
"submenu.rechargemobilerecharge")</a></li>
|
|
|
396 |
<li><a class="create-dth-recharge" href="javascript:void(0);">#springMessage(
|
|
|
397 |
"submenu.rechargedthrecharge")</a></li>
|
|
|
398 |
<li><a class="mobile-recharges" href="javascript:void(0);">#springMessage(
|
|
|
399 |
"submenu.rechargemobrechargehistory")</a></li>
|
|
|
400 |
<li><a class="dth-recharges" href="javascript:void(0);">#springMessage(
|
|
|
401 |
"submenu.rechargedthrechargehistory")</a></li>
|
| 27875 |
amit.gupta |
402 |
</ul>
|
|
|
403 |
</li>
|
|
|
404 |
<li>
|
|
|
405 |
<a href="javascript:;" class="create_indent">
|
| 36569 |
amit |
406 |
<i class="icon_clipboard"></i>
|
| 32771 |
raveendra. |
407 |
<span>#springMessage("menu.monthlyplanning")</span>
|
| 27875 |
amit.gupta |
408 |
</a>
|
|
|
409 |
</li>
|
|
|
410 |
<li class="sub-menu">
|
|
|
411 |
<a href="javascript:;" class="">
|
| 36569 |
amit |
412 |
<i class="icon_archive_alt"></i>
|
| 32771 |
raveendra. |
413 |
<span>#springMessage("menu.grn")</span>
|
| 27875 |
amit.gupta |
414 |
<span class="menu-arrow arrow_carrot-right"></span>
|
|
|
415 |
</a>
|
|
|
416 |
<ul class="sub">
|
| 32771 |
raveendra. |
417 |
<li><a class="new_grn" href="javascript:void(0);">#springMessage("submenu.grnnew")</a></li>
|
| 34176 |
tejus.loha |
418 |
<li><a class="grn_history" href="javascript:void(0);">#springMessage("submenu.grnhistory")</a>
|
|
|
419 |
</li>
|
|
|
420 |
<li><a class="pending_grn" href="javascript:void(0);">#springMessage("submenu.grnpending")</a>
|
|
|
421 |
</li>
|
|
|
422 |
<li><a class="invoice-summary" href="javascript:void(0);">#springMessage(
|
|
|
423 |
"submenu.grninvoices")</a></li>
|
| 31434 |
amit.gupta |
424 |
|
| 27875 |
amit.gupta |
425 |
</ul>
|
|
|
426 |
</li>
|
| 29937 |
amit.gupta |
427 |
|
| 27875 |
amit.gupta |
428 |
<li class="sub-menu">
|
|
|
429 |
<a href="javascript:;" class="">
|
|
|
430 |
<i class="icon_genius"></i>
|
| 32771 |
raveendra. |
431 |
<span>#springMessage("submenu.mystrocksmystocks")</span>
|
| 27875 |
amit.gupta |
432 |
<span class="menu-arrow arrow_carrot-right"></span>
|
|
|
433 |
</a>
|
|
|
434 |
<ul class="sub">
|
| 32771 |
raveendra. |
435 |
<li><a class="catalog" href="javascript:void(0);">#springMessage("menu.mystrocks")</a></li>
|
| 34176 |
tejus.loha |
436 |
<li><a class="product-compare-info" href="javascript:void(0);">#springMessage(
|
|
|
437 |
"submenu.mystrockscompareproduct")</a></li>
|
| 27875 |
amit.gupta |
438 |
</ul>
|
|
|
439 |
</li>
|
| 30232 |
amit.gupta |
440 |
|
|
|
441 |
|
|
|
442 |
<li class="sub-menu">
|
| 27875 |
amit.gupta |
443 |
<a href="javascript:void(0);" class="">
|
| 36569 |
amit |
444 |
<i class="icon_datareport"></i>
|
| 32771 |
raveendra. |
445 |
<span>#springMessage("menu.reports")</span>
|
| 27875 |
amit.gupta |
446 |
<span class="menu-arrow arrow_carrot-right"></span>
|
|
|
447 |
</a>
|
| 30232 |
amit.gupta |
448 |
<ul class="sub">
|
| 34176 |
tejus.loha |
449 |
<li><a class="partner-collection-summary" href="javascript:void(0);">#springMessage(
|
|
|
450 |
"submenu.reportsdailycollections")</a></li>
|
|
|
451 |
<li><a class="franchisee_sales" href="javascript:void(0);">#springMessage(
|
|
|
452 |
"submenu.reportsmysales")</a></li>
|
|
|
453 |
<li><a class="wallet_statement" href="javascript:void(0);">#springMessage(
|
|
|
454 |
"submenu.reportswalletstatement")</a></li>
|
| 34733 |
amit.gupta |
455 |
<li><a class="loan-statement" href="javascript:void(0);">Credit Statement</a></li>
|
| 34176 |
tejus.loha |
456 |
<li><a class="pending-indent" href="javascript:void(0);">#springMessage(
|
|
|
457 |
"submenu.reportsorderstatus")</a></li>
|
|
|
458 |
<li><a class="scheme-payout-report" href="javascript:void(0);">#springMessage(
|
|
|
459 |
"submenu.reportsschemespayout")</a></li>
|
| 33010 |
shampa |
460 |
<li><a class="offer-payout-dump-report" href="javascript:void(0);">Offer Payout</a></li>
|
| 34176 |
tejus.loha |
461 |
<li><a class="smartdukaan-billing-statement" href="javascript:void(0);">#springMessage(
|
|
|
462 |
"submenu.reportsbillingstatement")</a>
|
| 30232 |
amit.gupta |
463 |
</li>
|
| 34236 |
ranu |
464 |
|
| 34176 |
tejus.loha |
465 |
<li><a class="price-drop-report" href="javascript:void(0);">#springMessage(
|
|
|
466 |
"submenu.reportspricedrop")</a></li>
|
| 34236 |
ranu |
467 |
|
|
|
468 |
<li><a class="credit-note" href="javascript:void(0);">Credit Note</a></li>
|
| 34176 |
tejus.loha |
469 |
<li><a class="item_aging" href="javascript:void(0);">#springMessage("submenu.reportsageing")</a>
|
|
|
470 |
</li>
|
|
|
471 |
<!-- remove Report option of dashBoard side bar-->
|
|
|
472 |
<!--
|
|
|
473 |
<li><a class="download_reports" href="javascript:void(0);">#springMessage(
|
|
|
474 |
"submenu.reportsreports")</a></li>
|
| 33068 |
raveendra. |
475 |
-->
|
| 30232 |
amit.gupta |
476 |
|
| 27875 |
amit.gupta |
477 |
</ul>
|
|
|
478 |
</li>
|
| 30232 |
amit.gupta |
479 |
|
| 27875 |
amit.gupta |
480 |
<li class="sub-menu">
|
|
|
481 |
<a href="javascript:;" class="">
|
| 36569 |
amit |
482 |
<i class="icon_book_alt"></i>
|
| 32771 |
raveendra. |
483 |
<span>#springMessage("menu.itemleder")</span>
|
| 27875 |
amit.gupta |
484 |
<span class="menu-arrow arrow_carrot-right"></span>
|
|
|
485 |
</a>
|
|
|
486 |
<ul class="sub">
|
| 34176 |
tejus.loha |
487 |
<li><a class="item-ledger-report-download-page" href="javascript:void(0);">#springMessage(
|
|
|
488 |
"submenu.itemlederdownload")</a></li>
|
| 27875 |
amit.gupta |
489 |
</ul>
|
|
|
490 |
</li>
|
| 30232 |
amit.gupta |
491 |
|
|
|
492 |
|
|
|
493 |
<li class="sub-menu">
|
| 28339 |
tejbeer |
494 |
<a href="javascript:;" class="">
|
| 36569 |
amit |
495 |
<i class="icon_globe"></i>
|
| 32771 |
raveendra. |
496 |
<span>#springMessage("menu.online")</span>
|
| 28339 |
tejbeer |
497 |
<span class="menu-arrow arrow_carrot-right"></span>
|
|
|
498 |
</a>
|
|
|
499 |
<ul class="sub">
|
| 34176 |
tejus.loha |
500 |
<li><a class="pending_fofo_order" href="javascript:void(0);">#springMessage(
|
|
|
501 |
"submenu.onlinependingorder")</a></li>
|
|
|
502 |
<li><a class="billed_order_item" href="javascript:void(0);">#springMessage(
|
|
|
503 |
"submenu.onlinebilledorder")</a></li>
|
| 33400 |
ranu |
504 |
## <li><a class="unsettled_order_item" href="javascript:void(0);">#springMessage("submenu.onlineraiseclaim")</a></li>
|
| 30232 |
amit.gupta |
505 |
|
| 34176 |
tejus.loha |
506 |
<li><a class="claim_raised_order_item" href="javascript:void(0);">#springMessage(
|
|
|
507 |
"submenu.onlinependingclaim") </a></li>
|
| 30232 |
amit.gupta |
508 |
|
| 34176 |
tejus.loha |
509 |
<li><a class="settled_order_item" href="javascript:void(0);">#springMessage(
|
|
|
510 |
"submenu.onlinesettledorder")</a></li>
|
| 33443 |
ranu |
511 |
<li><a class="partner_print_resources" href="javascript:void(0);">Print Resources</a></li>
|
| 30232 |
amit.gupta |
512 |
|
|
|
513 |
</ul>
|
| 28339 |
tejbeer |
514 |
</li>
|
| 27875 |
amit.gupta |
515 |
|
|
|
516 |
<li class="sub-menu">
|
|
|
517 |
<a href="javascript:;" class="">
|
| 36569 |
amit |
518 |
<i class="icon_cart_alt"></i>
|
| 32771 |
raveendra. |
519 |
<span>#springMessage("menu.sale")</span>
|
| 27875 |
amit.gupta |
520 |
<span class="menu-arrow arrow_carrot-right"></span>
|
|
|
521 |
</a>
|
|
|
522 |
<ul class="sub">
|
| 30232 |
amit.gupta |
523 |
|
| 34176 |
tejus.loha |
524 |
<li><a class="sale-history" href="javascript:void(0);">#springMessage("submenu.salehistory")</a>
|
|
|
525 |
</li>
|
| 31674 |
amit.gupta |
526 |
<!--<li><a class="target-slide" href="javascript:void(0);">Outlet Categories</a></li>-->
|
| 34176 |
tejus.loha |
527 |
<li><a class="insurance-policy-details" href="javascript:void(0);">#springMessage(
|
|
|
528 |
"submenu.saleinsurancehistory")</a></li>
|
| 27875 |
amit.gupta |
529 |
</ul>
|
|
|
530 |
</li>
|
|
|
531 |
<li class="sub-menu" style="margin-bottom:20px">
|
|
|
532 |
<a href="javascript:;" class="">
|
| 36569 |
amit |
533 |
<i class="icon_lifesaver"></i>
|
| 32771 |
raveendra. |
534 |
<span>#springMessage("menu.support")</span>
|
| 27875 |
amit.gupta |
535 |
<span class="menu-arrow arrow_carrot-right"></span>
|
|
|
536 |
</a>
|
|
|
537 |
<ul class="sub" style="margin-bottom:20px">
|
| 32771 |
raveendra. |
538 |
<li><a class="contact-us" href="#">#springMessage("submenu.supportcontactus")</a></li>
|
| 34176 |
tejus.loha |
539 |
<li><a href="https://www.youtube.com/channel/UCr4f-OiscZeKk_liLNQRMtQ"
|
|
|
540 |
target="blank">#springMessage("submenu.supporttrainingvideo")</a></li>
|
| 27875 |
amit.gupta |
541 |
</ul>
|
|
|
542 |
</li>
|
|
|
543 |
|
|
|
544 |
</ul>
|
|
|
545 |
<!-- sidebar menu end-->
|
|
|
546 |
</div>
|
|
|
547 |
</aside>
|
|
|
548 |
<!--sidebar end-->
|
|
|
549 |
|
|
|
550 |
<!--main content start-->
|
|
|
551 |
<section id="main-content">
|
|
|
552 |
<section class="wrapper">
|
|
|
553 |
<!--overview start-->
|
|
|
554 |
<div class="row">
|
|
|
555 |
<div class="col-lg-12">
|
| 35104 |
vikas |
556 |
<h3 class="page-header" style="position:relative">
|
|
|
557 |
<div class="row">
|
|
|
558 |
<div class="col-md-2">
|
|
|
559 |
<i class="fa fa-laptop"></i> Dashboard
|
|
|
560 |
</div>
|
|
|
561 |
<div class="col-md-2"></div>
|
| 35557 |
vikas |
562 |
#*#set($fofoId = $targetData.getFofoId())
|
| 35249 |
vikas |
563 |
#if(($regionId == 19 || $regionId == 8) && $fofoId && $fofoId.toString() != "")
|
| 35396 |
amit |
564 |
<div class="col-md-4 info-box light-salmon-bg text-center"
|
|
|
565 |
style="padding:5px; background-color:#0059a3">
|
|
|
566 |
<table width="100%" cellpadding="0" cellspacing="0">
|
| 35247 |
vikas |
567 |
<tr>
|
| 35396 |
amit |
568 |
<td rowspan="3">
|
|
|
569 |
<img src="https://images.smartdukaan.com/uploads/campaigns/oppo.jpg"
|
|
|
570 |
alt="Oppo Image" width="80">
|
|
|
571 |
</td>
|
|
|
572 |
<td colspan="4">
|
|
|
573 |
#if($regionId == 19)
|
|
|
574 |
<h4 style="margin: 2px">Happy Diwali! Oppo Score Gift Scheme</h4>
|
|
|
575 |
#else
|
|
|
576 |
<h4 style="margin: 2px">Oppo Diwali Additional Reward Scheme</h4>
|
|
|
577 |
#end
|
|
|
578 |
</td>
|
| 35247 |
vikas |
579 |
</tr>
|
| 35396 |
amit |
580 |
#if($regionId == 19)
|
|
|
581 |
<tr>
|
|
|
582 |
<td><h5 style="margin: 2px"><strong>Target 1:</strong>
|
|
|
583 |
<br> ${targetData.getLedTv32Inch()}</h5></td>
|
|
|
584 |
<td><h5 style="margin: 2px"><strong>Target 2:</strong>
|
|
|
585 |
<br> ${targetData.getSilverBrick100g()}</h5></td>
|
|
|
586 |
<td><h5 style="margin: 2px"><strong>Target 3:</strong>
|
|
|
587 |
<br> ${targetData.getDomesticGoaTrip()}</h5></td>
|
|
|
588 |
<td><h5 style="margin: 2px"><strong>Target 4:</strong>
|
|
|
589 |
<br> ${targetData.getInternationalThailandTrip()}</h5></td>
|
|
|
590 |
</tr>
|
| 35248 |
vikas |
591 |
|
| 35396 |
amit |
592 |
<tr>
|
|
|
593 |
<td colspan="4"><h5 style="margin: 2px">
|
|
|
594 |
<strong>Achieved:</strong>${rewardsMap.get("quantity")}</h5></td>
|
|
|
595 |
</tr>
|
|
|
596 |
#else
|
|
|
597 |
<tr>
|
|
|
598 |
<td colspan="2"><h5 style="margin: 2px">
|
|
|
599 |
<strong>Quantity:</strong>${rewardsMap.get("quantity")}</h5></td>
|
|
|
600 |
<td colspan="4"><h5 style="margin: 2px">
|
|
|
601 |
<strong>Points:</strong>${rewardsMap.get("quantity")}</h5></td>
|
|
|
602 |
</tr>
|
|
|
603 |
#end
|
|
|
604 |
</table>
|
|
|
605 |
</div>
|
| 35557 |
vikas |
606 |
#end*#
|
| 35104 |
vikas |
607 |
</div>
|
| 32249 |
amit.gupta |
608 |
|
|
|
609 |
</h3>
|
|
|
610 |
|
| 27875 |
amit.gupta |
611 |
<ol class="breadcrumb">
|
|
|
612 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
|
|
613 |
<li><i class="fa fa-laptop"></i>Dashboard</li>
|
| 34813 |
aman |
614 |
<li>
|
|
|
615 |
<button class="btn btn-sm btn-success partner-tasks-btn"
|
|
|
616 |
data-target="#partnerTasks">
|
|
|
617 |
Dashboard Analysis
|
|
|
618 |
</button>
|
|
|
619 |
</li>
|
|
|
620 |
|
| 27875 |
amit.gupta |
621 |
</ol>
|
| 32249 |
amit.gupta |
622 |
|
|
|
623 |
|
| 27875 |
amit.gupta |
624 |
</div>
|
|
|
625 |
</div>
|
|
|
626 |
<!-- overview end -->
|
|
|
627 |
<div class="row">
|
|
|
628 |
<div class="col-lg-6">
|
|
|
629 |
<div class="row">
|
|
|
630 |
<div class="col-lg-7">
|
|
|
631 |
<div class="info-box blue-bg">
|
|
|
632 |
<i class="fa fa-chart-line"></i>
|
| 34176 |
tejus.loha |
633 |
<h4 style="margin-top:-2px;margin-bottom:12px"><strong>#springMessage(
|
|
|
634 |
"dashboard.sale")</strong>
|
| 32249 |
amit.gupta |
635 |
<span> <a href="#videoModal" class="btn btn-danger" data-toggle="modal"
|
|
|
636 |
data-src="GQziSgeI3ZM"><span
|
|
|
637 |
class="glyphicon glyphicon-play-circle"></span> Play Video</a> </span>
|
|
|
638 |
|
|
|
639 |
|
| 33995 |
vikas.jang |
640 |
</h4>
|
| 32249 |
amit.gupta |
641 |
<div class="row">
|
| 27875 |
amit.gupta |
642 |
<div class="col-lg-4 row">
|
| 30672 |
amit.gupta |
643 |
<div style="margin-top:0px" class="count currency">$nf.format($salesMap.get(
|
|
|
644 |
"lmtdSale"))</div>
|
| 27875 |
amit.gupta |
645 |
<div class="title">LMTD</div>
|
|
|
646 |
</div>
|
|
|
647 |
<div class="col-lg-4 row">
|
| 30672 |
amit.gupta |
648 |
<div style="margin-top:0px" class="count currency">$nf.format($salesMap.get(
|
|
|
649 |
"mtdSale"))</div>
|
| 27875 |
amit.gupta |
650 |
<div class="title">MTD</div>
|
|
|
651 |
</div>
|
|
|
652 |
<div class="col-lg-3 row">
|
| 30672 |
amit.gupta |
653 |
<div style="margin-top:0px" class="count currency">$nf.format($salesMap.get(
|
|
|
654 |
"todaySale"))</div>
|
| 27875 |
amit.gupta |
655 |
<div class="title">Today's</div>
|
|
|
656 |
</div>
|
|
|
657 |
|
|
|
658 |
<div class="col-lg-1 row" style="margin-left: -20px;margin-top: 20px;">
|
|
|
659 |
<i class="fk_more fa fa-angle-double-down" id="blue-dropdown"
|
|
|
660 |
style="cursor:pointer;font-size: 27px;width: 27px;height: 27px;margin-top: 0px;color: rgba(255, 255, 255, 0.75);line-height: 27px;"></i>
|
|
|
661 |
</div>
|
|
|
662 |
</div>
|
|
|
663 |
|
|
|
664 |
<div class="row monthsaleContainer" style="margin:5px">
|
|
|
665 |
</div>
|
|
|
666 |
</div>
|
|
|
667 |
</div>
|
| 30232 |
amit.gupta |
668 |
|
| 27875 |
amit.gupta |
669 |
<div class="col-lg-5 row">
|
|
|
670 |
<div class="info-box brown-bg">
|
|
|
671 |
|
| 33995 |
vikas.jang |
672 |
<div class="row">
|
| 27875 |
amit.gupta |
673 |
<div class="col-lg-6">
|
|
|
674 |
<h4 style="margin-top:-2px;margin-bottom:3px"><strong>Current Rate</strong></h4>
|
|
|
675 |
<div style="margin-top:0px" class="count">
|
| 30672 |
amit.gupta |
676 |
<span class="currency">$nf.format($salesMap.get("currentRate"))</span>/day
|
| 27875 |
amit.gupta |
677 |
</div>
|
|
|
678 |
<img src="${salesMap.get('currentTypeImage')}" width="60px"
|
| 31674 |
amit.gupta |
679 |
class="target-slide1">
|
| 27875 |
amit.gupta |
680 |
</div>
|
| 33995 |
vikas.jang |
681 |
<div class="col-lg-6">
|
| 27875 |
amit.gupta |
682 |
<h4 style="margin-top:-2px;margin-bottom:3px"><strong>Reqd Rate</strong></h4>
|
|
|
683 |
<div style="margin-top:0px" class="count currency">
|
| 30672 |
amit.gupta |
684 |
<span class="currency">$nf.format($salesMap.get("requiredRate"))</span>/day
|
| 27875 |
amit.gupta |
685 |
</div>
|
|
|
686 |
<img src="${salesMap.get('requiredTypeImage')}" width="60px"
|
| 31674 |
amit.gupta |
687 |
class="target-slide1">
|
| 27875 |
amit.gupta |
688 |
</div>
|
|
|
689 |
</div>
|
|
|
690 |
</div>
|
|
|
691 |
</div>
|
| 29721 |
manish |
692 |
<div class="col-lg-7">
|
| 27875 |
amit.gupta |
693 |
<div class="info-box purple-bg">
|
|
|
694 |
<div class="col-lg-12 row">
|
|
|
695 |
<i class="fa fa-coins"></i>
|
| 34176 |
tejus.loha |
696 |
<h4 style="margin-top:-2px;margin-bottom:12px"><strong>#springMessage(
|
|
|
697 |
"dashboard.investment")</strong></h4>
|
| 27875 |
amit.gupta |
698 |
<div class="row">
|
| 33995 |
vikas.jang |
699 |
<div class="col-lg-3">
|
|
|
700 |
<div class="row">
|
| 34176 |
tejus.loha |
701 |
<div style="margin-top:0px" class="count currency">$investments.get(
|
|
|
702 |
"today")</div>
|
| 33995 |
vikas.jang |
703 |
<div class="title">#springMessage("dashboard.current")</div>
|
|
|
704 |
<div class="col-lg-1" style="margin-left: -20px;margin-top: -6px;">
|
| 34176 |
tejus.loha |
705 |
<i class="fk_more fa fa-angle-double-down flash"
|
|
|
706 |
id="purple-dropdown"
|
|
|
707 |
style="cursor:pointer;font-size: 27px;width: 145px;height: 27px;margin-top: 0px;color: rgba(255, 255, 255, 0.75);line-height: 4px; margin-left: 25px;"></i>
|
| 33995 |
vikas.jang |
708 |
</div>
|
| 30232 |
amit.gupta |
709 |
</div>
|
|
|
710 |
</div>
|
| 27887 |
amit.gupta |
711 |
|
| 30232 |
amit.gupta |
712 |
<div class="col-lg-3">
|
|
|
713 |
<div style="margin-top:0px" class="count">$investments.get("minimum")</div>
|
|
|
714 |
<div class="title">min</div>
|
|
|
715 |
</div>
|
| 33995 |
vikas.jang |
716 |
<div class="col-lg-3 row"
|
| 27875 |
amit.gupta |
717 |
#if(!$isInvestmentOk)
|
| 27914 |
tejbeer |
718 |
style="color:red; background: white;"
|
| 27875 |
amit.gupta |
719 |
#end
|
|
|
720 |
>
|
|
|
721 |
#if($investments.get("short")<=0)
|
| 33995 |
vikas.jang |
722 |
<div style="margin-top:0px" class="count">100%</div>
|
| 27875 |
amit.gupta |
723 |
<div class="title">OK</div>
|
|
|
724 |
#else
|
| 34176 |
tejus.loha |
725 |
<div style="margin-top:0px" class="count">$investments.get("short")%
|
|
|
726 |
</div>
|
| 27875 |
amit.gupta |
727 |
<div class="title">short</div>
|
|
|
728 |
#end
|
|
|
729 |
</div>
|
|
|
730 |
</div>
|
| 30232 |
amit.gupta |
731 |
<div class="row investmentContainer" style="margin:5px">
|
|
|
732 |
</div>
|
| 27875 |
amit.gupta |
733 |
</div>
|
|
|
734 |
</div>
|
|
|
735 |
</div>
|
| 29731 |
manish |
736 |
<div class="col-lg-5 row">
|
| 32308 |
amit.gupta |
737 |
#if($staticScheme)
|
|
|
738 |
<div class="info-box white-bg" style="padding:0;height: 159px">
|
|
|
739 |
<div class="col-lg-6"
|
|
|
740 |
style="background-size: 135px !important;background:url('/resources/images/super-retailer.jpg') no-repeat;height: 161px;"
|
|
|
741 |
>
|
|
|
742 |
<div
|
|
|
743 |
style="position: absolute;bottom: 4px;left: auto;width: 100%;left:-5px;
|
|
|
744 |
text-align: center;color: #333333;margin-bottom: 4px;font-size: 18px; font-weight: bold">
|
|
|
745 |
$schemeCategory</div>
|
|
|
746 |
</div>
|
|
|
747 |
<div class="col-lg-6 row">
|
|
|
748 |
<div class="row" style="margin-top:6px">
|
|
|
749 |
<div style="text-align: center;font-size: 13px;font-weight: bold;color: black;margin-top: 3px">
|
| 35099 |
amit |
750 |
$staticScheme.getSchemePeriod()
|
| 30232 |
amit.gupta |
751 |
</div>
|
| 32308 |
amit.gupta |
752 |
<p style="margin: 0 0 8px"></p>
|
|
|
753 |
<div style="text-align: center;font-size: 13px;font-weight: bold;color: black">
|
|
|
754 |
TOTAL TARGET
|
|
|
755 |
</div>
|
|
|
756 |
<div class="rcurrency"
|
|
|
757 |
style="text-align: center;font-size: 20px;font-weight: bold;color: red">
|
|
|
758 |
$staticScheme.getTarget()
|
|
|
759 |
</div>
|
|
|
760 |
</div>
|
|
|
761 |
<hr style="margin-top:6px;margin-bottom: 6px"/>
|
|
|
762 |
<div class="row">
|
|
|
763 |
<div style="text-align: center;font-size: 13px;font-weight: bold;color: black">
|
|
|
764 |
TOTAL ACHIEVEMENT
|
|
|
765 |
</div>
|
|
|
766 |
<div class="rcurrency red"
|
|
|
767 |
style="text-align: center;font-size: 20px;font-weight: bold;color: red">
|
|
|
768 |
$nf.format($schemeAchievement)
|
|
|
769 |
</div>
|
|
|
770 |
</div>
|
| 28410 |
tejbeer |
771 |
</div>
|
| 32308 |
amit.gupta |
772 |
</div>
|
|
|
773 |
#else
|
| 34176 |
tejus.loha |
774 |
<div class="info-box orange-bg"
|
|
|
775 |
style="background-image: linear-gradient(#ff7f50 ,orange); box-shadow: 6px 5px 6px #ff7f50;">
|
| 32308 |
amit.gupta |
776 |
<i class="fa fa-chart-line"></i>
|
| 34176 |
tejus.loha |
777 |
<h4 style="margin-top:-2px;margin-bottom:12px"><strong>#springMessage(
|
|
|
778 |
"dashboard.onlinesale")</strong></h4>
|
| 32308 |
amit.gupta |
779 |
<div class="row">
|
| 33995 |
vikas.jang |
780 |
<div class="col-lg-3" style="margin:5px">
|
| 32308 |
amit.gupta |
781 |
<div style="margin-top:0px; margin-left:24px;"
|
|
|
782 |
class="count currency">$countOrder</div>
|
| 33995 |
vikas.jang |
783 |
<button class="btn-warning">
|
| 34176 |
tejus.loha |
784 |
<div class="title pending_order_dashboard"
|
|
|
785 |
style="cursor: pointer; color:black;">
|
| 33995 |
vikas.jang |
786 |
#springMessage("dashboard.pendingorder")
|
| 32308 |
amit.gupta |
787 |
</div>
|
|
|
788 |
</button>
|
|
|
789 |
</div>
|
| 30232 |
amit.gupta |
790 |
|
| 32308 |
amit.gupta |
791 |
<div class="col-lg-4 row" style="margin:5px">
|
|
|
792 |
#if($onlineDeliveredOrderSum)
|
| 34176 |
tejus.loha |
793 |
<div style="margin-top:0px; margin-left:37px;"
|
|
|
794 |
class="count currency">$onlineDeliveredOrderSum</div>
|
| 32308 |
amit.gupta |
795 |
#else
|
| 34176 |
tejus.loha |
796 |
<div style="margin-top:0px; margin-left:20px;" class="count currency">
|
|
|
797 |
|
|
|
798 |
</div>
|
| 32308 |
amit.gupta |
799 |
#end
|
| 33995 |
vikas.jang |
800 |
<button class="btn-warning">
|
| 34176 |
tejus.loha |
801 |
<div class="title total_sale_dashboard"
|
|
|
802 |
style="cursor: pointer; color:black;">Online Sales
|
|
|
803 |
</div>
|
| 32308 |
amit.gupta |
804 |
</button>
|
|
|
805 |
</div>
|
| 28410 |
tejbeer |
806 |
</div>
|
| 30232 |
amit.gupta |
807 |
</div>
|
| 32308 |
amit.gupta |
808 |
#end
|
| 28410 |
tejbeer |
809 |
</div>
|
| 27875 |
amit.gupta |
810 |
</div>
|
| 30232 |
amit.gupta |
811 |
|
|
|
812 |
|
|
|
813 |
<div class="row">
|
|
|
814 |
<div class="col-lg-9">
|
|
|
815 |
<div class="info-box pink-bg" style="height: 160px;">
|
| 33995 |
vikas.jang |
816 |
<h4 style="margin-top:-2px;margin-bottom:12px"><strong>Order Summary</strong></h4>
|
| 30232 |
amit.gupta |
817 |
|
|
|
818 |
<div class="col-lg-3 row">
|
| 33995 |
vikas.jang |
819 |
<h4 style="margin-top:-2px;margin-bottom:12px;"><strong
|
| 30232 |
amit.gupta |
820 |
style="font-size: 16px; cursor:pointer; margin-left: 9px;"
|
| 33995 |
vikas.jang |
821 |
class="pndg-status">Pending</strong></h4>
|
| 30232 |
amit.gupta |
822 |
#if($submittedCount && $submittedValue)
|
|
|
823 |
<div class="col-lg-3">
|
|
|
824 |
<div style="margin-top:0px" class="count currency">$submittedCount</div>
|
|
|
825 |
<div class="title">Qty</div>
|
|
|
826 |
</div>
|
|
|
827 |
<div class="col-lg-4">
|
|
|
828 |
<div style="margin-top:0px" class="count currency">$submittedValue</div>
|
|
|
829 |
<div class="title" style="margin-left:5px;">Value</div>
|
|
|
830 |
</div>
|
|
|
831 |
#else
|
|
|
832 |
<div class="col-lg-3">
|
|
|
833 |
<div style="margin-top:0px" class="count currency">0</div>
|
|
|
834 |
<div class="title">Qty</div>
|
|
|
835 |
</div>
|
|
|
836 |
<div class="col-lg-4">
|
|
|
837 |
<div style="margin-top:0px" class="count currency">0</div>
|
|
|
838 |
<div class="title" style="margin-left:5px;">Value</div>
|
|
|
839 |
</div>
|
|
|
840 |
|
|
|
841 |
#end
|
|
|
842 |
|
|
|
843 |
|
| 29721 |
manish |
844 |
</div>
|
| 30232 |
amit.gupta |
845 |
|
|
|
846 |
<div class="col-lg-3">
|
| 33995 |
vikas.jang |
847 |
<h4 style="margin-top:-2px;margin-bottom:12px"><strong
|
| 30232 |
amit.gupta |
848 |
style="font-size: 19px; cursor:pointer; margin-left: 15px;"
|
| 33995 |
vikas.jang |
849 |
class="billed-status">#springMessage("dashboard.billed")</strong></h4>
|
| 30232 |
amit.gupta |
850 |
|
|
|
851 |
#if($billedCount && $billedValue)
|
|
|
852 |
<div class="col-lg-3">
|
|
|
853 |
<div style="margin-top:0px" class="count currency">$billedCount</div>
|
|
|
854 |
<div class="title">Qty</div>
|
|
|
855 |
</div>
|
|
|
856 |
<div class="col-lg-4">
|
|
|
857 |
<div style="margin-top:0px" class="count currency">$billedValue</div>
|
|
|
858 |
<div class="title" style="margin-left:5px;">Value</div>
|
|
|
859 |
</div>
|
|
|
860 |
#else
|
|
|
861 |
<div class="col-lg-3">
|
|
|
862 |
<div style="margin-top:0px" class="count currency">0</div>
|
|
|
863 |
<div class="title">Qty</div>
|
|
|
864 |
</div>
|
|
|
865 |
<div class="col-lg-4">
|
|
|
866 |
<div style="margin-top:0px" class="count currency">0</div>
|
|
|
867 |
<div class="title" style="margin-left:5px;">Value</div>
|
|
|
868 |
</div>
|
|
|
869 |
|
|
|
870 |
#end
|
| 29721 |
manish |
871 |
</div>
|
| 30232 |
amit.gupta |
872 |
|
|
|
873 |
<div class="col-lg-3">
|
| 33995 |
vikas.jang |
874 |
<h4 style="margin-top:-2px;margin-bottom:12px"><strong
|
| 30232 |
amit.gupta |
875 |
style="font-size: 19px; cursor:pointer; margin-left: 15px;"
|
| 33995 |
vikas.jang |
876 |
class="shipped-status">#springMessage("dashboard.dispatched")</strong></h4>
|
| 30232 |
amit.gupta |
877 |
|
|
|
878 |
#if($shippedCount && $shippedValue)
|
|
|
879 |
<div class="col-lg-3">
|
|
|
880 |
<div style="margin-top:0px" class="count currency">$shippedCount</div>
|
|
|
881 |
<div class="title">Qty</div>
|
|
|
882 |
</div>
|
|
|
883 |
<div class="col-lg-4">
|
|
|
884 |
<div style="margin-top:0px" class="count currency">$shippedValue</div>
|
|
|
885 |
<div class="title" style="margin-left:5px;">Value</div>
|
|
|
886 |
</div>
|
|
|
887 |
#else
|
|
|
888 |
<div class="col-lg-3">
|
|
|
889 |
<div style="margin-top:0px" class="count">0</div>
|
|
|
890 |
<div class="title">Qty</div>
|
|
|
891 |
</div>
|
|
|
892 |
<div class="col-lg-4">
|
|
|
893 |
<div style="margin-top:0px" class="count">0</div>
|
|
|
894 |
<div class="title" style="margin-left:5px;">Value</div>
|
|
|
895 |
</div>
|
|
|
896 |
|
|
|
897 |
#end
|
| 29721 |
manish |
898 |
</div>
|
| 30232 |
amit.gupta |
899 |
|
|
|
900 |
<div class="col-lg-3">
|
| 33995 |
vikas.jang |
901 |
<h4 style="margin-top:-2px;margin-bottom:12px"><strong
|
| 30232 |
amit.gupta |
902 |
style="font-size: 19px;overflow: hidden;text-overflow:ellipsis;white-space: nowrap; cursor:pointer;"
|
| 33995 |
vikas.jang |
903 |
class="grn-status">#springMessage("dashboard.grnpending")</strong></h4>
|
| 30232 |
amit.gupta |
904 |
|
|
|
905 |
#if($grnPendingCount && $grnPendingValue )
|
|
|
906 |
<div class="col-lg-3">
|
| 32308 |
amit.gupta |
907 |
<div style="margin-top:0px"
|
|
|
908 |
class="count currency">$grnPendingCount</div>
|
| 30232 |
amit.gupta |
909 |
<div class="title">Qty</div>
|
|
|
910 |
</div>
|
|
|
911 |
<div class="col-lg-4">
|
| 32308 |
amit.gupta |
912 |
<div style="margin-top:0px"
|
|
|
913 |
class="count currency">$grnPendingValue</div>
|
| 30232 |
amit.gupta |
914 |
<div class="title" style="margin-left:5px;">Value</div>
|
|
|
915 |
</div>
|
|
|
916 |
#else
|
|
|
917 |
<div class="col-lg-3">
|
|
|
918 |
<div style="margin-top:0px" class="count currency">0</div>
|
|
|
919 |
<div class="title">Qty</div>
|
|
|
920 |
</div>
|
|
|
921 |
<div class="col-lg-4">
|
|
|
922 |
<div style="margin-top:0px" class="count currency">0</div>
|
|
|
923 |
<div class="title" style="margin-left:5px;">Value</div>
|
|
|
924 |
</div>
|
|
|
925 |
|
|
|
926 |
#end
|
| 29721 |
manish |
927 |
</div>
|
| 30232 |
amit.gupta |
928 |
</div>
|
|
|
929 |
</div>
|
|
|
930 |
<div class="col-lg-3 row" style="height: 190px;">
|
| 33995 |
vikas.jang |
931 |
<div class="info-box green-bg" style="min-height: 160px;">
|
| 29721 |
manish |
932 |
<i class="fa fa-cubes"></i>
|
|
|
933 |
<div class="count currency">$investments.get("inStock")</div>
|
| 32771 |
raveendra. |
934 |
<div class="title">#springMessage("dashboard.totalstock")</div>
|
| 29721 |
manish |
935 |
</div>
|
| 30232 |
amit.gupta |
936 |
</div>
|
|
|
937 |
</div>
|
| 31211 |
tejbeer |
938 |
<div class="row">
|
| 31805 |
amit.gupta |
939 |
|
|
|
940 |
<div class="col-lg-8 partnerIncomeContainer"></div>
|
|
|
941 |
|
|
|
942 |
<div class="col-lg-4">
|
|
|
943 |
<div class="info-box green-bg" style="height: 145px;">
|
| 34176 |
tejus.loha |
944 |
<h4 style="margin-top:-2px;margin-bottom:12px"><strong>#springMessage(
|
|
|
945 |
"dashboard.monthlytarget")</strong></h4>
|
| 31805 |
amit.gupta |
946 |
|
|
|
947 |
<div class="col-lg-6">
|
| 33995 |
vikas.jang |
948 |
<h4 style="margin-top:-2px;margin-bottom:12px;">
|
|
|
949 |
<strong style="cursor:pointer; margin-left: 9px;">Sale</strong>
|
|
|
950 |
</h4>
|
| 31805 |
amit.gupta |
951 |
<div class="col-lg-6">
|
|
|
952 |
#if($monthlyTarget && $monthlyTarget.getSaleTarget() >0)
|
| 34176 |
tejus.loha |
953 |
<div style="margin-top:0px"
|
|
|
954 |
class="count currency">$monthlyTarget.getSaleTarget()</div>
|
| 31805 |
amit.gupta |
955 |
#else
|
|
|
956 |
<div style="margin-top:0px" class="count currency">-</div>
|
|
|
957 |
#end
|
|
|
958 |
</div>
|
|
|
959 |
</div>
|
|
|
960 |
|
|
|
961 |
<div class="col-lg-6">
|
| 33995 |
vikas.jang |
962 |
<h4 style="margin-top:-2px;margin-bottom:12px;"><strong
|
| 31211 |
tejbeer |
963 |
style="font-size: 16px; cursor:pointer; margin-left: 9px;"
|
| 33995 |
vikas.jang |
964 |
>#springMessage("dashboard.purchase")</strong></h4>
|
| 31805 |
amit.gupta |
965 |
<div class="col-lg-6">
|
|
|
966 |
#if($monthlyTarget && $monthlyTarget.getPurchaseTarget() > 0)
|
|
|
967 |
<div style="margin-top:0px"
|
|
|
968 |
class="count currency">$monthlyTarget.getPurchaseTarget()</div>
|
|
|
969 |
|
|
|
970 |
#else
|
|
|
971 |
<div style="margin-top:0px" class="count currency"> -</div>
|
|
|
972 |
|
|
|
973 |
#end
|
|
|
974 |
</div>
|
|
|
975 |
</div>
|
|
|
976 |
</div>
|
|
|
977 |
|
| 31211 |
tejbeer |
978 |
</div>
|
| 30232 |
amit.gupta |
979 |
</div>
|
|
|
980 |
|
| 35396 |
amit |
981 |
<div class="row mb-6">
|
| 27875 |
amit.gupta |
982 |
<div class="Mobile">
|
|
|
983 |
#foreach($brandStockPrice in $brandStockPrices)
|
|
|
984 |
|
|
|
985 |
<div class="col-lg-3">
|
|
|
986 |
<div class="card card-default">
|
| 25680 |
amit.gupta |
987 |
<span class="card-body" style="padding-bottom:0px">
|
|
|
988 |
<table>
|
| 25214 |
amit.gupta |
989 |
<thead>
|
|
|
990 |
<tr><td colspan="2">Current Stock</td></tr>
|
|
|
991 |
</thead>
|
|
|
992 |
<tbody>
|
| 25219 |
amit.gupta |
993 |
<tr><th>Qty</th><td>$brandStockPrice.getTotalQty()pc</td></tr>
|
| 27875 |
amit.gupta |
994 |
<tr><th>Value</th><td><span
|
|
|
995 |
class="currency">$brandStockPrice.getTotalValue()</span></td></tr>
|
| 25214 |
amit.gupta |
996 |
</tbody>
|
| 25680 |
amit.gupta |
997 |
</table>
|
| 27875 |
amit.gupta |
998 |
#if($brandStockPrice.getAgedValue()>0)
|
|
|
999 |
<p style="color:#d15a57;font-weight:700" title="Focus Stock">
|
| 25680 |
amit.gupta |
1000 |
<span class="currency">$brandStockPrice.getAgedValue()</span> / $brandStockPrice.getAgedQty()
|
|
|
1001 |
</p>
|
| 27875 |
amit.gupta |
1002 |
#else
|
|
|
1003 |
<p> </p>
|
|
|
1004 |
#end
|
| 25680 |
amit.gupta |
1005 |
</span>
|
| 30232 |
amit.gupta |
1006 |
<span class="card-img" style="text-align:center">
|
| 27875 |
amit.gupta |
1007 |
<img src="${brandStockPrice.getBrandUrl()}" data-stockbrand="$brandStockPrice.getBrand()"
|
|
|
1008 |
class="cover $brandStockPrice.getBrand()" id="stockcatalog"
|
|
|
1009 |
class="$brandStockPrice.getBrand()">
|
| 27618 |
tejbeer |
1010 |
</span></span>
|
| 27875 |
amit.gupta |
1011 |
</div>
|
|
|
1012 |
</div>
|
|
|
1013 |
#end
|
|
|
1014 |
</div>
|
|
|
1015 |
<div class="row">
|
|
|
1016 |
<div class="col-lg-3">
|
|
|
1017 |
<div class="card card-default">
|
| 36570 |
amit |
1018 |
<span class="card-body" style="padding-bottom:0px">
|
| 26071 |
tejbeer |
1019 |
<table>
|
|
|
1020 |
<thead>
|
|
|
1021 |
<tr><td colspan="2">Current Stock</td></tr>
|
|
|
1022 |
</thead>
|
|
|
1023 |
<tbody>
|
|
|
1024 |
<tr><th>Value</th><td><span class="currency">$accesoriesStock</span></td></tr>
|
|
|
1025 |
</tbody>
|
|
|
1026 |
</table>
|
| 36570 |
amit |
1027 |
<p> </p>
|
| 26071 |
tejbeer |
1028 |
</span>
|
| 36570 |
amit |
1029 |
<span class="card-img" style="text-align:center">
|
|
|
1030 |
<img src="resources/images/accessories.jpg"
|
|
|
1031 |
class="cover accesoriesClass">
|
| 26071 |
tejbeer |
1032 |
</span>
|
| 27875 |
amit.gupta |
1033 |
</div>
|
|
|
1034 |
</div>
|
| 21627 |
kshitij.so |
1035 |
|
| 27875 |
amit.gupta |
1036 |
</div>
|
|
|
1037 |
</div>
|
|
|
1038 |
</div>
|
|
|
1039 |
<div class="col-lg-6">
|
| 35396 |
amit |
1040 |
<div class="offer-container" style="margin-bottom: 12px;">
|
|
|
1041 |
<div class="row">
|
|
|
1042 |
<div class="col-lg-12">
|
|
|
1043 |
<div class="form-group">
|
|
|
1044 |
<label class="control-label col-lg-4" for="months">#springMessage(
|
| 34176 |
tejus.loha |
1045 |
"dashboard.offerforthemonth")</label>
|
| 35396 |
amit |
1046 |
<div class="col-lg-2">
|
|
|
1047 |
<select class="form-control input-sm" id="mk_offer_brand_filter"
|
|
|
1048 |
name="offerBrandFilter"
|
|
|
1049 |
placeholder="brand" style="margin:auto;">
|
|
|
1050 |
<option value="" disabled>Select Brand</option>
|
|
|
1051 |
<option value="" selected>All</option>
|
|
|
1052 |
#foreach($brand in $brands)
|
|
|
1053 |
<option value="$brand">$brand</option>
|
|
|
1054 |
#end
|
|
|
1055 |
</select>
|
|
|
1056 |
</div>
|
|
|
1057 |
<div class="col-lg-4">
|
|
|
1058 |
<select class="form-control input-sm" id="offer-months" name="months"
|
|
|
1059 |
placeholder="months" style="margin:auto;">
|
|
|
1060 |
<option value="" disabled selected>Month</option>
|
|
|
1061 |
#foreach($mVM in $monthValueMap.entrySet())
|
|
|
1062 |
#if($mVM.getKey()== $month )
|
|
|
1063 |
<option value="$mVM.getKey()" selected>$mVM.getValue()</option>
|
|
|
1064 |
#else
|
|
|
1065 |
<option value="$mVM.getKey()">$mVM.getValue()</option>
|
|
|
1066 |
#end
|
|
|
1067 |
#end
|
|
|
1068 |
</select>
|
|
|
1069 |
</div>
|
|
|
1070 |
<div class="col-lg-2">
|
|
|
1071 |
<!--Training Video -->
|
|
|
1072 |
<a href="#videoModal" class="btn btn-danger" data-toggle="modal"
|
|
|
1073 |
data-src="Nv7J2L_BPCU"><span
|
|
|
1074 |
class="glyphicon glyphicon-play-circle"></span> Play Video</a>
|
|
|
1075 |
</div>
|
|
|
1076 |
</div>
|
| 34176 |
tejus.loha |
1077 |
</div>
|
| 35396 |
amit |
1078 |
</div>
|
|
|
1079 |
<div class="row">
|
|
|
1080 |
<div class="col-lg-12">
|
|
|
1081 |
<div id="offer-container">
|
|
|
1082 |
#parse("published-offers.vm")
|
|
|
1083 |
</div>
|
| 30232 |
amit.gupta |
1084 |
</div>
|
|
|
1085 |
</div>
|
| 35396 |
amit |
1086 |
<div class="offer-margin-container">
|
|
|
1087 |
<div class="modal text-center" id="offerDescription">
|
|
|
1088 |
<div class="modal-dialog modal-xl modal-dialog-scrollable">
|
|
|
1089 |
<div class="modal-content">
|
|
|
1090 |
</div>
|
| 27875 |
amit.gupta |
1091 |
</div>
|
|
|
1092 |
</div>
|
|
|
1093 |
</div>
|
| 35396 |
amit |
1094 |
|
| 27875 |
amit.gupta |
1095 |
</div>
|
| 35396 |
amit |
1096 |
<div class="row">
|
|
|
1097 |
<div class="info-box white-bg col-lg-12" id="performanceContainer">
|
|
|
1098 |
#parse("performance.vm")
|
|
|
1099 |
</div>
|
|
|
1100 |
</div>
|
| 30232 |
amit.gupta |
1101 |
|
| 30623 |
amit.gupta |
1102 |
<!--<div class="row col-lg-12 info-box white-bg" id="performanceContainer">
|
|
|
1103 |
##parse("performance-weekly.vm")
|
|
|
1104 |
</div>-->
|
| 27946 |
amit.gupta |
1105 |
#if($activatedImeis > 0)
|
|
|
1106 |
<div class="row col-lg-12 info-box white-bg">
|
|
|
1107 |
#parse("dashboard-activated-imeis.vm")
|
|
|
1108 |
</div>
|
|
|
1109 |
#end
|
| 30454 |
amit.gupta |
1110 |
#if($imeiActivationPendingCount > 0)
|
| 28482 |
amit.gupta |
1111 |
<div class="row col-lg-12 info-box white-bg">
|
| 30454 |
amit.gupta |
1112 |
#parse("dashboard-grn-pending-activated-imeis.vm")
|
| 28482 |
amit.gupta |
1113 |
</div>
|
|
|
1114 |
#end
|
| 27875 |
amit.gupta |
1115 |
<div class="row col-lg-12">
|
| 30232 |
amit.gupta |
1116 |
<ul class="nav nav-tabs">
|
| 35396 |
amit |
1117 |
<li role="presentation" class="active bar_chart"><a
|
|
|
1118 |
href="javascript:void(0)">Sale</a>
|
|
|
1119 |
</li>
|
| 34426 |
tejus.loha |
1120 |
<li class="lms_line_chart"><a href="javascript:void(0)">#springMessage(
|
|
|
1121 |
"dashboard.monthlysale")</a></li>
|
|
|
1122 |
<li class="purchase_line_chart"><a href="javascript:void(0)">#springMessage(
|
| 34176 |
tejus.loha |
1123 |
"dashboard.monthlypurchase")</a></li>
|
| 34426 |
tejus.loha |
1124 |
<li class="priceDrop_chart"><a href="javascript:void(0)">#springMessage(
|
|
|
1125 |
"dashboard.pricedrop")</a></li>
|
| 35396 |
amit |
1126 |
<li class="pending_activation_chart"><a href="javascript:void(0)">Pending
|
|
|
1127 |
Activation</a>
|
| 34426 |
tejus.loha |
1128 |
</li>
|
|
|
1129 |
<li class="pending_upgrade_offer"><a href="javascript:void(0)"> #springMessage(
|
| 34176 |
tejus.loha |
1130 |
"dashboard.upgradeoffer")</a></li>
|
| 30232 |
amit.gupta |
1131 |
</ul>
|
| 34426 |
tejus.loha |
1132 |
<div style="float:left;margin-top: 2% ; font-size: 20px" id="dateRangeDiv">
|
| 34388 |
tejus.loha |
1133 |
From:
|
|
|
1134 |
<input type="date" name="from" id="chartForm" value="">
|
|
|
1135 |
To:
|
|
|
1136 |
<input type="date" name="to" id="chartTo" value="">
|
| 30232 |
amit.gupta |
1137 |
|
| 34388 |
tejus.loha |
1138 |
<select name="quantityType" id="quantity_type_id">
|
|
|
1139 |
<option value="false" selected>Value</option>
|
|
|
1140 |
<option value="true">Quantity</option>
|
|
|
1141 |
</select>
|
|
|
1142 |
<button id="viewSaleBarChart" class="btn-success">
|
|
|
1143 |
Veiw Chart
|
|
|
1144 |
</button>
|
| 30232 |
amit.gupta |
1145 |
</div>
|
| 34388 |
tejus.loha |
1146 |
<br>
|
|
|
1147 |
<div class="row ChartContainer" style="margin:5px;margin-top: 4%">
|
| 30232 |
amit.gupta |
1148 |
|
| 34388 |
tejus.loha |
1149 |
</div>
|
| 30232 |
amit.gupta |
1150 |
|
| 34388 |
tejus.loha |
1151 |
|
| 27875 |
amit.gupta |
1152 |
</div>
|
| 34388 |
tejus.loha |
1153 |
<div class="clearfix"></div>
|
| 34426 |
tejus.loha |
1154 |
<div class="modal fade" id="modelChartModal" tabindex="-1" role="dialog"
|
|
|
1155 |
aria-labelledby="modelChartModalLabel" aria-hidden="true">
|
|
|
1156 |
<div class="modal-dialog modal-xl" role="document"> <!-- modal-lg for large modal -->
|
|
|
1157 |
<div class="modal-content">
|
|
|
1158 |
<div class="modal-header">
|
|
|
1159 |
<h3 class="modal-title" id="modelChartModalLabel">Model-wise Chart
|
| 35396 |
amit |
1160 |
<button type="button" class="close" data-dismiss="modal"
|
|
|
1161 |
aria-label="Close">
|
| 34426 |
tejus.loha |
1162 |
<span aria-hidden="true">×</span>
|
|
|
1163 |
</button>
|
|
|
1164 |
</h3>
|
|
|
1165 |
</div>
|
|
|
1166 |
<div class="modal-body model_charbar_container">
|
|
|
1167 |
<!-- Chart will be injected here -->
|
|
|
1168 |
</div>
|
|
|
1169 |
</div>
|
|
|
1170 |
</div>
|
| 34388 |
tejus.loha |
1171 |
</div>
|
| 27875 |
amit.gupta |
1172 |
</div>
|
|
|
1173 |
</div>
|
| 35396 |
amit |
1174 |
</div>
|
| 27875 |
amit.gupta |
1175 |
</section>
|
|
|
1176 |
<div class="text-center">
|
| 30695 |
amit.gupta |
1177 |
<div id="like_button_container"></div>
|
| 27875 |
amit.gupta |
1178 |
<div class="credits">
|
|
|
1179 |
<p>All rights reserved.©2017, Smart Dukaan</p>
|
|
|
1180 |
</div>
|
|
|
1181 |
</div>
|
| 30695 |
amit.gupta |
1182 |
|
| 27875 |
amit.gupta |
1183 |
</section>
|
| 34813 |
aman |
1184 |
<div class="clearfix"></div>
|
|
|
1185 |
<div id="partnerTasks" class="modal rounded" role="dialog">
|
|
|
1186 |
<div class="modal-dialog modal-xl">
|
|
|
1187 |
<div class="modal-content" id="chartData">
|
| 27875 |
amit.gupta |
1188 |
|
| 34813 |
aman |
1189 |
</div>
|
|
|
1190 |
</div>
|
|
|
1191 |
</div>
|
| 27875 |
amit.gupta |
1192 |
<script type="text/javascript">
|
|
|
1193 |
context = "${rc.contextPath}";
|
|
|
1194 |
webApiScheme = "$webApiScheme";
|
|
|
1195 |
webApiRoot = "$webApiRoot";
|
|
|
1196 |
webApiHost = "$webApiHost";
|
|
|
1197 |
webApiPort = "$webApiPort";
|
|
|
1198 |
</script>
|
|
|
1199 |
#parse("include-scripts.vm")
|
|
|
1200 |
|
|
|
1201 |
<script type="text/javascript">
|
|
|
1202 |
$(document).ready(function () {
|
| 30232 |
amit.gupta |
1203 |
$("#offerDescription").modal({backdrop: "static", keyboard: true, focus: true, show: false});
|
|
|
1204 |
var salesCloseFlag = true;
|
| 27875 |
amit.gupta |
1205 |
$("#blue-dropdown").click(function () {
|
|
|
1206 |
// console.log("clicked");
|
|
|
1207 |
if (salesCloseFlag) {
|
|
|
1208 |
var containerWidth = $(".blue-bg").width()
|
|
|
1209 |
doGetAjaxRequestHandler(context + "/getMonthSale", function (response) {
|
|
|
1210 |
$('.monthsaleContainer').html(response);
|
|
|
1211 |
|
|
|
1212 |
$(".blue-bg").css({"position": "absolute", "z-index": "10"}).width(containerWidth);
|
|
|
1213 |
});
|
|
|
1214 |
} else {
|
|
|
1215 |
$(".blue-bg").removeAttr('style');
|
|
|
1216 |
$('.monthsaleContainer').html('');
|
|
|
1217 |
}
|
|
|
1218 |
salesCloseFlag = !salesCloseFlag;
|
|
|
1219 |
});
|
|
|
1220 |
|
| 30232 |
amit.gupta |
1221 |
$(".bar_chart").click();
|
|
|
1222 |
|
|
|
1223 |
var month = 0;
|
|
|
1224 |
doGetAjaxRequestHandler(context + "/partnerTotalIncomeByMonth/" + month, function (response) {
|
|
|
1225 |
console.log(response);
|
|
|
1226 |
$(".partnerIncomeContainer").html(response);
|
|
|
1227 |
});
|
|
|
1228 |
|
| 27887 |
amit.gupta |
1229 |
var investmentCloseFlag = true;
|
|
|
1230 |
$("#purple-dropdown").click(function () {
|
|
|
1231 |
console.log('hello');
|
|
|
1232 |
$(".flash").stop();
|
|
|
1233 |
// console.log("clicked");
|
|
|
1234 |
if (investmentCloseFlag) {
|
|
|
1235 |
var containerWidth = $(".purple-bg").width()
|
|
|
1236 |
doGetAjaxRequestHandler(context + "/investmentDetails", function (response) {
|
|
|
1237 |
$('.investmentContainer').html(response);
|
|
|
1238 |
$(".purple-bg").css({"position": "absolute", "z-index": "10"}).width(containerWidth);
|
|
|
1239 |
});
|
|
|
1240 |
} else {
|
|
|
1241 |
$(".purple-bg").removeAttr('style');
|
|
|
1242 |
$('.investmentContainer').html('');
|
|
|
1243 |
}
|
|
|
1244 |
investmentCloseFlag = !investmentCloseFlag;
|
|
|
1245 |
});
|
|
|
1246 |
});
|
| 27875 |
amit.gupta |
1247 |
|
| 30232 |
amit.gupta |
1248 |
function sleep(delay) {
|
|
|
1249 |
var start = new Date().getTime();
|
|
|
1250 |
while (new Date().getTime() < start + delay) ;
|
|
|
1251 |
}
|
|
|
1252 |
|
| 28443 |
tejbeer |
1253 |
$(document).on("click", ".priceDrop_chart",
|
|
|
1254 |
function () {
|
| 30232 |
amit.gupta |
1255 |
$(".pd").css("color", "blue");
|
|
|
1256 |
$(".pd").css("background-color", "white");
|
|
|
1257 |
$(".ba").css("color", "white");
|
|
|
1258 |
$(".ba").css("background-color", "#C0C0C0");
|
|
|
1259 |
$(".pa").css("color", "white");
|
|
|
1260 |
$(".pa").css("background-color", "#C0C0C0");
|
|
|
1261 |
$(".la").css("color", "white");
|
|
|
1262 |
$(".la").css("background-color", "#C0C0C0");
|
|
|
1263 |
|
|
|
1264 |
$(".pac").css("color", "white");
|
|
|
1265 |
$(".pac").css("background-color", "#C0C0C0");
|
|
|
1266 |
|
|
|
1267 |
|
|
|
1268 |
$(".puo").css("color", "white");
|
|
|
1269 |
$(".puo").css("background-color", "#C0C0C0");
|
|
|
1270 |
|
|
|
1271 |
|
|
|
1272 |
sleep(500);
|
|
|
1273 |
doGetAjaxRequestHandler(context + "/getMonthlyPriceDrop", function (response) {
|
|
|
1274 |
|
| 28443 |
tejbeer |
1275 |
$('.ChartContainer').html(response);
|
| 30232 |
amit.gupta |
1276 |
});
|
|
|
1277 |
});
|
|
|
1278 |
|
|
|
1279 |
|
|
|
1280 |
$(document).on("click", ".pending_activation_chart",
|
| 29578 |
tejbeer |
1281 |
function () {
|
| 30232 |
amit.gupta |
1282 |
$(".pac").css("color", "blue");
|
|
|
1283 |
$(".pac").css("background-color", "white");
|
|
|
1284 |
|
|
|
1285 |
$(".pd").css("color", "white");
|
|
|
1286 |
$(".pd").css("background-color", "#C0C0C0");
|
|
|
1287 |
$(".ba").css("color", "white");
|
|
|
1288 |
$(".ba").css("background-color", "#C0C0C0");
|
|
|
1289 |
$(".pa").css("color", "white");
|
|
|
1290 |
$(".pa").css("background-color", "#C0C0C0");
|
|
|
1291 |
$(".la").css("color", "white");
|
|
|
1292 |
$(".la").css("background-color", "#C0C0C0");
|
|
|
1293 |
|
|
|
1294 |
$(".puo").css("color", "white");
|
|
|
1295 |
$(".puo").css("background-color", "#C0C0C0");
|
|
|
1296 |
|
|
|
1297 |
sleep(500);
|
|
|
1298 |
doGetAjaxRequestHandler(context + "/getMonthlyActivation", function (response) {
|
|
|
1299 |
|
| 29578 |
tejbeer |
1300 |
$('.ChartContainer').html(response);
|
| 30232 |
amit.gupta |
1301 |
});
|
|
|
1302 |
});
|
|
|
1303 |
|
|
|
1304 |
$(document).on("click", ".purchase_line_chart",
|
| 28439 |
tejbeer |
1305 |
function () {
|
| 30232 |
amit.gupta |
1306 |
$(".pa").css("color", "blue");
|
|
|
1307 |
$(".pa").css("background-color", "white");
|
|
|
1308 |
$(".ba").css("color", "white");
|
|
|
1309 |
$(".ba").css("background-color", "#C0C0C0");
|
|
|
1310 |
$(".pd").css("color", "white");
|
|
|
1311 |
$(".pd").css("background-color", "#C0C0C0");
|
|
|
1312 |
$(".la").css("color", "white");
|
|
|
1313 |
$(".la").css("background-color", "#C0C0C0");
|
|
|
1314 |
|
|
|
1315 |
$(".pac").css("color", "white");
|
|
|
1316 |
$(".pac").css("background-color", "#C0C0C0");
|
|
|
1317 |
|
|
|
1318 |
$(".puo").css("color", "white");
|
|
|
1319 |
$(".puo").css("background-color", "#C0C0C0");
|
|
|
1320 |
|
|
|
1321 |
doGetAjaxRequestHandler(context + "/getMonthlyPurchaseLineChart", function (response) {
|
| 28439 |
tejbeer |
1322 |
$('.ChartContainer').html(response);
|
| 30232 |
amit.gupta |
1323 |
});
|
|
|
1324 |
});
|
|
|
1325 |
|
| 28431 |
tejbeer |
1326 |
$(document).on("click", ".lms_line_chart",
|
|
|
1327 |
function () {
|
| 30232 |
amit.gupta |
1328 |
|
|
|
1329 |
$(".ba").css("color", "white");
|
|
|
1330 |
$(".ba").css("background-color", "#C0C0C0");
|
|
|
1331 |
$(".pa").css("color", "white");
|
|
|
1332 |
$(".pa").css("background-color", "#C0C0C0");
|
|
|
1333 |
$(".la").css("color", "blue");
|
|
|
1334 |
$(".la").css("background-color", "white");
|
|
|
1335 |
$(".pd").css("color", "white");
|
|
|
1336 |
$(".pd").css("background-color", "#C0C0C0");
|
|
|
1337 |
|
|
|
1338 |
$(".pac").css("color", "white");
|
|
|
1339 |
$(".pac").css("background-color", "#C0C0C0");
|
|
|
1340 |
|
|
|
1341 |
$(".puo").css("color", "white");
|
|
|
1342 |
$(".puo").css("background-color", "#C0C0C0");
|
|
|
1343 |
|
|
|
1344 |
doGetAjaxRequestHandler(context + "/getlmsLineChart", function (response) {
|
| 28431 |
tejbeer |
1345 |
$('.ChartContainer').html(response);
|
| 30232 |
amit.gupta |
1346 |
});
|
|
|
1347 |
});
|
|
|
1348 |
|
|
|
1349 |
$(document).on("click", ".bar_chart",
|
|
|
1350 |
function () {
|
|
|
1351 |
$(".ba").css("color", "blue");
|
|
|
1352 |
$(".ba").css("background-color", "white");
|
|
|
1353 |
$(".la").css("color", "white");
|
|
|
1354 |
$(".la").css("background-color", "#C0C0C0");
|
|
|
1355 |
$(".pa").css("color", "white");
|
|
|
1356 |
$(".pa").css("background-color", "#C0C0C0");
|
|
|
1357 |
$(".pd").css("color", "white");
|
|
|
1358 |
$(".pd").css("background-color", "#C0C0C0");
|
|
|
1359 |
|
|
|
1360 |
$(".pac").css("color", "white");
|
|
|
1361 |
$(".pac").css("background-color", "#C0C0C0");
|
|
|
1362 |
|
|
|
1363 |
$(".puo").css("color", "white");
|
|
|
1364 |
$(".puo").css("background-color", "#C0C0C0");
|
|
|
1365 |
|
|
|
1366 |
|
|
|
1367 |
doGetAjaxRequestHandler(context + "/getBarChart", function (response) {
|
| 28431 |
tejbeer |
1368 |
$('.ChartContainer').html(response);
|
| 30232 |
amit.gupta |
1369 |
});
|
|
|
1370 |
});
|
|
|
1371 |
|
|
|
1372 |
|
|
|
1373 |
$(document).on("click", ".pending_upgrade_offer",
|
|
|
1374 |
function () {
|
|
|
1375 |
|
|
|
1376 |
$(".puo").css("color", "blue");
|
|
|
1377 |
$(".puo").css("background-color", "white");
|
|
|
1378 |
|
|
|
1379 |
$(".ba").css("color", "white");
|
|
|
1380 |
$(".ba").css("background-color", "#C0C0C0");
|
|
|
1381 |
$(".la").css("color", "white");
|
|
|
1382 |
$(".la").css("background-color", "#C0C0C0");
|
|
|
1383 |
$(".pa").css("color", "white");
|
|
|
1384 |
$(".pa").css("background-color", "#C0C0C0");
|
|
|
1385 |
$(".pd").css("color", "white");
|
|
|
1386 |
$(".pd").css("background-color", "#C0C0C0");
|
|
|
1387 |
|
|
|
1388 |
$(".pac").css("color", "white");
|
|
|
1389 |
$(".pac").css("background-color", "#C0C0C0");
|
|
|
1390 |
|
|
|
1391 |
doGetAjaxRequestHandler(context + "/getMonthlySamsungUpgradeOffer", function (response) {
|
| 29707 |
tejbeer |
1392 |
$('.ChartContainer').html(response);
|
| 30232 |
amit.gupta |
1393 |
});
|
|
|
1394 |
});
|
| 27887 |
amit.gupta |
1395 |
|
| 28431 |
tejbeer |
1396 |
|
| 35675 |
amit |
1397 |
$(document).on("click", ".description-offer",
|
| 27875 |
amit.gupta |
1398 |
function (e) {
|
|
|
1399 |
var offerid = $(this).data('offerid');
|
|
|
1400 |
console.log(offerid);
|
|
|
1401 |
doGetAjaxRequestHandler(context + "/getOfferMargins?offerId="
|
|
|
1402 |
+ offerid, function (response) {
|
|
|
1403 |
$('.offer-margin-container .modal-content').html(response);
|
| 29156 |
amit.gupta |
1404 |
$("#offerDescription").modal('handleUpdate');
|
|
|
1405 |
$("#offerDescription").modal('show');
|
| 27875 |
amit.gupta |
1406 |
});
|
|
|
1407 |
});
|
|
|
1408 |
|
|
|
1409 |
|
|
|
1410 |
$(document).on("click", ".cancel-description",
|
|
|
1411 |
function (e) {
|
|
|
1412 |
$("#descriptionMenu").empty();
|
|
|
1413 |
});
|
|
|
1414 |
|
|
|
1415 |
|
| 30232 |
amit.gupta |
1416 |
$(document).on("click", "#cancel-model", function (e) {
|
|
|
1417 |
$("#descriptionMenu").empty();
|
|
|
1418 |
});
|
| 27875 |
amit.gupta |
1419 |
|
| 32249 |
amit.gupta |
1420 |
$(document).on('change', "#month-wise-total-income", function () {
|
| 27875 |
amit.gupta |
1421 |
|
| 30232 |
amit.gupta |
1422 |
var month = $(this).val();
|
|
|
1423 |
console.log(month);
|
| 28272 |
tejbeer |
1424 |
|
| 30232 |
amit.gupta |
1425 |
doGetAjaxRequestHandler(context + "/partnerTotalIncomeByMonth/" + month, function (response) {
|
|
|
1426 |
console.log(response);
|
|
|
1427 |
$(".partnerIncomeContainer").html(response);
|
|
|
1428 |
});
|
|
|
1429 |
});
|
| 30194 |
manish |
1430 |
|
| 34176 |
tejus.loha |
1431 |
$(document).on('change', "#offer-months,#mk_offer_brand_filter", function () {
|
| 34177 |
tejus.loha |
1432 |
var monthSearch = $('#offer-months').val();
|
| 34176 |
tejus.loha |
1433 |
var brandFilter = $('#mk_offer_brand_filter').val();
|
| 34177 |
tejus.loha |
1434 |
console.log("monthSearch - ", monthSearch)
|
| 34176 |
tejus.loha |
1435 |
console.log("brandFilter - ", brandFilter)
|
|
|
1436 |
var url;
|
|
|
1437 |
if (!brandFilter) {
|
| 34177 |
tejus.loha |
1438 |
url = `${context}/published-offers?yearMonth=${monthSearch}`;
|
| 34176 |
tejus.loha |
1439 |
} else {
|
| 34177 |
tejus.loha |
1440 |
url = `${context}/published-offers?yearMonth=${monthSearch}&brandFilter=${brandFilter}`;
|
| 34176 |
tejus.loha |
1441 |
}
|
|
|
1442 |
console.log("url - ", url);
|
|
|
1443 |
doGetAjaxRequestHandler(url, function (response) {
|
| 30232 |
amit.gupta |
1444 |
$("#offer-container").html(response);
|
|
|
1445 |
});
|
|
|
1446 |
});
|
|
|
1447 |
|
|
|
1448 |
|
|
|
1449 |
$(document).on("click", ".pndg-status", function () {
|
|
|
1450 |
console.log("Hello");
|
|
|
1451 |
pendingOrderStatus("main-content");
|
|
|
1452 |
});
|
|
|
1453 |
|
| 29721 |
manish |
1454 |
function pendingOrderStatus(domId) {
|
| 30232 |
amit.gupta |
1455 |
doGetAjaxRequestHandler(context + "/getPendingOrderStatus", function (response) {
|
|
|
1456 |
console.log(response);
|
|
|
1457 |
$('#' + domId).html(response);
|
|
|
1458 |
});
|
|
|
1459 |
}
|
|
|
1460 |
|
|
|
1461 |
$(document).on("click", ".billed-status", function () {
|
|
|
1462 |
console.log("Hello");
|
|
|
1463 |
billedOrderStatus("main-content");
|
|
|
1464 |
});
|
|
|
1465 |
|
| 29721 |
manish |
1466 |
function billedOrderStatus(domId) {
|
| 30232 |
amit.gupta |
1467 |
doGetAjaxRequestHandler(context + "/getBilledOrderStatus", function (response) {
|
|
|
1468 |
console.log(response);
|
|
|
1469 |
$('#' + domId).html(response);
|
|
|
1470 |
});
|
|
|
1471 |
}
|
|
|
1472 |
|
|
|
1473 |
$(document).on("click", ".shipped-status", function () {
|
|
|
1474 |
console.log("Hello");
|
|
|
1475 |
shippedOrderStatus("main-content");
|
|
|
1476 |
});
|
|
|
1477 |
|
| 29721 |
manish |
1478 |
function shippedOrderStatus(domId) {
|
| 30232 |
amit.gupta |
1479 |
doGetAjaxRequestHandler(context + "/getShippedOrderStatus", function (response) {
|
|
|
1480 |
console.log(response);
|
|
|
1481 |
$('#' + domId).html(response);
|
|
|
1482 |
});
|
|
|
1483 |
}
|
|
|
1484 |
|
|
|
1485 |
$(document).on("click", ".grn-status", function () {
|
|
|
1486 |
console.log("Hello");
|
|
|
1487 |
grnOrderStatus("main-content");
|
|
|
1488 |
});
|
|
|
1489 |
|
| 29721 |
manish |
1490 |
function grnOrderStatus(domId) {
|
| 30232 |
amit.gupta |
1491 |
doGetAjaxRequestHandler(context + "/getGrnPendingOrderStatus", function (response) {
|
|
|
1492 |
console.log(response);
|
|
|
1493 |
$('#' + domId).html(response);
|
|
|
1494 |
});
|
|
|
1495 |
}
|
|
|
1496 |
|
| 30165 |
manish |
1497 |
function lastMonthCreditIncome(domId) {
|
| 32249 |
amit.gupta |
1498 |
let monthVal = $("#month-wise-total-income").val();
|
|
|
1499 |
doGetAjaxRequestHandler(`${context}/monthWisePartnerIncome/${monthVal}`, function (response) {
|
| 30232 |
amit.gupta |
1500 |
console.log(response);
|
|
|
1501 |
$('#' + domId).html(response);
|
|
|
1502 |
});
|
|
|
1503 |
}
|
| 28272 |
tejbeer |
1504 |
|
| 30232 |
amit.gupta |
1505 |
$(document).on("click", ".pending-income", function () {
|
|
|
1506 |
console.log("Hello");
|
|
|
1507 |
lastMonthCreditIncome("main-content");
|
|
|
1508 |
});
|
|
|
1509 |
|
| 30234 |
amit.gupta |
1510 |
$(document).on("click", ".total-income-calc", function () {
|
| 30232 |
amit.gupta |
1511 |
console.log("Hello");
|
|
|
1512 |
lastMonthCreditIncome("main-content");
|
|
|
1513 |
});
|
|
|
1514 |
|
|
|
1515 |
|
| 27875 |
amit.gupta |
1516 |
</script>
|
|
|
1517 |
<script>
|
|
|
1518 |
|
|
|
1519 |
//knob
|
|
|
1520 |
$(function () {
|
|
|
1521 |
/*$(".knob").knob({
|
|
|
1522 |
'draw' : function () {
|
|
|
1523 |
$(this.i).val(this.cv + '%')
|
|
|
1524 |
}
|
|
|
1525 |
});*/
|
|
|
1526 |
$.fn.dataTable.moment('DD/MM/YYYY');
|
|
|
1527 |
$.fn.dataTable.moment('DD/MM/YYYY hh:mm');
|
|
|
1528 |
$('.currency').each(function (index, ele) {
|
|
|
1529 |
if (!isNaN(parseInt($(ele).html()))) {
|
|
|
1530 |
$(ele).html(numberToComma($(ele).html()));
|
|
|
1531 |
}
|
|
|
1532 |
});
|
|
|
1533 |
});
|
|
|
1534 |
|
|
|
1535 |
$(function () {
|
|
|
1536 |
var profile = localStorage.getItem('profile');
|
|
|
1537 |
if (profile) {
|
|
|
1538 |
$("#photo").attr("src", JSON.parse(profile).image_url);
|
|
|
1539 |
$("#fofo_name").text(JSON.parse(profile).name);
|
|
|
1540 |
} else {
|
|
|
1541 |
$("#photo").attr("src", "");
|
|
|
1542 |
$("#fofo_name").text("Welcome, User");
|
|
|
1543 |
}
|
|
|
1544 |
});
|
|
|
1545 |
|
|
|
1546 |
$(function () {
|
|
|
1547 |
var bag = localStorage.getItem('bag');
|
|
|
1548 |
console.log(bag);
|
|
|
1549 |
if (bag) {
|
|
|
1550 |
console.log("yes");
|
|
|
1551 |
//$("#cart_bar").find('span').text(10);
|
|
|
1552 |
$("#cart_bar").find('span').text(Object.keys(JSON.parse(bag)).length);
|
|
|
1553 |
} else {
|
|
|
1554 |
$("#cart_bar").find('span').text(0);
|
|
|
1555 |
}
|
|
|
1556 |
});
|
|
|
1557 |
|
|
|
1558 |
$("#logout").click(function () {
|
|
|
1559 |
localStorage.profile = undefined;
|
|
|
1560 |
});
|
|
|
1561 |
#set($partnerInvestment = $investments.get("investment"))
|
|
|
1562 |
saleAmount = numberToComma($partnerInvestment.getSalesAmount());
|
|
|
1563 |
minimumInvestmentAmount = numberToComma($partnerInvestment.getMinInvestment());
|
|
|
1564 |
totalInvestedAmount = numberToComma($partnerInvestment.getTotalInvestment());
|
|
|
1565 |
shortPercentage = numberToComma($partnerInvestment.getShortPercentage());
|
|
|
1566 |
grnPendingStockAmount = numberToComma($partnerInvestment.getGrnPendingAmount());
|
|
|
1567 |
unbilledStockAmount = numberToComma($partnerInvestment.getUnbilledAmount());
|
|
|
1568 |
inStockAmount = numberToComma($partnerInvestment.getInStockAmount());
|
|
|
1569 |
walletAmount = numberToComma($partnerInvestment.getWalletAmount());
|
|
|
1570 |
shortAmount = numberToComma($partnerInvestment.getShortInvestment());
|
|
|
1571 |
minAmountToBeAdded = numberToComma($partnerInvestment.getMinAmountToBeAdded());
|
|
|
1572 |
isInvestmentOk = $isInvestmentOk;
|
|
|
1573 |
starTotal = 5;
|
| 33551 |
amit.gupta |
1574 |
/*ratings = {
|
| 27875 |
amit.gupta |
1575 |
current: $currentMonthRating,
|
|
|
1576 |
last: $lastMonthRating,
|
|
|
1577 |
tilldate: $ratingTillDate
|
|
|
1578 |
};
|
|
|
1579 |
for (const rating in ratings) {
|
|
|
1580 |
// 2
|
|
|
1581 |
const starPercentage = (ratings[rating] / starTotal) * 100;
|
|
|
1582 |
// 3
|
|
|
1583 |
const starPercentageRounded = `${starPercentage}%`;
|
|
|
1584 |
// 4
|
|
|
1585 |
document.querySelector(`.${rating} .stars-inner`).style.width = starPercentageRounded;
|
| 33551 |
amit.gupta |
1586 |
}*/
|
| 27875 |
amit.gupta |
1587 |
|
|
|
1588 |
hasGift =$hasGift;
|
|
|
1589 |
giftItemId = $giftItemId;
|
|
|
1590 |
monthDays =$monthDays;
|
|
|
1591 |
dayOfMonth = $dayOfMonth;
|
| 27696 |
tejbeer |
1592 |
|
| 27875 |
amit.gupta |
1593 |
function showAttendanceModal() {
|
|
|
1594 |
var today = new Date().getTime();
|
|
|
1595 |
if ($.cookie("punchIn") == undefined) {
|
|
|
1596 |
document.cookie = "punchIn=" + today;
|
|
|
1597 |
}
|
|
|
1598 |
if (today >= parseInt($.cookie("punchIn"))) {
|
|
|
1599 |
doGetAjaxRequestHandler(context + "/getPunchInOutForModel", function (response) {
|
|
|
1600 |
if (response == 'true') {
|
|
|
1601 |
$('#punchInOutModal').modal('hide');
|
|
|
1602 |
clearInterval(stopInterval);
|
|
|
1603 |
} else {
|
|
|
1604 |
$("#punch-in-out-model").html(response);
|
|
|
1605 |
$('#punchInOutModal').modal('show');
|
|
|
1606 |
var time = today + 30 * 60 * 1000
|
|
|
1607 |
document.cookie = "punchIn=" + time;
|
|
|
1608 |
}
|
|
|
1609 |
});
|
|
|
1610 |
}
|
|
|
1611 |
}
|
|
|
1612 |
|
|
|
1613 |
var stopInterval;
|
|
|
1614 |
$(document).ready(function () {
|
|
|
1615 |
stopInterval = setInterval(showAttendanceModal, 100000000);
|
|
|
1616 |
|
|
|
1617 |
$('div.message-filter').on('click', 'button', function () {
|
|
|
1618 |
|
|
|
1619 |
messageType = $(this).data("messagetype");
|
|
|
1620 |
notifyTypeChange(messageType, $(this));
|
|
|
1621 |
|
|
|
1622 |
});
|
|
|
1623 |
});
|
|
|
1624 |
|
|
|
1625 |
|
|
|
1626 |
$(function () {
|
|
|
1627 |
if (navigator.geolocation) {
|
|
|
1628 |
navigator.geolocation.getCurrentPosition(showPosition);
|
|
|
1629 |
} else {
|
|
|
1630 |
console.log("Geolocation is not supported by browser.");
|
|
|
1631 |
}
|
|
|
1632 |
loaderDialogObj = bootbox.dialog({
|
|
|
1633 |
message: '<div class="container text-center"><i class="fa fa-spin fa-spinner"></i>Loading...</div>',
|
|
|
1634 |
show: false
|
|
|
1635 |
});
|
|
|
1636 |
|
| 31805 |
amit.gupta |
1637 |
/* Assign empty url value to the iframe src attribute when
|
|
|
1638 |
modal hide, which stop the video playing */
|
|
|
1639 |
$("#videoModal").on('hide.bs.modal', function () {
|
|
|
1640 |
$("#trainingVideo").attr('src', '');
|
|
|
1641 |
});
|
|
|
1642 |
|
|
|
1643 |
/* Assign the initially stored url back to the iframe src
|
|
|
1644 |
attribute when modal is displayed again */
|
|
|
1645 |
$("#videoModal").on('show.bs.modal', function (event) {
|
|
|
1646 |
let button = $(event.relatedTarget);
|
|
|
1647 |
let youtubeUrl = button.data("src");
|
|
|
1648 |
$("#trainingVideo").attr('src', `//www.youtube.com/embed/${youtubeUrl}?autoplay=1`);
|
|
|
1649 |
});
|
|
|
1650 |
|
| 27875 |
amit.gupta |
1651 |
});
|
|
|
1652 |
</script>
|
| 26318 |
tejbeer |
1653 |
<div id="punchInOutModal" class="modal" role="dialog">
|
| 27875 |
amit.gupta |
1654 |
<div class="modal-dialog">
|
|
|
1655 |
|
|
|
1656 |
<!-- Modal content-->
|
|
|
1657 |
<div class="modal-content">
|
|
|
1658 |
<div class="modal-header">
|
|
|
1659 |
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
|
1660 |
<h4 class="modal-title">Punch In Out</h4>
|
|
|
1661 |
</div>
|
|
|
1662 |
<div class="modal-body">
|
|
|
1663 |
<div id="punch-in-out-model">
|
|
|
1664 |
|
|
|
1665 |
</div>
|
|
|
1666 |
</div>
|
|
|
1667 |
</div>
|
|
|
1668 |
</div>
|
| 26071 |
tejbeer |
1669 |
</div>
|
| 27875 |
amit.gupta |
1670 |
</section>
|
|
|
1671 |
</body>
|
| 31805 |
amit.gupta |
1672 |
|
|
|
1673 |
<!-- Modal HTML -->
|
|
|
1674 |
<div id="videoModal" class="modal fade">
|
|
|
1675 |
<div class="modal-dialog">
|
|
|
1676 |
<div class="modal-content">
|
|
|
1677 |
<div class="modal-body">
|
|
|
1678 |
<div class="embed-responsive embed-responsive-16by9">
|
| 35621 |
vikas |
1679 |
<iframe id="trainingVideo" referrerpolicy="strict-origin-when-cross-origin" class="embed-responsive-item" width="560" height="315"
|
| 31805 |
amit.gupta |
1680 |
allowfullscreen allow="autoplay"></iframe>
|
|
|
1681 |
</div>
|
|
|
1682 |
</div>
|
|
|
1683 |
</div>
|
|
|
1684 |
</div>
|
|
|
1685 |
</div>
|
| 27696 |
tejbeer |
1686 |
</html>
|
|
|
1687 |
<style>
|
| 34426 |
tejus.loha |
1688 |
.nav-tabs > li {
|
| 34527 |
tejus.loha |
1689 |
font-size: 12px;
|
| 34426 |
tejus.loha |
1690 |
}
|
| 27696 |
tejbeer |
1691 |
|
| 27875 |
amit.gupta |
1692 |
.popover2 {
|
|
|
1693 |
min-width: 30em;
|
|
|
1694 |
height: 410px;
|
|
|
1695 |
overflow: auto;
|
|
|
1696 |
padding: 8px 5px;
|
|
|
1697 |
overflow-x: hidden;
|
| 27696 |
tejbeer |
1698 |
|
| 27875 |
amit.gupta |
1699 |
}
|
| 27696 |
tejbeer |
1700 |
|
| 27875 |
amit.gupta |
1701 |
.popover1 {
|
|
|
1702 |
min-width: 30em;
|
| 27696 |
tejbeer |
1703 |
|
|
|
1704 |
|
| 27875 |
amit.gupta |
1705 |
}
|
| 27696 |
tejbeer |
1706 |
|
| 27875 |
amit.gupta |
1707 |
.mark {
|
|
|
1708 |
font-size: 13px;
|
|
|
1709 |
padding: 5px 6px;
|
|
|
1710 |
border: solid 3px red;
|
|
|
1711 |
margin-bottom: -14px;
|
|
|
1712 |
color: red;
|
| 27696 |
tejbeer |
1713 |
|
| 27875 |
amit.gupta |
1714 |
}
|
| 27696 |
tejbeer |
1715 |
|
| 27875 |
amit.gupta |
1716 |
.mark.btn-pressed {
|
|
|
1717 |
color: black;
|
|
|
1718 |
background: white;
|
|
|
1719 |
font-size: 17px;
|
|
|
1720 |
border-radius: 3px;
|
|
|
1721 |
border: solid 2px black;
|
|
|
1722 |
}
|
| 27696 |
tejbeer |
1723 |
|
| 27875 |
amit.gupta |
1724 |
.price {
|
|
|
1725 |
padding: 5px 6px;
|
|
|
1726 |
font-size: 13px;
|
|
|
1727 |
border: solid 1px black;
|
|
|
1728 |
border: solid 3px red;
|
|
|
1729 |
margin-bottom: -14px;
|
|
|
1730 |
color: red;
|
| 27696 |
tejbeer |
1731 |
|
| 27875 |
amit.gupta |
1732 |
}
|
|
|
1733 |
|
|
|
1734 |
.price.btn-pressed {
|
|
|
1735 |
color: black;
|
|
|
1736 |
background: white;
|
|
|
1737 |
font-size: 17px;
|
|
|
1738 |
border: solid 2px black;
|
|
|
1739 |
}
|
|
|
1740 |
|
|
|
1741 |
.schem {
|
|
|
1742 |
color: red;
|
|
|
1743 |
padding: 5px 6px;
|
|
|
1744 |
font-size: 13px;
|
|
|
1745 |
border: solid 3px red;
|
|
|
1746 |
margin-bottom: -14px;
|
|
|
1747 |
|
|
|
1748 |
}
|
|
|
1749 |
|
|
|
1750 |
.schem.btn-pressed {
|
|
|
1751 |
color: black;
|
|
|
1752 |
background: white;
|
|
|
1753 |
font-size: 17px;
|
|
|
1754 |
border: solid 2px black;
|
|
|
1755 |
}
|
|
|
1756 |
|
|
|
1757 |
.notify-messages {
|
|
|
1758 |
min-height: 65px;
|
|
|
1759 |
}
|
|
|
1760 |
|
|
|
1761 |
.notifi {
|
|
|
1762 |
padding: 5px 6px;
|
|
|
1763 |
font-size: 13px;
|
|
|
1764 |
margin-bottom: -14px;
|
|
|
1765 |
|
|
|
1766 |
color: red;
|
|
|
1767 |
border: solid 3px red;
|
|
|
1768 |
}
|
|
|
1769 |
|
|
|
1770 |
.notifi.btn-pressed {
|
|
|
1771 |
color: black;
|
|
|
1772 |
font-size: 17px;
|
|
|
1773 |
border: solid 2px black;
|
|
|
1774 |
background: white;
|
|
|
1775 |
}
|
| 30232 |
amit.gupta |
1776 |
|
| 29728 |
manish |
1777 |
#offer-container {
|
| 30232 |
amit.gupta |
1778 |
overflow-y: auto;
|
|
|
1779 |
max-height: 367px;
|
| 29728 |
manish |
1780 |
}
|
| 27875 |
amit.gupta |
1781 |
|
| 30232 |
amit.gupta |
1782 |
|
| 27875 |
amit.gupta |
1783 |
canvas {
|
|
|
1784 |
-moz-user-select: none;
|
|
|
1785 |
-webkit-user-select: none;
|
|
|
1786 |
-ms-user-select: none;
|
|
|
1787 |
}
|
| 27696 |
tejbeer |
1788 |
</style>
|
| 28272 |
tejbeer |
1789 |
|
|
|
1790 |
|
| 27707 |
amit.gupta |
1791 |
<script type="text/javascript">
|
|
|
1792 |
window.onload = function () {
|
|
|
1793 |
var options = $chartMap;
|
|
|
1794 |
var ctx = document.getElementById('barchart').getContext('2d');
|
| 35396 |
amit |
1795 |
window.bar = new Chart(ctx, options);
|
| 27707 |
amit.gupta |
1796 |
};
|
|
|
1797 |
</script>
|
| 32936 |
ranu |
1798 |
|
|
|
1799 |
|
|
|
1800 |
<script>
|
|
|
1801 |
function makeAjaxRequest() {
|
|
|
1802 |
$.ajax({
|
|
|
1803 |
url: 'https://partners.smartdukaan.com/psi/auth-endpoint',
|
|
|
1804 |
method: 'GET',
|
|
|
1805 |
dataType: 'xml', // Assuming the response is in XML format
|
|
|
1806 |
success: function (responseXml) {
|
|
|
1807 |
var responseUrl = $(responseXml).find('response').text();
|
|
|
1808 |
if (responseUrl) {
|
|
|
1809 |
// Open a new tab with the response URL
|
|
|
1810 |
window.open(responseUrl, '_blank');
|
|
|
1811 |
} else {
|
|
|
1812 |
console.error('Response URL not found in the XML');
|
|
|
1813 |
}
|
|
|
1814 |
},
|
|
|
1815 |
error: function (jqXHR, textStatus, errorThrown) {
|
|
|
1816 |
console.error('AJAX Request Failed:', textStatus, errorThrown);
|
|
|
1817 |
}
|
|
|
1818 |
});
|
|
|
1819 |
}
|
| 34388 |
tejus.loha |
1820 |
|
|
|
1821 |
|
|
|
1822 |
$(document).on('click', '#viewSaleBarChart', function () {
|
|
|
1823 |
let from = $('#chartForm').val();
|
|
|
1824 |
let to = $('#chartTo').val();
|
|
|
1825 |
let quantity_type = $('select[name="quantityType"]').val();
|
| 34426 |
tejus.loha |
1826 |
console.log("from - ", from);
|
|
|
1827 |
console.log("to - ", to);
|
|
|
1828 |
console.log("tquantity_typeo - ", quantity_type);
|
| 34388 |
tejus.loha |
1829 |
|
| 34426 |
tejus.loha |
1830 |
doGetAjaxRequestHandler(`${context}/getBarChart?from=${from}&to=${to}&isQuantity=${quantity_type}`, function (response) {
|
|
|
1831 |
console.log("res - ", response);
|
| 34388 |
tejus.loha |
1832 |
$('.model_charbar_container').html("");
|
|
|
1833 |
$('.ChartContainer').html(response);
|
|
|
1834 |
});
|
|
|
1835 |
});
|
| 34426 |
tejus.loha |
1836 |
|
|
|
1837 |
$(document).on('click', '.nav-tabs li a', function (ev) {
|
|
|
1838 |
const $li = $(this).parent();
|
|
|
1839 |
$li.siblings().removeClass('active');
|
|
|
1840 |
$li.addClass('active');
|
|
|
1841 |
});
|
| 32936 |
ranu |
1842 |
</script>
|