| 27763 |
tejbeer |
1 |
$(function() {
|
| 29061 |
tejbeer |
2 |
|
|
|
3 |
$(document).on('click', ".onboarding_timeline", function() {
|
|
|
4 |
doGetAjaxRequestHandler(context + "/partnerStoreTimeline",
|
|
|
5 |
function(response) {
|
|
|
6 |
$('#' + 'main-content').html(response);
|
|
|
7 |
});
|
|
|
8 |
});
|
| 29794 |
tejbeer |
9 |
|
|
|
10 |
$(document).on('click', ".legal-kyc", function() {
|
|
|
11 |
doGetAjaxRequestHandler(context + "/getOpenPartnerPendingKyc",
|
|
|
12 |
function(response) {
|
|
|
13 |
$('#' + 'main-content').html(response);
|
|
|
14 |
});
|
|
|
15 |
});
|
|
|
16 |
|
| 27829 |
tejbeer |
17 |
$(document).on('click', '.submit1', function() {
|
|
|
18 |
var row = $(this).closest("tr");
|
|
|
19 |
console.log(row);
|
|
|
20 |
var rowIndex = $(this).closest('tr').prevAll().length;
|
| 28908 |
tejbeer |
21 |
|
| 27829 |
tejbeer |
22 |
var data0 = $(row).find("td:eq(0)").text();
|
| 28908 |
tejbeer |
23 |
|
| 27836 |
tejbeer |
24 |
var data1 = $(row).find("td:eq(1)").text();
|
| 27833 |
tejbeer |
25 |
var data2 = $(row).find("td:eq(2)").text();
|
| 27829 |
tejbeer |
26 |
if (data2 != "") {
|
|
|
27 |
data2 = data2 + "T00:00:00";
|
|
|
28 |
}
|
| 27833 |
tejbeer |
29 |
var data3 = $(row).find("td:eq(3) input[type='date']").val();
|
|
|
30 |
if (data3 != "") {
|
|
|
31 |
data3 = data3 + "T00:00:00";
|
|
|
32 |
}
|
|
|
33 |
var data4 = $(row).find("td:eq(4) input[type='text']").val();
|
| 28908 |
tejbeer |
34 |
|
| 27833 |
tejbeer |
35 |
var data5 = $(row).find("td:eq(5) input[type='number']").val();
|
| 28908 |
tejbeer |
36 |
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
var rbmAuthId = $(row).find("td:eq(6) input[type='hidden']").val();
|
|
|
40 |
|
|
|
41 |
console.log(rbmAuthId)
|
|
|
42 |
|
| 28881 |
manish |
43 |
var data6 = $(row).find("td:eq(7) input[type='text']").val();
|
| 29763 |
tejbeer |
44 |
|
|
|
45 |
|
|
|
46 |
|
| 29300 |
manish |
47 |
var data7 = $(row).find("td:eq(8) option:selected").val();
|
|
|
48 |
var data8 = $(row).find("td:eq(9) option:selected").val();
|
| 27763 |
tejbeer |
49 |
|
| 28881 |
manish |
50 |
var data9 = $(row).find("td:eq(10) input[type='text']").val();
|
|
|
51 |
var data10 = $(row).find("td:eq(11) input[type='text']").val();
|
|
|
52 |
var data11 = $(row).find("td:eq(12) input[type='date']").val();
|
| 27884 |
tejbeer |
53 |
if (data11 != "") {
|
|
|
54 |
data11 = data11 + "T00:00:00";
|
|
|
55 |
}
|
| 27813 |
tejbeer |
56 |
|
| 28881 |
manish |
57 |
var data12 = $(row).find("td:eq(13) input[type='text']").val();
|
| 27833 |
tejbeer |
58 |
|
| 28881 |
manish |
59 |
var data13 = $(row).find("td:eq(14) input[type='date']").val();
|
| 27884 |
tejbeer |
60 |
if (data13 != "") {
|
|
|
61 |
data13 = data13 + "T00:00:00";
|
| 27829 |
tejbeer |
62 |
}
|
| 27884 |
tejbeer |
63 |
var data14 = $(row).find(".kyc input[type=hidden]").val();
|
|
|
64 |
var data15 = $(row).find(".aadhar input[type=hidden]").val();
|
|
|
65 |
var data16 = $(row).find(".pan input[type=hidden]").val();
|
|
|
66 |
var data17 = $(row).find(".gst input[type=hidden]").val();
|
|
|
67 |
var data18 = $(row).find(".cancheque input[type=hidden]").val();
|
|
|
68 |
var data19 = $(row).find(".rent input[type=hidden]").val();
|
|
|
69 |
console.log("data19" + data19);
|
|
|
70 |
var data20 = $(row).find(".loi input[type=hidden]").val();
|
| 27829 |
tejbeer |
71 |
console.log("data18" + data18);
|
| 29061 |
tejbeer |
72 |
|
|
|
73 |
var docCompleted = $(row).find("td:eq(22) option:selected").val();
|
|
|
74 |
|
|
|
75 |
|
| 28977 |
manish |
76 |
var data21 = $(row).find("td:eq(23) input[type='text']").val();
|
| 28908 |
tejbeer |
77 |
console.log(data21);
|
| 28977 |
manish |
78 |
var data22 = $(row).find("td:eq(24) input[type='date']").val();
|
| 27829 |
tejbeer |
79 |
if (data22 != "") {
|
|
|
80 |
data22 = data22 + "T00:00:00";
|
|
|
81 |
}
|
| 28977 |
manish |
82 |
var data23 = $(row).find("td:eq(25) input[type='date']").val();
|
| 27829 |
tejbeer |
83 |
if (data23 != "") {
|
|
|
84 |
data23 = data23 + "T00:00:00";
|
|
|
85 |
}
|
| 28977 |
manish |
86 |
var data24 = $(row).find("td:eq(26) input[type='date']").val();
|
| 27833 |
tejbeer |
87 |
if (data24 != "") {
|
|
|
88 |
data24 = data24 + "T00:00:00";
|
| 27829 |
tejbeer |
89 |
}
|
| 28977 |
manish |
90 |
var data25 = $(row).find("td:eq(27) input[type='date']").val();
|
| 27884 |
tejbeer |
91 |
if (data25 != "") {
|
|
|
92 |
data25 = data25 + "T00:00:00";
|
| 27829 |
tejbeer |
93 |
}
|
| 28977 |
manish |
94 |
var data26 = $(row).find("td:eq(28) input[type='text']").val();
|
| 27813 |
tejbeer |
95 |
|
| 28977 |
manish |
96 |
var data27 = $(row).find("td:eq(29) input[type='date']").val();
|
| 27833 |
tejbeer |
97 |
if (data27 != "") {
|
|
|
98 |
data27 = data27 + "T00:00:00";
|
|
|
99 |
}
|
| 27829 |
tejbeer |
100 |
|
| 28977 |
manish |
101 |
var data28 = $(row).find("td:eq(30) input[type='date']").val();
|
| 27833 |
tejbeer |
102 |
|
| 27884 |
tejbeer |
103 |
if (data28 != "") {
|
|
|
104 |
data28 = data28 + "T00:00:00";
|
|
|
105 |
}
|
| 28977 |
manish |
106 |
var data29 = $(row).find("td:eq(31) input[type='date']").val();
|
| 27833 |
tejbeer |
107 |
|
| 28848 |
manish |
108 |
if (data29 != "") {
|
|
|
109 |
data29 = data29 + "T00:00:00";
|
|
|
110 |
}
|
| 27884 |
tejbeer |
111 |
|
| 28977 |
manish |
112 |
var data30 = $(row).find("td:eq(32) input[type='checkbox']").is(":checked") ? 1 : 0;
|
| 27884 |
tejbeer |
113 |
|
| 27829 |
tejbeer |
114 |
var prebookingListingObject = {};
|
|
|
115 |
prebookingListingObject['id'] = data0
|
| 28908 |
tejbeer |
116 |
|
|
|
117 |
|
| 27833 |
tejbeer |
118 |
prebookingListingObject['createdTimestamp'] = data2
|
|
|
119 |
prebookingListingObject['acquiredDate'] = data3
|
|
|
120 |
prebookingListingObject['outletName'] = data4
|
|
|
121 |
prebookingListingObject['phoneNumber'] = data5
|
| 28908 |
tejbeer |
122 |
|
|
|
123 |
prebookingListingObject['authId'] = rbmAuthId
|
| 27833 |
tejbeer |
124 |
prebookingListingObject['city'] = data6
|
|
|
125 |
prebookingListingObject['stateHead'] = data7
|
|
|
126 |
prebookingListingObject['bdm'] = data8
|
| 27829 |
tejbeer |
127 |
|
| 27833 |
tejbeer |
128 |
prebookingListingObject['agreedBrandFees'] = data9
|
| 28908 |
tejbeer |
129 |
prebookingListingObject['receivedBrandFees'] = data10
|
|
|
130 |
prebookingListingObject['finalBrandFees'] = data11
|
| 27884 |
tejbeer |
131 |
prebookingListingObject['agreedWallet'] = data12
|
|
|
132 |
prebookingListingObject['investmentDate'] = data13
|
|
|
133 |
prebookingListingObject['kyc'] = data14
|
|
|
134 |
prebookingListingObject['aadharDoc'] = data15
|
|
|
135 |
prebookingListingObject['panDoc'] = data16
|
|
|
136 |
prebookingListingObject['gst'] = data17
|
|
|
137 |
prebookingListingObject['cancelCheque'] = data18
|
|
|
138 |
prebookingListingObject['rentAgreement'] = data19
|
|
|
139 |
prebookingListingObject['loi'] = data20
|
| 28977 |
manish |
140 |
prebookingListingObject['docCompleted'] = docCompleted
|
| 27884 |
tejbeer |
141 |
prebookingListingObject['code'] = data21
|
|
|
142 |
prebookingListingObject['receePlaned'] = data22
|
|
|
143 |
prebookingListingObject['receeActual'] = data23
|
| 28900 |
manish |
144 |
prebookingListingObject['deploymentPlanedDate'] = data24
|
|
|
145 |
prebookingListingObject['deploymentDate'] = data25
|
| 27884 |
tejbeer |
146 |
prebookingListingObject['stockPayment'] = data26
|
|
|
147 |
prebookingListingObject['expectedDate'] = data27
|
|
|
148 |
prebookingListingObject['payDate'] = data28
|
| 28848 |
manish |
149 |
prebookingListingObject['inaugrationDate'] = data29
|
|
|
150 |
prebookingListingObject['billingStatus'] = data30
|
| 27829 |
tejbeer |
151 |
|
|
|
152 |
var jsonObject = JSON.stringify(prebookingListingObject);
|
|
|
153 |
|
|
|
154 |
console.log(jsonObject);
|
|
|
155 |
|
|
|
156 |
if (confirm("Are you sure you want to submit the request") == true) {
|
| 28908 |
tejbeer |
157 |
doAjaxRequestWithJsonHandler(context + "/partnerOnBoardingListing", "POST", jsonObject, function(response) {
|
|
|
158 |
row.html(response);
|
|
|
159 |
row.css("background-color", "#F8F8FF");
|
| 27858 |
tejbeer |
160 |
|
| 27842 |
tejbeer |
161 |
});
|
| 27829 |
tejbeer |
162 |
}
|
|
|
163 |
|
|
|
164 |
});
|
| 28908 |
tejbeer |
165 |
|
| 28600 |
amit.gupta |
166 |
$(document).on('click', '.submit-design', function() {
|
|
|
167 |
var row = $(this).closest("tr");
|
|
|
168 |
console.log(row);
|
|
|
169 |
var rowIndex = $(this).closest('tr').prevAll().length;
|
| 28908 |
tejbeer |
170 |
|
| 28600 |
amit.gupta |
171 |
var id = $(row).find("td:eq(0)").text();
|
| 28908 |
tejbeer |
172 |
|
| 28648 |
amit.gupta |
173 |
var outletName = $(row).find("td:eq(1) input[type='text']").val();
|
| 28600 |
amit.gupta |
174 |
var createdTimestamp = $(row).find("td:eq(2)").text();
|
|
|
175 |
if (createdTimestamp != "") {
|
|
|
176 |
createdTimestamp = createdTimestamp + "T00:00:00";
|
|
|
177 |
}
|
|
|
178 |
var acquiredDate = $(row).find("td:eq(3) input[type='date']").val();
|
|
|
179 |
if (acquiredDate != "") {
|
|
|
180 |
acquiredDate = acquiredDate + "T00:00:00";
|
|
|
181 |
}
|
| 28908 |
tejbeer |
182 |
|
| 28600 |
amit.gupta |
183 |
var phoneNumber = $(row).find("td:eq(4) input[type='number']").val();
|
| 28908 |
tejbeer |
184 |
|
|
|
185 |
|
|
|
186 |
|
| 28610 |
amit.gupta |
187 |
var city = $(row).find("td:eq(5) input[type='text']").val();
|
| 27829 |
tejbeer |
188 |
|
| 29763 |
tejbeer |
189 |
|
| 28610 |
amit.gupta |
190 |
var agreedBrandFees = $(row).find("td:eq(8) input[type='text']").val();
|
| 27829 |
tejbeer |
191 |
|
| 28908 |
tejbeer |
192 |
console.log("agreedBrandFees" + agreedBrandFees);
|
|
|
193 |
|
|
|
194 |
|
| 28610 |
amit.gupta |
195 |
var investmentDate = $(row).find("td:eq(9) input[type='date']").val();
|
| 28600 |
amit.gupta |
196 |
if (investmentDate != "") {
|
|
|
197 |
investmentDate = investmentDate + "T00:00:00";
|
|
|
198 |
}
|
| 28908 |
tejbeer |
199 |
console.log("investmentDate" + investmentDate);
|
|
|
200 |
|
|
|
201 |
var loi = $(row).find(".loiDesign input[type=hidden]").val();
|
| 28600 |
amit.gupta |
202 |
console.log("loi" + loi);
|
| 28908 |
tejbeer |
203 |
|
| 28610 |
amit.gupta |
204 |
var kycDesign = $(row).find(".kycDesign input[type=hidden]").val();
|
| 28908 |
tejbeer |
205 |
|
| 28600 |
amit.gupta |
206 |
var code = $(row).find("td:eq(12) input[type='text']").val();
|
| 28908 |
tejbeer |
207 |
console.log("code" + code);
|
|
|
208 |
|
|
|
209 |
|
| 28600 |
amit.gupta |
210 |
var receePlaned = $(row).find("td:eq(13) input[type='date']").val();
|
|
|
211 |
if (receePlaned != "") {
|
|
|
212 |
receePlaned = receePlaned + "T00:00:00";
|
|
|
213 |
}
|
|
|
214 |
var receeActual = $(row).find("td:eq(14) input[type='date']").val();
|
|
|
215 |
if (receeActual != "") {
|
|
|
216 |
receeActual = receeActual + "T00:00:00";
|
|
|
217 |
}
|
| 28908 |
tejbeer |
218 |
console.log("receeActual" + receeActual);
|
|
|
219 |
|
|
|
220 |
|
| 28848 |
manish |
221 |
var twoDBoqPlanedDate = $(row).find("td:eq(16) input[type='date']").val();
|
| 28600 |
amit.gupta |
222 |
if (twoDBoqPlanedDate != "") {
|
|
|
223 |
twoDBoqPlanedDate = twoDBoqPlanedDate + "T00:00:00";
|
|
|
224 |
}
|
| 28908 |
tejbeer |
225 |
|
| 28848 |
manish |
226 |
var twoDBoqdate = $(row).find("td:eq(17) input[type='date']").val();
|
| 28600 |
amit.gupta |
227 |
if (twoDBoqdate != "") {
|
|
|
228 |
twoDBoqdate = twoDBoqdate + "T00:00:00";
|
|
|
229 |
}
|
|
|
230 |
var twodBOQ = $(row).find(".twoDBoq input[type=hidden]").val();
|
| 28908 |
tejbeer |
231 |
|
| 28848 |
manish |
232 |
var threeDBoqPlanedDate = $(row).find("td:eq(19) input[type='date']").val();
|
| 28600 |
amit.gupta |
233 |
if (threeDBoqPlanedDate != "") {
|
|
|
234 |
threeDBoqPlanedDate = threeDBoqPlanedDate + "T00:00:00";
|
|
|
235 |
}
|
| 28908 |
tejbeer |
236 |
|
| 28848 |
manish |
237 |
var threeDBoqdate = $(row).find("td:eq(20) input[type='date']").val();
|
| 28600 |
amit.gupta |
238 |
if (threeDBoqdate != "") {
|
|
|
239 |
threeDBoqdate = threeDBoqdate + "T00:00:00";
|
|
|
240 |
}
|
| 28908 |
tejbeer |
241 |
|
| 28600 |
amit.gupta |
242 |
var threeDBoq = $(row).find(".threeDBoq input[type=hidden]").val();
|
| 28908 |
tejbeer |
243 |
|
| 28848 |
manish |
244 |
var poVenderPlanedDate = $(row).find("td:eq(22) input[type='date']").val();
|
| 28600 |
amit.gupta |
245 |
if (poVenderPlanedDate != "") {
|
|
|
246 |
poVenderPlanedDate = poVenderPlanedDate + "T00:00:00";
|
|
|
247 |
}
|
| 28848 |
manish |
248 |
var poVenderDate = $(row).find("td:eq(23) input[type='date']").val();
|
| 28600 |
amit.gupta |
249 |
if (poVenderDate != "") {
|
|
|
250 |
poVenderDate = poVenderDate + "T00:00:00";
|
|
|
251 |
}
|
| 28908 |
tejbeer |
252 |
|
|
|
253 |
|
| 28848 |
manish |
254 |
var briefingPartnerPlaned = $(row).find("td:eq(24) input[type='date']").val();
|
| 28600 |
amit.gupta |
255 |
if (briefingPartnerPlaned != "") {
|
|
|
256 |
briefingPartnerPlaned = briefingPartnerPlaned + "T00:00:00";
|
|
|
257 |
}
|
| 28848 |
manish |
258 |
var briefingPartner = $(row).find("td:eq(25) input[type='date']").val();
|
| 28600 |
amit.gupta |
259 |
if (briefingPartner != "") {
|
|
|
260 |
briefingPartner = briefingPartner + "T00:00:00";
|
|
|
261 |
}
|
| 28848 |
manish |
262 |
var deploymentPlanedDate = $(row).find("td:eq(26) input[type='date']").val();
|
| 28600 |
amit.gupta |
263 |
if (deploymentPlanedDate != "") {
|
|
|
264 |
deploymentPlanedDate = deploymentPlanedDate + "T00:00:00";
|
|
|
265 |
}
|
| 28848 |
manish |
266 |
var deploymentDate = $(row).find("td:eq(27) input[type='date']").val();
|
| 28600 |
amit.gupta |
267 |
if (deploymentDate != "") {
|
|
|
268 |
deploymentDate = deploymentDate + "T00:00:00";
|
|
|
269 |
}
|
| 28908 |
tejbeer |
270 |
|
|
|
271 |
|
| 28848 |
manish |
272 |
var finalPicsOutletPlanedDate = $(row).find("td:eq(28) input[type='date']").val();
|
| 28600 |
amit.gupta |
273 |
if (finalPicsOutletPlanedDate != "") {
|
|
|
274 |
finalPicsOutletPlanedDate = finalPicsOutletPlanedDate + "T00:00:00";
|
|
|
275 |
}
|
| 28908 |
tejbeer |
276 |
|
| 28848 |
manish |
277 |
var finalPicsOutletDate = $(row).find("td:eq(29) input[type='date']").val();
|
| 28600 |
amit.gupta |
278 |
if (finalPicsOutletDate != "") {
|
|
|
279 |
finalPicsOutletDate = finalPicsOutletDate + "T00:00:00";
|
|
|
280 |
}
|
|
|
281 |
var finalPicsOutlet = $(row).find(".finalPics input[type=hidden]").val();
|
| 27829 |
tejbeer |
282 |
|
| 28848 |
manish |
283 |
var nocDate = $(row).find("td:eq(31) input[type='date']").val();
|
| 28600 |
amit.gupta |
284 |
if (nocDate != "") {
|
|
|
285 |
nocDate = nocDate + "T00:00:00";
|
|
|
286 |
}
|
|
|
287 |
var noc = $(row).find(".noc input[type=hidden]").val();
|
|
|
288 |
var prebookingListingObject = {};
|
|
|
289 |
prebookingListingObject['id'] = id
|
| 28908 |
tejbeer |
290 |
prebookingListingObject['outletName'] = outletName
|
|
|
291 |
|
| 28600 |
amit.gupta |
292 |
prebookingListingObject['createdTimestamp'] = createdTimestamp
|
|
|
293 |
prebookingListingObject['acquiredDate'] = acquiredDate
|
| 28908 |
tejbeer |
294 |
|
| 28600 |
amit.gupta |
295 |
prebookingListingObject['phoneNumber'] = phoneNumber
|
| 28908 |
tejbeer |
296 |
|
| 28600 |
amit.gupta |
297 |
prebookingListingObject['city'] = city
|
|
|
298 |
|
| 29763 |
tejbeer |
299 |
|
| 28600 |
amit.gupta |
300 |
prebookingListingObject['agreedBrandFees'] = agreedBrandFees
|
| 28908 |
tejbeer |
301 |
|
| 28600 |
amit.gupta |
302 |
prebookingListingObject['investmentDate'] = investmentDate
|
|
|
303 |
prebookingListingObject['loi'] = loi
|
| 28610 |
amit.gupta |
304 |
prebookingListingObject['kycDesign'] = kycDesign
|
| 28600 |
amit.gupta |
305 |
prebookingListingObject['code'] = code
|
|
|
306 |
prebookingListingObject['receePlaned'] = receePlaned
|
|
|
307 |
prebookingListingObject['receeActual'] = receeActual
|
|
|
308 |
prebookingListingObject['twoDBoqPlanedDate'] = twoDBoqPlanedDate
|
|
|
309 |
prebookingListingObject['twoDBoqdate'] = twoDBoqdate
|
|
|
310 |
prebookingListingObject['twodBOQ'] = twodBOQ
|
|
|
311 |
prebookingListingObject['threeDBoqPlanedDate'] = threeDBoqPlanedDate
|
|
|
312 |
prebookingListingObject['threeDBoqdate'] = threeDBoqdate
|
|
|
313 |
prebookingListingObject['threeDBoq'] = threeDBoq
|
|
|
314 |
prebookingListingObject['poVenderPlanedDate'] = poVenderPlanedDate
|
|
|
315 |
prebookingListingObject['poVenderDate'] = poVenderDate
|
| 28908 |
tejbeer |
316 |
|
| 28600 |
amit.gupta |
317 |
prebookingListingObject['briefingPartnerPlaned'] = briefingPartnerPlaned
|
|
|
318 |
prebookingListingObject['briefingPartner'] = briefingPartner
|
|
|
319 |
prebookingListingObject['deploymentPlanedDate'] = deploymentPlanedDate
|
|
|
320 |
prebookingListingObject['deploymentDate'] = deploymentDate
|
|
|
321 |
prebookingListingObject['finalPicsOutletPlanedDate'] = finalPicsOutletPlanedDate
|
|
|
322 |
prebookingListingObject['finalPicsOutletDate'] = finalPicsOutletDate
|
|
|
323 |
prebookingListingObject['finalPicsOutlet'] = finalPicsOutlet
|
|
|
324 |
prebookingListingObject['nocDate'] = nocDate
|
|
|
325 |
prebookingListingObject['noc'] = noc
|
|
|
326 |
|
| 28908 |
tejbeer |
327 |
|
|
|
328 |
|
| 28600 |
amit.gupta |
329 |
var jsonObject = JSON.stringify(prebookingListingObject);
|
|
|
330 |
|
|
|
331 |
console.log(jsonObject);
|
|
|
332 |
|
|
|
333 |
if (confirm("Are you sure you want to submit the request") == true) {
|
| 28908 |
tejbeer |
334 |
doAjaxRequestWithJsonHandler(context + "/partnerOnboardingDesignaTatPanel", "POST", jsonObject, function(response) {
|
|
|
335 |
row.html(response);
|
|
|
336 |
row.css("background-color", "#F8F8FF");
|
| 28600 |
amit.gupta |
337 |
|
|
|
338 |
});
|
|
|
339 |
}
|
|
|
340 |
|
|
|
341 |
});
|
|
|
342 |
|
|
|
343 |
|
| 28940 |
manish |
344 |
$(document).on('click', ".noticPartneronboarding", function() {
|
|
|
345 |
var id = $(this).data('id');
|
|
|
346 |
console.log(id);
|
|
|
347 |
if (confirm("Are you sure you want to Notice Isssue this Partner") == true) {
|
|
|
348 |
doPostAjaxRequestHandler(context + "/partnerOnboardingNotice?id=" + id,
|
|
|
349 |
function(response) {
|
|
|
350 |
|
|
|
351 |
console.log("reponse" + response);
|
|
|
352 |
if (response == 'true') {
|
|
|
353 |
alert("successfully Done");
|
| 29061 |
tejbeer |
354 |
|
|
|
355 |
|
| 28940 |
manish |
356 |
panelListing("main-content");
|
|
|
357 |
}
|
|
|
358 |
});
|
| 29061 |
tejbeer |
359 |
}
|
| 28940 |
manish |
360 |
});
|
| 29061 |
tejbeer |
361 |
|
|
|
362 |
|
|
|
363 |
|
| 28900 |
manish |
364 |
$(document).on('click', ".holdPartnerOnboarding", function() {
|
|
|
365 |
var id = $(this).data('id');
|
|
|
366 |
console.log(id);
|
|
|
367 |
if (confirm("Are you sure you want to hold this Partner") == true) {
|
|
|
368 |
doPostAjaxRequestHandler(context + "/partnerOnboardingHold?id=" + id,
|
|
|
369 |
function(response) {
|
| 28600 |
amit.gupta |
370 |
|
| 28900 |
manish |
371 |
console.log("reponse" + response);
|
|
|
372 |
if (response == 'true') {
|
|
|
373 |
alert("successfully Done");
|
| 29061 |
tejbeer |
374 |
|
|
|
375 |
|
| 28900 |
manish |
376 |
panelListing("main-content");
|
|
|
377 |
}
|
|
|
378 |
});
|
| 29061 |
tejbeer |
379 |
}
|
| 28900 |
manish |
380 |
});
|
| 29061 |
tejbeer |
381 |
|
|
|
382 |
|
| 28900 |
manish |
383 |
$(document).on('click', ".unHoldPartnerOnboarding", function() {
|
|
|
384 |
var id = $(this).data('id');
|
|
|
385 |
console.log(id);
|
|
|
386 |
if (confirm("Are you sure you want to Unhold this Partner") == true) {
|
|
|
387 |
doPostAjaxRequestHandler(context + "/partnerOnboardingUnhold?id=" + id,
|
|
|
388 |
function(response) {
|
|
|
389 |
|
|
|
390 |
console.log("reponse" + response);
|
|
|
391 |
if (response == 'true') {
|
|
|
392 |
alert("successfully Done");
|
|
|
393 |
panelListing("main-content");
|
|
|
394 |
}
|
|
|
395 |
});
|
| 29061 |
tejbeer |
396 |
}
|
| 28900 |
manish |
397 |
});
|
| 29061 |
tejbeer |
398 |
|
| 29763 |
tejbeer |
399 |
|
|
|
400 |
|
|
|
401 |
|
|
|
402 |
$(document).on('click', ".addKyc", function() {
|
|
|
403 |
var id = $(this).data('id');
|
|
|
404 |
console.log(id);
|
|
|
405 |
doAjaxRequestHandler(context + "/getFofoKyc?onBoardingId=" + id, "GET",
|
|
|
406 |
function(response) {
|
|
|
407 |
|
|
|
408 |
console.log(response)
|
|
|
409 |
$('.' + "fofoKycContainer").html(response);
|
|
|
410 |
|
|
|
411 |
});
|
|
|
412 |
|
|
|
413 |
});
|
|
|
414 |
|
|
|
415 |
|
|
|
416 |
var table = $('#fofokyctable').DataTable();
|
|
|
417 |
$(document).on('dblclick', '#fofokyctable tbody tr', function() {
|
|
|
418 |
console.log("dblclick");
|
|
|
419 |
var data = table.row(this).data();
|
|
|
420 |
|
|
|
421 |
$(this).find(":selected").attr('disabled', false).show();
|
|
|
422 |
$(this).find(":input").attr('disabled', false).show();
|
|
|
423 |
|
|
|
424 |
|
|
|
425 |
});
|
|
|
426 |
|
|
|
427 |
|
|
|
428 |
|
|
|
429 |
|
|
|
430 |
$(document).on('click', '.addKycdetail', function() {
|
|
|
431 |
var row = $(this).closest("tr");
|
|
|
432 |
|
|
|
433 |
var onBoardingId = $(this).data('onboardingid');
|
|
|
434 |
|
|
|
435 |
console.log(row);
|
|
|
436 |
var rowIndex = $(this).closest('tr').prevAll().length;
|
|
|
437 |
var id = $(row).find("td:eq(0)").text();
|
|
|
438 |
var firstName = $(row).find("td:eq(1) input[type='text']").val();
|
|
|
439 |
var middleName = $(row).find("td:eq(2) input[type='text']").val();
|
|
|
440 |
var lastName = $(row).find("td:eq(3) input[type='text']").val();
|
|
|
441 |
|
| 29774 |
tejbeer |
442 |
var fatherName = $(row).find("td:eq(4) input[type='text']").val();
|
| 29763 |
tejbeer |
443 |
|
| 29774 |
tejbeer |
444 |
var dob = $(row).find("td:eq(5) input[type='date']").val();
|
|
|
445 |
|
| 29763 |
tejbeer |
446 |
if (dob != "") {
|
|
|
447 |
|
|
|
448 |
dob = dob + "T00:00:00";
|
|
|
449 |
}
|
|
|
450 |
|
| 29774 |
tejbeer |
451 |
var gender = $(row).find("td:eq(6) option:selected").val();
|
|
|
452 |
var maritalStatus = $(row).find("td:eq(7) option:selected").val();
|
| 29763 |
tejbeer |
453 |
|
| 29774 |
tejbeer |
454 |
var email = $(row).find("td:eq(8) input[type='text']").val();
|
| 29763 |
tejbeer |
455 |
|
| 29774 |
tejbeer |
456 |
var mobile = $(row).find("td:eq(9) input[type='text']").val();
|
|
|
457 |
var pan = $(row).find("td:eq(10) input[type='text']").val();
|
| 29763 |
tejbeer |
458 |
|
|
|
459 |
|
|
|
460 |
var pandocId = $(row).find(".pandoc input[type=hidden]").val();
|
|
|
461 |
|
| 29774 |
tejbeer |
462 |
var poaNO = $(row).find("td:eq(12) input[type='text']").val();
|
|
|
463 |
var poaType = $(row).find("td:eq(13) option:selected").val();
|
| 29763 |
tejbeer |
464 |
|
|
|
465 |
var paoFrontd = $(row).find(".paof input[type=hidden]").val();
|
|
|
466 |
var paoBackId = $(row).find(".paob input[type=hidden]").val();
|
|
|
467 |
|
| 29774 |
tejbeer |
468 |
var address1 = $(row).find("td:eq(16) input[type='text']").val();
|
| 29763 |
tejbeer |
469 |
|
| 29774 |
tejbeer |
470 |
var address2 = $(row).find("td:eq(17) input[type='text']").val();
|
| 29763 |
tejbeer |
471 |
|
| 29774 |
tejbeer |
472 |
var address3 = $(row).find("td:eq(18) input[type='text']").val();
|
| 29763 |
tejbeer |
473 |
|
| 29774 |
tejbeer |
474 |
var city = $(row).find("td:eq(19) input[type='text']").val();
|
| 29763 |
tejbeer |
475 |
|
|
|
476 |
|
| 29774 |
tejbeer |
477 |
var state = $(row).find("td:eq(20) input[type='text']").val();
|
| 29763 |
tejbeer |
478 |
|
| 29774 |
tejbeer |
479 |
var pincode = $(row).find("td:eq(21) input[type='text']").val();
|
| 29763 |
tejbeer |
480 |
|
|
|
481 |
|
|
|
482 |
|
|
|
483 |
console.log(city)
|
|
|
484 |
if (dob === "") {
|
|
|
485 |
alert("dob is required");
|
|
|
486 |
return;
|
|
|
487 |
}
|
|
|
488 |
|
|
|
489 |
|
|
|
490 |
if (gender === "") {
|
|
|
491 |
alert("gender is required");
|
|
|
492 |
return;
|
|
|
493 |
}
|
|
|
494 |
|
| 29774 |
tejbeer |
495 |
|
|
|
496 |
if (fatherName === "") {
|
|
|
497 |
alert("Father Name is required");
|
|
|
498 |
return;
|
|
|
499 |
}
|
|
|
500 |
|
| 29763 |
tejbeer |
501 |
if (maritalStatus === "") {
|
|
|
502 |
alert("Marital Status is required");
|
|
|
503 |
return;
|
|
|
504 |
}
|
|
|
505 |
|
|
|
506 |
if (email === "") {
|
|
|
507 |
alert("email is required");
|
|
|
508 |
return;
|
|
|
509 |
}
|
|
|
510 |
|
|
|
511 |
if (mobile === "") {
|
|
|
512 |
alert("mobile is required");
|
|
|
513 |
return;
|
|
|
514 |
}
|
|
|
515 |
|
|
|
516 |
if (pan === "") {
|
|
|
517 |
alert("pan is required");
|
|
|
518 |
return;
|
|
|
519 |
}
|
|
|
520 |
|
|
|
521 |
if (pandocId === "") {
|
|
|
522 |
alert("panDoc is required");
|
|
|
523 |
return;
|
|
|
524 |
}
|
|
|
525 |
|
|
|
526 |
if (poaNO === "") {
|
|
|
527 |
alert("paoNO is required");
|
|
|
528 |
return;
|
|
|
529 |
}
|
|
|
530 |
|
|
|
531 |
if (poaType === "") {
|
|
|
532 |
alert("paoType is required");
|
|
|
533 |
return;
|
|
|
534 |
}
|
|
|
535 |
|
|
|
536 |
if (paoFrontd === "") {
|
|
|
537 |
alert("paoFrontd is required");
|
|
|
538 |
return;
|
|
|
539 |
}
|
|
|
540 |
|
|
|
541 |
if (paoBackId === "") {
|
|
|
542 |
alert("paoBackId is required");
|
|
|
543 |
return;
|
|
|
544 |
}
|
|
|
545 |
|
|
|
546 |
if (address1 === "") {
|
|
|
547 |
alert("address1 is required");
|
|
|
548 |
return;
|
|
|
549 |
}
|
|
|
550 |
if (address2 === "") {
|
|
|
551 |
alert("address2 is required");
|
|
|
552 |
return;
|
|
|
553 |
}
|
|
|
554 |
|
|
|
555 |
if (city === "") {
|
|
|
556 |
alert("city is required");
|
|
|
557 |
return;
|
|
|
558 |
}
|
|
|
559 |
if (state === "") {
|
|
|
560 |
alert("state is required");
|
|
|
561 |
return;
|
|
|
562 |
}
|
|
|
563 |
|
|
|
564 |
if (pincode === "") {
|
|
|
565 |
alert("pincode is required");
|
|
|
566 |
return;
|
|
|
567 |
}
|
|
|
568 |
|
|
|
569 |
var kycDetail = {};
|
|
|
570 |
kycDetail['id'] = id
|
|
|
571 |
|
|
|
572 |
kycDetail['firstName'] = firstName
|
|
|
573 |
kycDetail['middleName'] = middleName
|
|
|
574 |
kycDetail['lastName'] = lastName
|
|
|
575 |
|
| 29774 |
tejbeer |
576 |
kycDetail['fatherName'] = fatherName
|
|
|
577 |
|
| 29763 |
tejbeer |
578 |
kycDetail['dob'] = dob
|
|
|
579 |
kycDetail['gender'] = gender
|
|
|
580 |
kycDetail['maritalStatus'] = maritalStatus
|
|
|
581 |
kycDetail['email'] = email
|
|
|
582 |
kycDetail['mobile'] = mobile
|
|
|
583 |
kycDetail['pan'] = pan
|
|
|
584 |
kycDetail['pandocId'] = pandocId
|
|
|
585 |
kycDetail['poaNo'] = poaNO
|
|
|
586 |
kycDetail['poaType'] = poaType
|
|
|
587 |
kycDetail['paoFrontd'] = paoFrontd
|
|
|
588 |
kycDetail['paoBackId'] = paoBackId
|
|
|
589 |
|
|
|
590 |
kycDetail['address1'] = address1
|
|
|
591 |
kycDetail['address2'] = address2
|
|
|
592 |
kycDetail['address3'] = address3
|
|
|
593 |
kycDetail['city'] = city
|
|
|
594 |
kycDetail['state'] = state
|
|
|
595 |
kycDetail['pincode'] = pincode
|
|
|
596 |
kycDetail['onboardingId'] = onBoardingId
|
|
|
597 |
|
|
|
598 |
var jsonObject = JSON.stringify(kycDetail);
|
|
|
599 |
console.log("kycDetail" + jsonObject);
|
|
|
600 |
|
|
|
601 |
console.log(jsonObject);
|
|
|
602 |
|
|
|
603 |
if (confirm("Are you sure you want to submit the request") == true) {
|
|
|
604 |
doAjaxRequestWithJsonHandler(context + "/addPartnerKyc", "POST", jsonObject, function(response) {
|
|
|
605 |
row.html(response);
|
|
|
606 |
|
|
|
607 |
|
|
|
608 |
});
|
|
|
609 |
}
|
|
|
610 |
|
|
|
611 |
});
|
|
|
612 |
|
|
|
613 |
|
|
|
614 |
|
|
|
615 |
$(document).on('click', ".addNewRow", function() {
|
|
|
616 |
var id = $(this).data('id');
|
|
|
617 |
console.log(id);
|
|
|
618 |
doAjaxRequestHandler(context + "/addKycRow?onBoardingId=" + id, "GET",
|
|
|
619 |
function(response) {
|
|
|
620 |
|
|
|
621 |
console.log(response)
|
|
|
622 |
$('.' + "fofoKycContainer").html(response);
|
|
|
623 |
|
|
|
624 |
});
|
|
|
625 |
|
| 29794 |
tejbeer |
626 |
});
|
| 29763 |
tejbeer |
627 |
|
| 29794 |
tejbeer |
628 |
|
|
|
629 |
var table = $('#legalkyctable').DataTable();
|
|
|
630 |
$(document).on('dblclick', '#legalkyctable tbody tr', function() {
|
|
|
631 |
console.log("dblclick");
|
|
|
632 |
var data = table.row(this).data();
|
|
|
633 |
|
|
|
634 |
$(this).find(":selected").attr('disabled', false).show();
|
|
|
635 |
$(this).find(":input").attr('disabled', false).show();
|
|
|
636 |
|
|
|
637 |
|
|
|
638 |
});
|
|
|
639 |
|
|
|
640 |
|
|
|
641 |
$(document).on('click', '.addlegalKycdetail', function() {
|
|
|
642 |
var row = $(this).closest("tr");
|
|
|
643 |
|
|
|
644 |
console.log(row);
|
|
|
645 |
|
| 29841 |
tejbeer |
646 |
var id = $(row).find("td:eq(2)").text();
|
| 29884 |
tejbeer |
647 |
var status = $(row).find("td:eq(3) option:selected").val();
|
| 29794 |
tejbeer |
648 |
|
|
|
649 |
|
| 29884 |
tejbeer |
650 |
var businessType = $(row).find("td:eq(4) option:selected").val();
|
|
|
651 |
var firstName = $(row).find("td:eq(5) input[type='text']").val();
|
|
|
652 |
var middleName = $(row).find("td:eq(6) input[type='text']").val();
|
|
|
653 |
var lastName = $(row).find("td:eq(7) input[type='text']").val();
|
| 29794 |
tejbeer |
654 |
|
| 29884 |
tejbeer |
655 |
var fatherName = $(row).find("td:eq(8) input[type='text']").val();
|
|
|
656 |
|
|
|
657 |
var dob = $(row).find("td:eq(9) input[type='date']").val();
|
|
|
658 |
|
| 29794 |
tejbeer |
659 |
if (dob != "") {
|
|
|
660 |
|
|
|
661 |
dob = dob + "T00:00:00";
|
|
|
662 |
}
|
|
|
663 |
|
| 29884 |
tejbeer |
664 |
var gender = $(row).find("td:eq(10) option:selected").val();
|
|
|
665 |
var maritalStatus = $(row).find("td:eq(11) option:selected").val();
|
| 29794 |
tejbeer |
666 |
|
| 29884 |
tejbeer |
667 |
var email = $(row).find("td:eq(12) input[type='text']").val();
|
| 29794 |
tejbeer |
668 |
|
| 29884 |
tejbeer |
669 |
var mobile = $(row).find("td:eq(13) input[type='text']").val();
|
|
|
670 |
var pan = $(row).find("td:eq(14) input[type='text']").val();
|
| 29794 |
tejbeer |
671 |
|
|
|
672 |
|
|
|
673 |
var pandocId = $(row).find(".pandoc input[type=hidden]").val();
|
|
|
674 |
|
| 29884 |
tejbeer |
675 |
var poaNO = $(row).find("td:eq(16) input[type='text']").val();
|
|
|
676 |
var poaType = $(row).find("td:eq(17) option:selected").val();
|
| 29794 |
tejbeer |
677 |
|
|
|
678 |
var paoFrontd = $(row).find(".paof input[type=hidden]").val();
|
|
|
679 |
var paoBackId = $(row).find(".paob input[type=hidden]").val();
|
|
|
680 |
|
| 29884 |
tejbeer |
681 |
var address1 = $(row).find("td:eq(20) input[type='text']").val();
|
| 29794 |
tejbeer |
682 |
|
| 29884 |
tejbeer |
683 |
var address2 = $(row).find("td:eq(21) input[type='text']").val();
|
| 29794 |
tejbeer |
684 |
|
| 29884 |
tejbeer |
685 |
var address3 = $(row).find("td:eq(22) input[type='text']").val();
|
| 29794 |
tejbeer |
686 |
|
| 29884 |
tejbeer |
687 |
var city = $(row).find("td:eq(23) input[type='text']").val();
|
| 29794 |
tejbeer |
688 |
|
|
|
689 |
|
| 29884 |
tejbeer |
690 |
var state = $(row).find("td:eq(24) input[type='text']").val();
|
| 29794 |
tejbeer |
691 |
|
| 29884 |
tejbeer |
692 |
var pincode = $(row).find("td:eq(25) input[type='text']").val();
|
| 29794 |
tejbeer |
693 |
|
|
|
694 |
|
|
|
695 |
|
|
|
696 |
|
|
|
697 |
|
|
|
698 |
var kycDetail = {};
|
|
|
699 |
kycDetail['id'] = id
|
| 29884 |
tejbeer |
700 |
kycDetail['status'] = status
|
| 29794 |
tejbeer |
701 |
kycDetail['businessType'] = businessType
|
|
|
702 |
kycDetail['firstName'] = firstName
|
|
|
703 |
kycDetail['middleName'] = middleName
|
|
|
704 |
kycDetail['lastName'] = lastName
|
|
|
705 |
|
|
|
706 |
kycDetail['fatherName'] = fatherName
|
|
|
707 |
|
|
|
708 |
kycDetail['dob'] = dob
|
|
|
709 |
kycDetail['gender'] = gender
|
|
|
710 |
kycDetail['maritalStatus'] = maritalStatus
|
|
|
711 |
kycDetail['email'] = email
|
|
|
712 |
kycDetail['mobile'] = mobile
|
|
|
713 |
kycDetail['pan'] = pan
|
|
|
714 |
kycDetail['pandocId'] = pandocId
|
|
|
715 |
kycDetail['poaNo'] = poaNO
|
|
|
716 |
kycDetail['poaType'] = poaType
|
|
|
717 |
kycDetail['paoFrontd'] = paoFrontd
|
|
|
718 |
kycDetail['paoBackId'] = paoBackId
|
|
|
719 |
|
|
|
720 |
kycDetail['address1'] = address1
|
|
|
721 |
kycDetail['address2'] = address2
|
|
|
722 |
kycDetail['address3'] = address3
|
|
|
723 |
kycDetail['city'] = city
|
|
|
724 |
kycDetail['state'] = state
|
|
|
725 |
kycDetail['pincode'] = pincode
|
|
|
726 |
|
|
|
727 |
var jsonObject = JSON.stringify(kycDetail);
|
|
|
728 |
console.log("kycDetail" + jsonObject);
|
|
|
729 |
|
|
|
730 |
console.log(jsonObject);
|
|
|
731 |
|
|
|
732 |
if (confirm("Are you sure you want to submit the request") == true) {
|
|
|
733 |
doAjaxRequestWithJsonHandler(context + "/addlegalPartnerKyc", "POST", jsonObject, function(response) {
|
|
|
734 |
row.html(response);
|
|
|
735 |
|
|
|
736 |
|
|
|
737 |
});
|
|
|
738 |
}
|
|
|
739 |
|
|
|
740 |
});
|
|
|
741 |
|
| 27829 |
tejbeer |
742 |
$(document).on('click', ".partner-onboarding-index", function() {
|
| 27763 |
tejbeer |
743 |
panelListing("main-content");
|
|
|
744 |
});
|
| 27813 |
tejbeer |
745 |
|
|
|
746 |
|
|
|
747 |
$(document).on('click', ".partner-onboarding-open", function() {
|
|
|
748 |
console.log("yes");
|
| 27799 |
tejbeer |
749 |
partnerOnboardingOpen("main-content");
|
|
|
750 |
});
|
| 28908 |
tejbeer |
751 |
|
| 28600 |
amit.gupta |
752 |
$(document).on('click', ".design-completed", function() {
|
|
|
753 |
console.log("yes");
|
|
|
754 |
partnerOnboardinDesignCompleted("main-content");
|
|
|
755 |
});
|
| 28908 |
tejbeer |
756 |
|
| 28600 |
amit.gupta |
757 |
$(document).on('click', ".design_tat", function() {
|
|
|
758 |
console.log("yes");
|
|
|
759 |
partnerOnboardingDesign("main-content");
|
|
|
760 |
});
|
| 27813 |
tejbeer |
761 |
|
| 27829 |
tejbeer |
762 |
$(document).on('click', ".partner-onboarding-reject", function() {
|
| 27799 |
tejbeer |
763 |
console.log("helo");
|
| 27763 |
tejbeer |
764 |
|
| 27799 |
tejbeer |
765 |
partnerOnboardingReject("main-content");
|
|
|
766 |
});
|
|
|
767 |
|
| 29794 |
tejbeer |
768 |
$(document).on('input', 'table#legalkyctable input[type=file]', function() {
|
|
|
769 |
if (confirm('Confirm upload ?')) {
|
|
|
770 |
var fileSelector = $(this)[0];
|
|
|
771 |
if (fileSelector != undefined
|
|
|
772 |
&& fileSelector.files[0] != undefined) {
|
|
|
773 |
var url = `${context}/document-upload`;
|
|
|
774 |
console.log(url);
|
|
|
775 |
var file = this.files[0];
|
|
|
776 |
console.log("file" + file);
|
|
|
777 |
let fileInput = $(this);
|
|
|
778 |
console.log("fileInput" + file);
|
|
|
779 |
doAjaxUploadRequestHandler(
|
|
|
780 |
url,
|
|
|
781 |
'POST',
|
|
|
782 |
file,
|
|
|
783 |
function(response) {
|
|
|
784 |
console.log(response);
|
|
|
785 |
var documentId = response.response.document_id;
|
|
|
786 |
console.log("documentId : " + documentId);
|
|
|
787 |
fileInput.closest('td').find("input[type=hidden]").val(documentId);
|
|
|
788 |
});
|
|
|
789 |
// alert("Retailer Shop Document
|
|
|
790 |
// is required");
|
|
|
791 |
}
|
|
|
792 |
} else {
|
|
|
793 |
// Do nothing!
|
|
|
794 |
}
|
|
|
795 |
});
|
| 29763 |
tejbeer |
796 |
|
| 29794 |
tejbeer |
797 |
|
| 29763 |
tejbeer |
798 |
$(document).on('input', 'table#fofokyctable input[type=file]', function() {
|
|
|
799 |
if (confirm('Confirm upload ?')) {
|
|
|
800 |
var fileSelector = $(this)[0];
|
|
|
801 |
if (fileSelector != undefined
|
|
|
802 |
&& fileSelector.files[0] != undefined) {
|
|
|
803 |
var url = `${context}/document-upload`;
|
|
|
804 |
console.log(url);
|
|
|
805 |
var file = this.files[0];
|
|
|
806 |
console.log("file" + file);
|
|
|
807 |
let fileInput = $(this);
|
|
|
808 |
console.log("fileInput" + file);
|
|
|
809 |
doAjaxUploadRequestHandler(
|
|
|
810 |
url,
|
|
|
811 |
'POST',
|
|
|
812 |
file,
|
|
|
813 |
function(response) {
|
|
|
814 |
console.log(response);
|
|
|
815 |
var documentId = response.response.document_id;
|
|
|
816 |
console.log("documentId : " + documentId);
|
|
|
817 |
fileInput.closest('td').find("input[type=hidden]").val(documentId);
|
|
|
818 |
});
|
|
|
819 |
// alert("Retailer Shop Document
|
|
|
820 |
// is required");
|
|
|
821 |
}
|
|
|
822 |
} else {
|
|
|
823 |
// Do nothing!
|
|
|
824 |
}
|
|
|
825 |
});
|
|
|
826 |
|
| 27813 |
tejbeer |
827 |
$(document).on('input', 'table#example input[type=file]', function() {
|
|
|
828 |
if (confirm('Confirm upload ?')) {
|
|
|
829 |
var fileSelector = $(this)[0];
|
|
|
830 |
if (fileSelector != undefined
|
|
|
831 |
&& fileSelector.files[0] != undefined) {
|
|
|
832 |
var url = `${context}/document-upload`;
|
|
|
833 |
console.log(url);
|
|
|
834 |
var file = this.files[0];
|
| 28908 |
tejbeer |
835 |
console.log("file" + file);
|
| 27813 |
tejbeer |
836 |
let fileInput = $(this);
|
| 28908 |
tejbeer |
837 |
console.log("fileInput" + file);
|
| 27813 |
tejbeer |
838 |
doAjaxUploadRequestHandler(
|
|
|
839 |
url,
|
|
|
840 |
'POST',
|
|
|
841 |
file,
|
|
|
842 |
function(response) {
|
|
|
843 |
console.log(response);
|
|
|
844 |
var documentId = response.response.document_id;
|
|
|
845 |
console.log("documentId : " + documentId);
|
|
|
846 |
fileInput.closest('td').find("input[type=hidden]").val(documentId);
|
|
|
847 |
});
|
|
|
848 |
// alert("Retailer Shop Document
|
|
|
849 |
// is required");
|
|
|
850 |
}
|
|
|
851 |
} else {
|
|
|
852 |
// Do nothing!
|
|
|
853 |
}
|
|
|
854 |
});
|
| 29061 |
tejbeer |
855 |
|
|
|
856 |
|
| 28977 |
manish |
857 |
$(document).on('input', 'table#partnerVerification input[type=file]', function() {
|
|
|
858 |
if (confirm('Confirm upload ?')) {
|
|
|
859 |
var fileSelector = $(this)[0];
|
|
|
860 |
if (fileSelector != undefined
|
|
|
861 |
&& fileSelector.files[0] != undefined) {
|
|
|
862 |
var url = `${context}/document-upload`;
|
|
|
863 |
console.log(url);
|
|
|
864 |
var file = this.files[0];
|
|
|
865 |
console.log("file" + file);
|
|
|
866 |
let fileInput = $(this);
|
|
|
867 |
console.log("fileInput" + file);
|
|
|
868 |
doAjaxUploadRequestHandler(
|
|
|
869 |
url,
|
|
|
870 |
'POST',
|
|
|
871 |
file,
|
|
|
872 |
function(response) {
|
|
|
873 |
console.log(response);
|
|
|
874 |
var documentId = response.response.document_id;
|
|
|
875 |
console.log("documentId : " + documentId);
|
|
|
876 |
fileInput.closest('td').find("input[type=hidden]").val(documentId);
|
|
|
877 |
});
|
|
|
878 |
// alert("Retailer Shop Document
|
|
|
879 |
// is required");
|
|
|
880 |
}
|
|
|
881 |
} else {
|
|
|
882 |
// Do nothing!
|
|
|
883 |
}
|
|
|
884 |
});
|
| 29061 |
tejbeer |
885 |
|
|
|
886 |
|
|
|
887 |
|
| 28600 |
amit.gupta |
888 |
$(document).on('input', 'table#OnboardingDesign input[type=file]', function() {
|
|
|
889 |
if (confirm('Confirm upload ?')) {
|
|
|
890 |
var fileSelector = $(this)[0];
|
|
|
891 |
if (fileSelector != undefined
|
|
|
892 |
&& fileSelector.files[0] != undefined) {
|
|
|
893 |
var url = `${context}/document-upload`;
|
|
|
894 |
console.log(url);
|
|
|
895 |
var file = this.files[0];
|
| 28908 |
tejbeer |
896 |
console.log("file" + file);
|
| 28600 |
amit.gupta |
897 |
let fileInput = $(this);
|
| 28908 |
tejbeer |
898 |
console.log("fileInput" + file);
|
| 28600 |
amit.gupta |
899 |
doAjaxUploadRequestHandler(
|
|
|
900 |
url,
|
|
|
901 |
'POST',
|
|
|
902 |
file,
|
|
|
903 |
function(response) {
|
|
|
904 |
console.log(response);
|
|
|
905 |
var documentId = response.response.document_id;
|
|
|
906 |
console.log("documentId : " + documentId);
|
|
|
907 |
fileInput.closest('td').find("input[type=hidden]").val(documentId);
|
|
|
908 |
});
|
|
|
909 |
// alert("Retailer Shop Document
|
|
|
910 |
// is required");
|
|
|
911 |
}
|
|
|
912 |
} else {
|
|
|
913 |
// Do nothing!
|
|
|
914 |
}
|
|
|
915 |
});
|
| 27799 |
tejbeer |
916 |
|
| 27829 |
tejbeer |
917 |
$(document).on('click', '#newmodal', function() {
|
| 29061 |
tejbeer |
918 |
|
|
|
919 |
|
| 28977 |
manish |
920 |
var prebookingListingObject = {};
|
|
|
921 |
var outletName = $('#outLetName1').val();
|
| 29061 |
tejbeer |
922 |
var phoneNumber = $('#number1').val();
|
|
|
923 |
|
|
|
924 |
if (outletName == "") {
|
|
|
925 |
|
|
|
926 |
alert("outletName is required ");
|
|
|
927 |
return;
|
|
|
928 |
}
|
|
|
929 |
prebookingListingObject['outletName'] = $('#outLetName1').val();
|
|
|
930 |
|
|
|
931 |
if (phoneNumber == "") {
|
|
|
932 |
alert("Phone Number is required ");
|
|
|
933 |
return false;
|
|
|
934 |
|
|
|
935 |
}
|
|
|
936 |
if (phoneNumber.length > 6 && phoneNumber.length < 11) {
|
|
|
937 |
|
|
|
938 |
prebookingListingObject['phoneNumber'] = $('#number1').val();
|
|
|
939 |
|
|
|
940 |
}
|
|
|
941 |
else {
|
|
|
942 |
alert("Number should be greater then 6 and less then 11");
|
|
|
943 |
return false;
|
|
|
944 |
|
|
|
945 |
}
|
|
|
946 |
|
| 28977 |
manish |
947 |
acquireddate1 = $('#acquireddate1').val();
|
|
|
948 |
if (acquireddate1 != "") {
|
|
|
949 |
acquireddate1 = acquireddate1 + "T00:00:00";
|
|
|
950 |
}
|
|
|
951 |
prebookingListingObject['authId'] = $('#authUserOnboarding').val();
|
| 27813 |
tejbeer |
952 |
|
| 28977 |
manish |
953 |
prebookingListingObject['acquiredDate'] = acquireddate1
|
| 27813 |
tejbeer |
954 |
|
| 29061 |
tejbeer |
955 |
|
| 28977 |
manish |
956 |
var json = JSON.stringify(prebookingListingObject);
|
| 27829 |
tejbeer |
957 |
console.log(json);
|
|
|
958 |
doAjaxRequestWithJsonHandler(
|
|
|
959 |
context
|
|
|
960 |
+ "/partnerOnBoardingListing",
|
|
|
961 |
"POST",
|
|
|
962 |
json,
|
|
|
963 |
function(response) {
|
| 27813 |
tejbeer |
964 |
|
| 28908 |
tejbeer |
965 |
panelListing("main-content");
|
|
|
966 |
|
|
|
967 |
|
| 27829 |
tejbeer |
968 |
});
|
|
|
969 |
});
|
| 27813 |
tejbeer |
970 |
|
| 27829 |
tejbeer |
971 |
var table = $('#example').DataTable();
|
|
|
972 |
$(document).on('dblclick', '#example tbody tr', function() {
|
| 27813 |
tejbeer |
973 |
|
| 27829 |
tejbeer |
974 |
var data = table.row(this).data();
|
| 29061 |
tejbeer |
975 |
var statusHold = $(this).find("td:eq(37) button[type='submit']").val();
|
|
|
976 |
|
|
|
977 |
console.log("statusHold" + statusHold);
|
|
|
978 |
if (statusHold.localeCompare("hold")) {
|
|
|
979 |
$(this).find(":input").attr('disabled', true);
|
|
|
980 |
$(this).find("td:eq(37) button[type='submit']").attr('disabled', false);
|
|
|
981 |
$(this).find("td:eq(36) button[type='submit']").attr('disabled', false);
|
|
|
982 |
}
|
|
|
983 |
else {
|
|
|
984 |
$(this).find(":input").attr('disabled', false).show();
|
|
|
985 |
$(this).find(":selected").attr('disabled', false).show();
|
|
|
986 |
|
|
|
987 |
}
|
| 28881 |
manish |
988 |
$(this).find("input[name=rbmAuthId]").attr('disabled', true);
|
| 28900 |
manish |
989 |
$(this).find("input[name=verificationStatusOnboarding]").attr('disabled', true);
|
| 29088 |
tejbeer |
990 |
$(this).find("input[name=billingStatus]").attr('disabled', true);
|
| 29061 |
tejbeer |
991 |
|
| 29088 |
tejbeer |
992 |
|
| 27829 |
tejbeer |
993 |
$(this).css("background-color", "#87d3f8");
|
| 29061 |
tejbeer |
994 |
let a = 12;
|
|
|
995 |
let b = 12;
|
|
|
996 |
console.log("yes" + a == b);
|
|
|
997 |
|
| 27829 |
tejbeer |
998 |
});
|
| 28908 |
tejbeer |
999 |
|
| 28600 |
amit.gupta |
1000 |
var table = $('#OnboardingDesign').DataTable();
|
|
|
1001 |
$(document).on('dblclick', '#OnboardingDesign tbody tr', function() {
|
| 27813 |
tejbeer |
1002 |
|
| 28600 |
amit.gupta |
1003 |
var data = table.row(this).data();
|
| 28908 |
tejbeer |
1004 |
|
|
|
1005 |
$(this).find(":input").attr('disabled', false).show();
|
| 29300 |
manish |
1006 |
$(this).find(":selected").attr('disabled', true);
|
| 28908 |
tejbeer |
1007 |
|
|
|
1008 |
$(this).find("input[name=acquireddate]").attr('disabled', true);
|
|
|
1009 |
$(this).find("input[name=outlateName]").attr('disabled', true);
|
|
|
1010 |
$(this).find("input[name=phonenumber1]").attr('disabled', true);
|
|
|
1011 |
$(this).find("input[name=kyc1]").attr('disabled', true);
|
|
|
1012 |
$(this).find("input[name=city1]").attr('disabled', true);
|
|
|
1013 |
$(this).find("input[name=shead1]").attr('disabled', true);
|
|
|
1014 |
$(this).find("input[name=bdm1]").attr('disabled', true);
|
|
|
1015 |
$(this).find("input[name=abrand1]").attr('disabled', true);
|
|
|
1016 |
$(this).find("input[name=recbrand1]").attr('disabled', true);
|
|
|
1017 |
$(this).find("input[name=BrandFeesdate1]").attr('disabled', true);
|
|
|
1018 |
$(this).find("input[name=idate1]").attr('disabled', true);
|
|
|
1019 |
$(this).find("input[name=loi1]").attr('disabled', true);
|
|
|
1020 |
$(this).find("input[name=code1]").attr('disabled', true);
|
|
|
1021 |
$(this).find("input[name=rplaned1]").attr('disabled', true);
|
|
|
1022 |
$(this).find("input[name=stockPaymentDesign]").attr('disabled', true);
|
|
|
1023 |
$(this).find("input[name=twoDBoq1]").attr('disabled', true);
|
|
|
1024 |
$(this).find("input[name=threeBoqDate1]").attr('disabled', true);
|
|
|
1025 |
$(this).find("input[name=poVenderDate1]").attr('disabled', true);
|
|
|
1026 |
$(this).find("input[name=briefingPartnerPlanedDate1]").attr('disabled', true);
|
|
|
1027 |
$(this).find("input[name=deploymentPlanedDate]").attr('disabled', true);
|
|
|
1028 |
$(this).find("input[name=FinalPicsOutLets]").attr('disabled', true);
|
|
|
1029 |
$(this).find("input[name=poVenderDate1]").attr('disabled', true);
|
| 28600 |
amit.gupta |
1030 |
$(this).css("background-color", "#87d3f8");
|
| 28908 |
tejbeer |
1031 |
let a = 12;
|
|
|
1032 |
let b = 12;
|
|
|
1033 |
console.log("yes" + a == b);
|
|
|
1034 |
|
| 28600 |
amit.gupta |
1035 |
});
|
|
|
1036 |
|
|
|
1037 |
|
| 29088 |
tejbeer |
1038 |
var billingtable = $('#partnerbilling').DataTable();
|
|
|
1039 |
$(document).on('dblclick', '#partnerbilling tbody tr', function() {
|
|
|
1040 |
var data = billingtable.row(this).data();
|
|
|
1041 |
|
|
|
1042 |
$(this).find(":input").attr('disabled', false).show();
|
|
|
1043 |
|
|
|
1044 |
|
|
|
1045 |
});
|
|
|
1046 |
|
|
|
1047 |
$(document)
|
|
|
1048 |
.on(
|
|
|
1049 |
'click',
|
|
|
1050 |
".submitOnboardingBilling",
|
|
|
1051 |
function() {
|
|
|
1052 |
|
|
|
1053 |
var row = $(this).closest("tr");
|
|
|
1054 |
console.log(row);
|
|
|
1055 |
|
|
|
1056 |
var onboardingId = $(row).find("td:eq(0)").text();
|
| 29559 |
manish |
1057 |
var stockPayment = $(row).find("td:eq(5) input[type='text']").val();
|
|
|
1058 |
var advStock = $(row).find("td:eq(4) input[type='date']").val();
|
|
|
1059 |
if (advStock != "") {
|
|
|
1060 |
advStock = advStock + "T00:00:00";
|
|
|
1061 |
}
|
| 29763 |
tejbeer |
1062 |
|
| 29088 |
tejbeer |
1063 |
var billingStatus = $(row)
|
| 29559 |
manish |
1064 |
.find("td:eq(6) input[type='checkbox']").is(":checked") ? 1 : 0;
|
| 29088 |
tejbeer |
1065 |
|
| 29763 |
tejbeer |
1066 |
doPostAjaxRequestHandler(context + "/partnerOnBoardingBillingSubmission?billingStatus=" + billingStatus + "&onBoardingId=" + onboardingId + "&advStock=" + advStock + "&stockPayment=" + stockPayment,
|
| 29088 |
tejbeer |
1067 |
function(response) {
|
|
|
1068 |
row.html(response);
|
|
|
1069 |
alert("successfully submit");
|
|
|
1070 |
|
|
|
1071 |
|
|
|
1072 |
|
|
|
1073 |
});
|
|
|
1074 |
});
|
|
|
1075 |
|
|
|
1076 |
|
| 27829 |
tejbeer |
1077 |
$(document).on('click', ".delete", function() {
|
| 27813 |
tejbeer |
1078 |
|
| 27829 |
tejbeer |
1079 |
var id = $(this).data('id');
|
|
|
1080 |
console.log('helo');
|
|
|
1081 |
var id = $(this).data('id');
|
|
|
1082 |
console.log(id);
|
|
|
1083 |
if (confirm("Are you sure your outlet is open") == true) {
|
|
|
1084 |
doPostAjaxRequestHandler(context + "/partnerOnBoardingOpen?id=" + id,
|
|
|
1085 |
function(response) {
|
| 27813 |
tejbeer |
1086 |
|
| 27829 |
tejbeer |
1087 |
console.log("reponse" + response);
|
|
|
1088 |
if (response == 'true') {
|
|
|
1089 |
alert("congratulations your outlet is successfully open");
|
| 27813 |
tejbeer |
1090 |
|
| 27829 |
tejbeer |
1091 |
panelListing("main-content");
|
|
|
1092 |
}
|
|
|
1093 |
});
|
|
|
1094 |
}
|
| 27813 |
tejbeer |
1095 |
|
| 27829 |
tejbeer |
1096 |
});
|
| 28600 |
amit.gupta |
1097 |
$(document).on('click', ".design-complete", function() {
|
|
|
1098 |
var id = $(this).data('id');
|
| 29007 |
manish |
1099 |
var row = $(this).closest("tr");
|
| 28600 |
amit.gupta |
1100 |
console.log('helo');
|
| 29007 |
manish |
1101 |
var receeActual = $(row).find("td:eq(14) input[type='date']").val();
|
|
|
1102 |
if (receeActual != "") {
|
|
|
1103 |
receeActual = receeActual + "T00:00:00";
|
|
|
1104 |
}
|
|
|
1105 |
var twoDBoqdate = $(row).find("td:eq(17) input[type='date']").val();
|
|
|
1106 |
if (twoDBoqdate != "") {
|
|
|
1107 |
twoDBoqdate = twoDBoqdate + "T00:00:00";
|
|
|
1108 |
}
|
| 29061 |
tejbeer |
1109 |
|
| 29007 |
manish |
1110 |
var poVenderDate = $(row).find("td:eq(23) input[type='date']").val();
|
|
|
1111 |
if (poVenderDate != "") {
|
|
|
1112 |
poVenderDate = poVenderDate + "T00:00:00";
|
|
|
1113 |
}
|
|
|
1114 |
var briefingPartner = $(row).find("td:eq(25) input[type='date']").val();
|
|
|
1115 |
if (briefingPartner != "") {
|
|
|
1116 |
briefingPartner = briefingPartner + "T00:00:00";
|
|
|
1117 |
}
|
| 29061 |
tejbeer |
1118 |
|
| 29007 |
manish |
1119 |
var deploymentDate = $(row).find("td:eq(27) input[type='date']").val();
|
|
|
1120 |
if (deploymentDate != "") {
|
|
|
1121 |
deploymentDate = deploymentDate + "T00:00:00";
|
|
|
1122 |
}
|
| 29061 |
tejbeer |
1123 |
|
| 29007 |
manish |
1124 |
var nocDate = $(row).find("td:eq(31) input[type='date']").val();
|
|
|
1125 |
if (nocDate != "") {
|
|
|
1126 |
nocDate = nocDate + "T00:00:00";
|
|
|
1127 |
}
|
| 29061 |
tejbeer |
1128 |
|
|
|
1129 |
if (receeActual == "") {
|
| 29007 |
manish |
1130 |
alert("Please Fill The Recee Actual Date");
|
|
|
1131 |
return
|
| 29061 |
tejbeer |
1132 |
|
| 29007 |
manish |
1133 |
}
|
| 29061 |
tejbeer |
1134 |
if (twoDBoqdate == "") {
|
| 29007 |
manish |
1135 |
alert("Please Fill The 2D with BOQ Actual Date");
|
|
|
1136 |
return
|
| 29061 |
tejbeer |
1137 |
|
| 29007 |
manish |
1138 |
}
|
| 29088 |
tejbeer |
1139 |
if (poVenderDate == "") {
|
| 29007 |
manish |
1140 |
alert("Please Fill The PO To Vendor Actual Date");
|
|
|
1141 |
return
|
| 29061 |
tejbeer |
1142 |
|
| 29007 |
manish |
1143 |
}
|
| 29061 |
tejbeer |
1144 |
if (briefingPartner == "") {
|
| 29007 |
manish |
1145 |
alert("Please Fill The Briefing Partner Actual Date ");
|
|
|
1146 |
return
|
| 29061 |
tejbeer |
1147 |
|
| 29007 |
manish |
1148 |
}
|
| 29061 |
tejbeer |
1149 |
|
|
|
1150 |
if (deploymentDate == "") {
|
| 29007 |
manish |
1151 |
alert("Please Fill The Deployment Actual Date ");
|
|
|
1152 |
return
|
| 29061 |
tejbeer |
1153 |
|
| 29007 |
manish |
1154 |
}
|
| 29061 |
tejbeer |
1155 |
if (nocDate == "") {
|
| 29007 |
manish |
1156 |
alert("Please Fill The NOC Actual Date ");
|
|
|
1157 |
return
|
| 29061 |
tejbeer |
1158 |
|
| 29007 |
manish |
1159 |
}
|
| 29061 |
tejbeer |
1160 |
|
|
|
1161 |
|
|
|
1162 |
|
| 28600 |
amit.gupta |
1163 |
var id = $(this).data('id');
|
|
|
1164 |
console.log(id);
|
|
|
1165 |
if (confirm("Are you sure your Design TAT is Complete") == true) {
|
|
|
1166 |
doPostAjaxRequestHandler(context + "/partnerDesignTatCompleted?id=" + id,
|
|
|
1167 |
function(response) {
|
| 27813 |
tejbeer |
1168 |
|
| 28600 |
amit.gupta |
1169 |
console.log("reponse" + response);
|
|
|
1170 |
if (response == 'true') {
|
|
|
1171 |
alert("congratulations your Desiging is successfully Done");
|
| 29061 |
tejbeer |
1172 |
partnerOnboardingDesign("main-content");
|
| 28600 |
amit.gupta |
1173 |
}
|
|
|
1174 |
});
|
|
|
1175 |
}
|
|
|
1176 |
|
|
|
1177 |
});
|
|
|
1178 |
|
|
|
1179 |
|
| 27829 |
tejbeer |
1180 |
$(document).on('click', ".rejectpartneronboarding", function() {
|
|
|
1181 |
var id = $(this).data('id');
|
|
|
1182 |
console.log('helo');
|
|
|
1183 |
var id = $(this).data('id');
|
|
|
1184 |
console.log(id);
|
|
|
1185 |
if (confirm("Are you sure you want to reject the request") == true) {
|
|
|
1186 |
doPostAjaxRequestHandler(context + "/partnerOnBoardingReject?id=" + id,
|
|
|
1187 |
function(response) {
|
|
|
1188 |
|
|
|
1189 |
console.log("reponse" + response);
|
|
|
1190 |
if (response == 'true') {
|
|
|
1191 |
alert("successfully rejected");
|
|
|
1192 |
panelListing("main-content");
|
|
|
1193 |
}
|
|
|
1194 |
});
|
|
|
1195 |
}
|
|
|
1196 |
|
|
|
1197 |
});
|
|
|
1198 |
|
| 29794 |
tejbeer |
1199 |
|
|
|
1200 |
|
|
|
1201 |
|
|
|
1202 |
|
| 27763 |
tejbeer |
1203 |
});
|
|
|
1204 |
|
| 27855 |
tejbeer |
1205 |
$(document).on('click', ".Del", function() {
|
| 28908 |
tejbeer |
1206 |
var $td = $(this).closest("td");
|
|
|
1207 |
//var delDoc= $(this).closest('td').find('.gst', "input[type=hidden]").val();
|
| 27855 |
tejbeer |
1208 |
//var columnName= $(this).closest('td' , "input[type=hidden]").val();
|
| 28908 |
tejbeer |
1209 |
var dataDel = $td.find("input[type=hidden]").val('0');
|
|
|
1210 |
dataDel = 0;
|
| 27855 |
tejbeer |
1211 |
console.log(dataDel);
|
| 28715 |
amit.gupta |
1212 |
if (confirm("Are you sure you want to delete this doc") == true) {
|
| 27813 |
tejbeer |
1213 |
|
| 28908 |
tejbeer |
1214 |
if (dataDel == 0) {
|
|
|
1215 |
$td.css({ 'background-color': 'pink' });
|
|
|
1216 |
console.log("true");
|
|
|
1217 |
$td.find('a', ".download").hide();
|
|
|
1218 |
$td.find('a', ".Del").hide();
|
|
|
1219 |
}
|
| 27855 |
tejbeer |
1220 |
|
| 28908 |
tejbeer |
1221 |
}
|
|
|
1222 |
});
|
| 28600 |
amit.gupta |
1223 |
|
| 28908 |
tejbeer |
1224 |
|
|
|
1225 |
|
| 27813 |
tejbeer |
1226 |
|
|
|
1227 |
|
| 29794 |
tejbeer |
1228 |
|
|
|
1229 |
|
|
|
1230 |
|
| 27829 |
tejbeer |
1231 |
function panelListing(domId) {
|
|
|
1232 |
doAjaxRequestHandler(context + "/partnerOnBoardingPanel", "GET",
|
|
|
1233 |
function(response) {
|
|
|
1234 |
$('#' + domId).html(response);
|
|
|
1235 |
});
|
|
|
1236 |
}
|
| 27813 |
tejbeer |
1237 |
|
|
|
1238 |
|
|
|
1239 |
|
| 27829 |
tejbeer |
1240 |
|
| 27763 |
tejbeer |
1241 |
function panelListing(domId) {
|
|
|
1242 |
doAjaxRequestHandler(context + "/partnerOnBoardingPanel", "GET",
|
|
|
1243 |
function(response) {
|
|
|
1244 |
$('#' + domId).html(response);
|
|
|
1245 |
});
|
|
|
1246 |
}
|
| 27799 |
tejbeer |
1247 |
function partnerOnboardingOpen(domId) {
|
|
|
1248 |
doAjaxRequestHandler(context + "/partnerOnBoardingOpenShow", "GET",
|
|
|
1249 |
function(response) {
|
|
|
1250 |
$('#' + domId).html(response);
|
|
|
1251 |
});
|
|
|
1252 |
}
|
| 28600 |
amit.gupta |
1253 |
|
|
|
1254 |
function partnerOnboardinDesignCompleted(domId) {
|
|
|
1255 |
doAjaxRequestHandler(context + "/DesignTatCompletedShow", "GET",
|
|
|
1256 |
function(response) {
|
|
|
1257 |
$('#' + domId).html(response);
|
|
|
1258 |
});
|
|
|
1259 |
}
|
|
|
1260 |
|
|
|
1261 |
function partnerOnboardingDesign(domId) {
|
|
|
1262 |
doAjaxRequestHandler(context + "/partnerOnBoardingDesign", "GET",
|
|
|
1263 |
function(response) {
|
|
|
1264 |
$('#' + domId).html(response);
|
|
|
1265 |
});
|
|
|
1266 |
}
|
|
|
1267 |
|
| 27799 |
tejbeer |
1268 |
function partnerOnboardingReject(domId) {
|
|
|
1269 |
doAjaxRequestHandler(context + "/partnerOnBoardingRejectShow", "GET",
|
|
|
1270 |
function(response) {
|
|
|
1271 |
$('#' + domId).html(response);
|
|
|
1272 |
});
|
|
|
1273 |
}
|
| 27763 |
tejbeer |
1274 |
|
| 27813 |
tejbeer |
1275 |
|
| 27763 |
tejbeer |
1276 |
function panelOnBoardingListing(domId) {
|
|
|
1277 |
doAjaxRequestHandler(context + "/partnerOnBoardingListing", "POST",
|
|
|
1278 |
function(response) {
|
|
|
1279 |
$('#' + domId).html(response);
|
|
|
1280 |
});
|
|
|
1281 |
|
|
|
1282 |
}
|
|
|
1283 |
|
|
|
1284 |
|
| 28908 |
tejbeer |
1285 |
function panelListing(domId) {
|
|
|
1286 |
doAjaxRequestHandler(context + "/partnerOnBoardingPanel", "GET",
|
|
|
1287 |
function(response) {
|
|
|
1288 |
$('#' + domId).html(response);
|
|
|
1289 |
});
|
|
|
1290 |
}
|
| 27763 |
tejbeer |
1291 |
|
|
|
1292 |
|
| 27842 |
tejbeer |
1293 |
|
| 28908 |
tejbeer |
1294 |
|