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