| 27763 |
tejbeer |
1 |
$(function() {
|
| 27829 |
tejbeer |
2 |
$(document).on('click', '.submit1', function() {
|
|
|
3 |
var row = $(this).closest("tr");
|
|
|
4 |
console.log(row);
|
|
|
5 |
var rowIndex = $(this).closest('tr').prevAll().length;
|
| 28908 |
tejbeer |
6 |
|
| 27829 |
tejbeer |
7 |
var data0 = $(row).find("td:eq(0)").text();
|
| 28908 |
tejbeer |
8 |
|
| 27836 |
tejbeer |
9 |
var data1 = $(row).find("td:eq(1)").text();
|
| 27833 |
tejbeer |
10 |
var data2 = $(row).find("td:eq(2)").text();
|
| 27829 |
tejbeer |
11 |
if (data2 != "") {
|
|
|
12 |
data2 = data2 + "T00:00:00";
|
|
|
13 |
}
|
| 27833 |
tejbeer |
14 |
var data3 = $(row).find("td:eq(3) input[type='date']").val();
|
|
|
15 |
if (data3 != "") {
|
|
|
16 |
data3 = data3 + "T00:00:00";
|
|
|
17 |
}
|
|
|
18 |
var data4 = $(row).find("td:eq(4) input[type='text']").val();
|
| 28908 |
tejbeer |
19 |
|
| 27833 |
tejbeer |
20 |
var data5 = $(row).find("td:eq(5) input[type='number']").val();
|
| 28908 |
tejbeer |
21 |
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
var rbmAuthId = $(row).find("td:eq(6) input[type='hidden']").val();
|
|
|
25 |
|
|
|
26 |
console.log(rbmAuthId)
|
|
|
27 |
|
| 28881 |
manish |
28 |
var data6 = $(row).find("td:eq(7) input[type='text']").val();
|
|
|
29 |
var data7 = $(row).find("td:eq(8) input[type='text']").val();
|
|
|
30 |
var data8 = $(row).find("td:eq(9) input[type='text']").val();
|
| 27763 |
tejbeer |
31 |
|
| 28881 |
manish |
32 |
var data9 = $(row).find("td:eq(10) input[type='text']").val();
|
|
|
33 |
var data10 = $(row).find("td:eq(11) input[type='text']").val();
|
|
|
34 |
var data11 = $(row).find("td:eq(12) input[type='date']").val();
|
| 27884 |
tejbeer |
35 |
if (data11 != "") {
|
|
|
36 |
data11 = data11 + "T00:00:00";
|
|
|
37 |
}
|
| 27813 |
tejbeer |
38 |
|
| 28881 |
manish |
39 |
var data12 = $(row).find("td:eq(13) input[type='text']").val();
|
| 27833 |
tejbeer |
40 |
|
| 28881 |
manish |
41 |
var data13 = $(row).find("td:eq(14) input[type='date']").val();
|
| 27884 |
tejbeer |
42 |
if (data13 != "") {
|
|
|
43 |
data13 = data13 + "T00:00:00";
|
| 27829 |
tejbeer |
44 |
}
|
| 27884 |
tejbeer |
45 |
var data14 = $(row).find(".kyc input[type=hidden]").val();
|
|
|
46 |
var data15 = $(row).find(".aadhar input[type=hidden]").val();
|
|
|
47 |
var data16 = $(row).find(".pan input[type=hidden]").val();
|
|
|
48 |
var data17 = $(row).find(".gst input[type=hidden]").val();
|
|
|
49 |
var data18 = $(row).find(".cancheque input[type=hidden]").val();
|
|
|
50 |
var data19 = $(row).find(".rent input[type=hidden]").val();
|
|
|
51 |
console.log("data19" + data19);
|
|
|
52 |
var data20 = $(row).find(".loi input[type=hidden]").val();
|
| 27829 |
tejbeer |
53 |
console.log("data18" + data18);
|
| 28977 |
manish |
54 |
|
|
|
55 |
var docCompleted = $(row).find("td:eq(22) option:selected").val();
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
var data21 = $(row).find("td:eq(23) input[type='text']").val();
|
| 28908 |
tejbeer |
59 |
console.log(data21);
|
| 28977 |
manish |
60 |
var data22 = $(row).find("td:eq(24) input[type='date']").val();
|
| 27829 |
tejbeer |
61 |
if (data22 != "") {
|
|
|
62 |
data22 = data22 + "T00:00:00";
|
|
|
63 |
}
|
| 28977 |
manish |
64 |
var data23 = $(row).find("td:eq(25) input[type='date']").val();
|
| 27829 |
tejbeer |
65 |
if (data23 != "") {
|
|
|
66 |
data23 = data23 + "T00:00:00";
|
|
|
67 |
}
|
| 28977 |
manish |
68 |
var data24 = $(row).find("td:eq(26) input[type='date']").val();
|
| 27833 |
tejbeer |
69 |
if (data24 != "") {
|
|
|
70 |
data24 = data24 + "T00:00:00";
|
| 27829 |
tejbeer |
71 |
}
|
| 28977 |
manish |
72 |
var data25 = $(row).find("td:eq(27) input[type='date']").val();
|
| 27884 |
tejbeer |
73 |
if (data25 != "") {
|
|
|
74 |
data25 = data25 + "T00:00:00";
|
| 27829 |
tejbeer |
75 |
}
|
| 28977 |
manish |
76 |
var data26 = $(row).find("td:eq(28) input[type='text']").val();
|
| 27813 |
tejbeer |
77 |
|
| 28977 |
manish |
78 |
var data27 = $(row).find("td:eq(29) input[type='date']").val();
|
| 27833 |
tejbeer |
79 |
if (data27 != "") {
|
|
|
80 |
data27 = data27 + "T00:00:00";
|
|
|
81 |
}
|
| 27829 |
tejbeer |
82 |
|
| 28977 |
manish |
83 |
var data28 = $(row).find("td:eq(30) input[type='date']").val();
|
| 27833 |
tejbeer |
84 |
|
| 27884 |
tejbeer |
85 |
if (data28 != "") {
|
|
|
86 |
data28 = data28 + "T00:00:00";
|
|
|
87 |
}
|
| 28977 |
manish |
88 |
var data29 = $(row).find("td:eq(31) input[type='date']").val();
|
| 27833 |
tejbeer |
89 |
|
| 28848 |
manish |
90 |
if (data29 != "") {
|
|
|
91 |
data29 = data29 + "T00:00:00";
|
|
|
92 |
}
|
| 27884 |
tejbeer |
93 |
|
| 28977 |
manish |
94 |
var data30 = $(row).find("td:eq(32) input[type='checkbox']").is(":checked") ? 1 : 0;
|
| 27884 |
tejbeer |
95 |
|
| 27829 |
tejbeer |
96 |
var prebookingListingObject = {};
|
|
|
97 |
prebookingListingObject['id'] = data0
|
| 28908 |
tejbeer |
98 |
|
|
|
99 |
|
| 27833 |
tejbeer |
100 |
prebookingListingObject['createdTimestamp'] = data2
|
|
|
101 |
prebookingListingObject['acquiredDate'] = data3
|
|
|
102 |
prebookingListingObject['outletName'] = data4
|
|
|
103 |
prebookingListingObject['phoneNumber'] = data5
|
| 28908 |
tejbeer |
104 |
|
|
|
105 |
prebookingListingObject['authId'] = rbmAuthId
|
| 27833 |
tejbeer |
106 |
prebookingListingObject['city'] = data6
|
|
|
107 |
prebookingListingObject['stateHead'] = data7
|
|
|
108 |
prebookingListingObject['bdm'] = data8
|
| 27829 |
tejbeer |
109 |
|
| 27833 |
tejbeer |
110 |
prebookingListingObject['agreedBrandFees'] = data9
|
| 28908 |
tejbeer |
111 |
prebookingListingObject['receivedBrandFees'] = data10
|
|
|
112 |
prebookingListingObject['finalBrandFees'] = data11
|
| 27884 |
tejbeer |
113 |
prebookingListingObject['agreedWallet'] = data12
|
|
|
114 |
prebookingListingObject['investmentDate'] = data13
|
|
|
115 |
prebookingListingObject['kyc'] = data14
|
|
|
116 |
prebookingListingObject['aadharDoc'] = data15
|
|
|
117 |
prebookingListingObject['panDoc'] = data16
|
|
|
118 |
prebookingListingObject['gst'] = data17
|
|
|
119 |
prebookingListingObject['cancelCheque'] = data18
|
|
|
120 |
prebookingListingObject['rentAgreement'] = data19
|
|
|
121 |
prebookingListingObject['loi'] = data20
|
| 28977 |
manish |
122 |
prebookingListingObject['docCompleted'] = docCompleted
|
| 27884 |
tejbeer |
123 |
prebookingListingObject['code'] = data21
|
|
|
124 |
prebookingListingObject['receePlaned'] = data22
|
|
|
125 |
prebookingListingObject['receeActual'] = data23
|
| 28900 |
manish |
126 |
prebookingListingObject['deploymentPlanedDate'] = data24
|
|
|
127 |
prebookingListingObject['deploymentDate'] = data25
|
| 27884 |
tejbeer |
128 |
prebookingListingObject['stockPayment'] = data26
|
|
|
129 |
prebookingListingObject['expectedDate'] = data27
|
|
|
130 |
prebookingListingObject['payDate'] = data28
|
| 28848 |
manish |
131 |
prebookingListingObject['inaugrationDate'] = data29
|
|
|
132 |
prebookingListingObject['billingStatus'] = data30
|
| 27829 |
tejbeer |
133 |
|
|
|
134 |
var jsonObject = JSON.stringify(prebookingListingObject);
|
|
|
135 |
|
|
|
136 |
console.log(jsonObject);
|
|
|
137 |
|
|
|
138 |
if (confirm("Are you sure you want to submit the request") == true) {
|
| 28908 |
tejbeer |
139 |
doAjaxRequestWithJsonHandler(context + "/partnerOnBoardingListing", "POST", jsonObject, function(response) {
|
|
|
140 |
row.html(response);
|
|
|
141 |
row.css("background-color", "#F8F8FF");
|
| 27858 |
tejbeer |
142 |
|
| 27842 |
tejbeer |
143 |
});
|
| 27829 |
tejbeer |
144 |
}
|
|
|
145 |
|
|
|
146 |
});
|
| 28908 |
tejbeer |
147 |
|
| 28600 |
amit.gupta |
148 |
$(document).on('click', '.submit-design', function() {
|
|
|
149 |
var row = $(this).closest("tr");
|
|
|
150 |
console.log(row);
|
|
|
151 |
var rowIndex = $(this).closest('tr').prevAll().length;
|
| 28908 |
tejbeer |
152 |
|
| 28600 |
amit.gupta |
153 |
var id = $(row).find("td:eq(0)").text();
|
| 28908 |
tejbeer |
154 |
|
| 28648 |
amit.gupta |
155 |
var outletName = $(row).find("td:eq(1) input[type='text']").val();
|
| 28600 |
amit.gupta |
156 |
var createdTimestamp = $(row).find("td:eq(2)").text();
|
|
|
157 |
if (createdTimestamp != "") {
|
|
|
158 |
createdTimestamp = createdTimestamp + "T00:00:00";
|
|
|
159 |
}
|
|
|
160 |
var acquiredDate = $(row).find("td:eq(3) input[type='date']").val();
|
|
|
161 |
if (acquiredDate != "") {
|
|
|
162 |
acquiredDate = acquiredDate + "T00:00:00";
|
|
|
163 |
}
|
| 28908 |
tejbeer |
164 |
|
| 28600 |
amit.gupta |
165 |
var phoneNumber = $(row).find("td:eq(4) input[type='number']").val();
|
| 28908 |
tejbeer |
166 |
|
|
|
167 |
|
|
|
168 |
|
| 28610 |
amit.gupta |
169 |
var city = $(row).find("td:eq(5) input[type='text']").val();
|
|
|
170 |
var stateHead = $(row).find("td:eq(6) input[type='text']").val();
|
|
|
171 |
var bdm = $(row).find("td:eq(7) input[type='text']").val();
|
| 27829 |
tejbeer |
172 |
|
| 28610 |
amit.gupta |
173 |
var agreedBrandFees = $(row).find("td:eq(8) input[type='text']").val();
|
| 27829 |
tejbeer |
174 |
|
| 28908 |
tejbeer |
175 |
console.log("agreedBrandFees" + agreedBrandFees);
|
|
|
176 |
|
|
|
177 |
|
| 28610 |
amit.gupta |
178 |
var investmentDate = $(row).find("td:eq(9) input[type='date']").val();
|
| 28600 |
amit.gupta |
179 |
if (investmentDate != "") {
|
|
|
180 |
investmentDate = investmentDate + "T00:00:00";
|
|
|
181 |
}
|
| 28908 |
tejbeer |
182 |
console.log("investmentDate" + investmentDate);
|
|
|
183 |
|
|
|
184 |
var loi = $(row).find(".loiDesign input[type=hidden]").val();
|
| 28600 |
amit.gupta |
185 |
console.log("loi" + loi);
|
| 28908 |
tejbeer |
186 |
|
| 28610 |
amit.gupta |
187 |
var kycDesign = $(row).find(".kycDesign input[type=hidden]").val();
|
| 28908 |
tejbeer |
188 |
|
| 28600 |
amit.gupta |
189 |
var code = $(row).find("td:eq(12) input[type='text']").val();
|
| 28908 |
tejbeer |
190 |
console.log("code" + code);
|
|
|
191 |
|
|
|
192 |
|
| 28600 |
amit.gupta |
193 |
var receePlaned = $(row).find("td:eq(13) input[type='date']").val();
|
|
|
194 |
if (receePlaned != "") {
|
|
|
195 |
receePlaned = receePlaned + "T00:00:00";
|
|
|
196 |
}
|
|
|
197 |
var receeActual = $(row).find("td:eq(14) input[type='date']").val();
|
|
|
198 |
if (receeActual != "") {
|
|
|
199 |
receeActual = receeActual + "T00:00:00";
|
|
|
200 |
}
|
| 28908 |
tejbeer |
201 |
console.log("receeActual" + receeActual);
|
|
|
202 |
|
|
|
203 |
|
| 28848 |
manish |
204 |
var twoDBoqPlanedDate = $(row).find("td:eq(16) input[type='date']").val();
|
| 28600 |
amit.gupta |
205 |
if (twoDBoqPlanedDate != "") {
|
|
|
206 |
twoDBoqPlanedDate = twoDBoqPlanedDate + "T00:00:00";
|
|
|
207 |
}
|
| 28908 |
tejbeer |
208 |
|
| 28848 |
manish |
209 |
var twoDBoqdate = $(row).find("td:eq(17) input[type='date']").val();
|
| 28600 |
amit.gupta |
210 |
if (twoDBoqdate != "") {
|
|
|
211 |
twoDBoqdate = twoDBoqdate + "T00:00:00";
|
|
|
212 |
}
|
|
|
213 |
var twodBOQ = $(row).find(".twoDBoq input[type=hidden]").val();
|
| 28908 |
tejbeer |
214 |
|
| 28848 |
manish |
215 |
var threeDBoqPlanedDate = $(row).find("td:eq(19) input[type='date']").val();
|
| 28600 |
amit.gupta |
216 |
if (threeDBoqPlanedDate != "") {
|
|
|
217 |
threeDBoqPlanedDate = threeDBoqPlanedDate + "T00:00:00";
|
|
|
218 |
}
|
| 28908 |
tejbeer |
219 |
|
| 28848 |
manish |
220 |
var threeDBoqdate = $(row).find("td:eq(20) input[type='date']").val();
|
| 28600 |
amit.gupta |
221 |
if (threeDBoqdate != "") {
|
|
|
222 |
threeDBoqdate = threeDBoqdate + "T00:00:00";
|
|
|
223 |
}
|
| 28908 |
tejbeer |
224 |
|
| 28600 |
amit.gupta |
225 |
var threeDBoq = $(row).find(".threeDBoq input[type=hidden]").val();
|
| 28908 |
tejbeer |
226 |
|
| 28848 |
manish |
227 |
var poVenderPlanedDate = $(row).find("td:eq(22) input[type='date']").val();
|
| 28600 |
amit.gupta |
228 |
if (poVenderPlanedDate != "") {
|
|
|
229 |
poVenderPlanedDate = poVenderPlanedDate + "T00:00:00";
|
|
|
230 |
}
|
| 28848 |
manish |
231 |
var poVenderDate = $(row).find("td:eq(23) input[type='date']").val();
|
| 28600 |
amit.gupta |
232 |
if (poVenderDate != "") {
|
|
|
233 |
poVenderDate = poVenderDate + "T00:00:00";
|
|
|
234 |
}
|
| 28908 |
tejbeer |
235 |
|
|
|
236 |
|
| 28848 |
manish |
237 |
var briefingPartnerPlaned = $(row).find("td:eq(24) input[type='date']").val();
|
| 28600 |
amit.gupta |
238 |
if (briefingPartnerPlaned != "") {
|
|
|
239 |
briefingPartnerPlaned = briefingPartnerPlaned + "T00:00:00";
|
|
|
240 |
}
|
| 28848 |
manish |
241 |
var briefingPartner = $(row).find("td:eq(25) input[type='date']").val();
|
| 28600 |
amit.gupta |
242 |
if (briefingPartner != "") {
|
|
|
243 |
briefingPartner = briefingPartner + "T00:00:00";
|
|
|
244 |
}
|
| 28848 |
manish |
245 |
var deploymentPlanedDate = $(row).find("td:eq(26) input[type='date']").val();
|
| 28600 |
amit.gupta |
246 |
if (deploymentPlanedDate != "") {
|
|
|
247 |
deploymentPlanedDate = deploymentPlanedDate + "T00:00:00";
|
|
|
248 |
}
|
| 28848 |
manish |
249 |
var deploymentDate = $(row).find("td:eq(27) input[type='date']").val();
|
| 28600 |
amit.gupta |
250 |
if (deploymentDate != "") {
|
|
|
251 |
deploymentDate = deploymentDate + "T00:00:00";
|
|
|
252 |
}
|
| 28908 |
tejbeer |
253 |
|
|
|
254 |
|
| 28848 |
manish |
255 |
var finalPicsOutletPlanedDate = $(row).find("td:eq(28) input[type='date']").val();
|
| 28600 |
amit.gupta |
256 |
if (finalPicsOutletPlanedDate != "") {
|
|
|
257 |
finalPicsOutletPlanedDate = finalPicsOutletPlanedDate + "T00:00:00";
|
|
|
258 |
}
|
| 28908 |
tejbeer |
259 |
|
| 28848 |
manish |
260 |
var finalPicsOutletDate = $(row).find("td:eq(29) input[type='date']").val();
|
| 28600 |
amit.gupta |
261 |
if (finalPicsOutletDate != "") {
|
|
|
262 |
finalPicsOutletDate = finalPicsOutletDate + "T00:00:00";
|
|
|
263 |
}
|
|
|
264 |
var finalPicsOutlet = $(row).find(".finalPics input[type=hidden]").val();
|
| 27829 |
tejbeer |
265 |
|
| 28848 |
manish |
266 |
var nocDate = $(row).find("td:eq(31) input[type='date']").val();
|
| 28600 |
amit.gupta |
267 |
if (nocDate != "") {
|
|
|
268 |
nocDate = nocDate + "T00:00:00";
|
|
|
269 |
}
|
|
|
270 |
var noc = $(row).find(".noc input[type=hidden]").val();
|
|
|
271 |
var prebookingListingObject = {};
|
|
|
272 |
prebookingListingObject['id'] = id
|
| 28908 |
tejbeer |
273 |
prebookingListingObject['outletName'] = outletName
|
|
|
274 |
|
| 28600 |
amit.gupta |
275 |
prebookingListingObject['createdTimestamp'] = createdTimestamp
|
|
|
276 |
prebookingListingObject['acquiredDate'] = acquiredDate
|
| 28908 |
tejbeer |
277 |
|
| 28600 |
amit.gupta |
278 |
prebookingListingObject['phoneNumber'] = phoneNumber
|
| 28908 |
tejbeer |
279 |
|
| 28600 |
amit.gupta |
280 |
prebookingListingObject['city'] = city
|
|
|
281 |
prebookingListingObject['stateHead'] = stateHead
|
|
|
282 |
prebookingListingObject['bdm'] = bdm
|
|
|
283 |
|
|
|
284 |
prebookingListingObject['agreedBrandFees'] = agreedBrandFees
|
| 28908 |
tejbeer |
285 |
|
| 28600 |
amit.gupta |
286 |
prebookingListingObject['investmentDate'] = investmentDate
|
|
|
287 |
prebookingListingObject['loi'] = loi
|
| 28610 |
amit.gupta |
288 |
prebookingListingObject['kycDesign'] = kycDesign
|
| 28600 |
amit.gupta |
289 |
prebookingListingObject['code'] = code
|
|
|
290 |
prebookingListingObject['receePlaned'] = receePlaned
|
|
|
291 |
prebookingListingObject['receeActual'] = receeActual
|
|
|
292 |
prebookingListingObject['twoDBoqPlanedDate'] = twoDBoqPlanedDate
|
|
|
293 |
prebookingListingObject['twoDBoqdate'] = twoDBoqdate
|
|
|
294 |
prebookingListingObject['twodBOQ'] = twodBOQ
|
|
|
295 |
prebookingListingObject['threeDBoqPlanedDate'] = threeDBoqPlanedDate
|
|
|
296 |
prebookingListingObject['threeDBoqdate'] = threeDBoqdate
|
|
|
297 |
prebookingListingObject['threeDBoq'] = threeDBoq
|
|
|
298 |
prebookingListingObject['poVenderPlanedDate'] = poVenderPlanedDate
|
|
|
299 |
prebookingListingObject['poVenderDate'] = poVenderDate
|
| 28908 |
tejbeer |
300 |
|
| 28600 |
amit.gupta |
301 |
prebookingListingObject['briefingPartnerPlaned'] = briefingPartnerPlaned
|
|
|
302 |
prebookingListingObject['briefingPartner'] = briefingPartner
|
|
|
303 |
prebookingListingObject['deploymentPlanedDate'] = deploymentPlanedDate
|
|
|
304 |
prebookingListingObject['deploymentDate'] = deploymentDate
|
|
|
305 |
prebookingListingObject['finalPicsOutletPlanedDate'] = finalPicsOutletPlanedDate
|
|
|
306 |
prebookingListingObject['finalPicsOutletDate'] = finalPicsOutletDate
|
|
|
307 |
prebookingListingObject['finalPicsOutlet'] = finalPicsOutlet
|
|
|
308 |
prebookingListingObject['nocDate'] = nocDate
|
|
|
309 |
prebookingListingObject['noc'] = noc
|
|
|
310 |
|
| 28908 |
tejbeer |
311 |
|
|
|
312 |
|
| 28600 |
amit.gupta |
313 |
var jsonObject = JSON.stringify(prebookingListingObject);
|
|
|
314 |
|
|
|
315 |
console.log(jsonObject);
|
|
|
316 |
|
|
|
317 |
if (confirm("Are you sure you want to submit the request") == true) {
|
| 28908 |
tejbeer |
318 |
doAjaxRequestWithJsonHandler(context + "/partnerOnboardingDesignaTatPanel", "POST", jsonObject, function(response) {
|
|
|
319 |
row.html(response);
|
|
|
320 |
row.css("background-color", "#F8F8FF");
|
| 28600 |
amit.gupta |
321 |
|
|
|
322 |
});
|
|
|
323 |
}
|
|
|
324 |
|
|
|
325 |
});
|
|
|
326 |
|
|
|
327 |
|
| 28940 |
manish |
328 |
$(document).on('click', ".noticPartneronboarding", function() {
|
|
|
329 |
var id = $(this).data('id');
|
|
|
330 |
console.log(id);
|
|
|
331 |
if (confirm("Are you sure you want to Notice Isssue this Partner") == true) {
|
|
|
332 |
doPostAjaxRequestHandler(context + "/partnerOnboardingNotice?id=" + id,
|
|
|
333 |
function(response) {
|
|
|
334 |
|
|
|
335 |
console.log("reponse" + response);
|
|
|
336 |
if (response == 'true') {
|
|
|
337 |
alert("successfully Done");
|
|
|
338 |
|
|
|
339 |
|
|
|
340 |
panelListing("main-content");
|
|
|
341 |
}
|
|
|
342 |
});
|
|
|
343 |
}
|
|
|
344 |
});
|
| 28900 |
manish |
345 |
|
| 28940 |
manish |
346 |
|
|
|
347 |
|
| 28900 |
manish |
348 |
$(document).on('click', ".holdPartnerOnboarding", function() {
|
|
|
349 |
var id = $(this).data('id');
|
|
|
350 |
console.log(id);
|
|
|
351 |
if (confirm("Are you sure you want to hold this Partner") == true) {
|
|
|
352 |
doPostAjaxRequestHandler(context + "/partnerOnboardingHold?id=" + id,
|
|
|
353 |
function(response) {
|
| 28600 |
amit.gupta |
354 |
|
| 28900 |
manish |
355 |
console.log("reponse" + response);
|
|
|
356 |
if (response == 'true') {
|
|
|
357 |
alert("successfully Done");
|
|
|
358 |
|
|
|
359 |
|
|
|
360 |
panelListing("main-content");
|
|
|
361 |
}
|
|
|
362 |
});
|
|
|
363 |
}
|
|
|
364 |
});
|
|
|
365 |
|
|
|
366 |
|
|
|
367 |
$(document).on('click', ".unHoldPartnerOnboarding", function() {
|
|
|
368 |
var id = $(this).data('id');
|
|
|
369 |
console.log(id);
|
|
|
370 |
if (confirm("Are you sure you want to Unhold this Partner") == true) {
|
|
|
371 |
doPostAjaxRequestHandler(context + "/partnerOnboardingUnhold?id=" + id,
|
|
|
372 |
function(response) {
|
|
|
373 |
|
|
|
374 |
console.log("reponse" + response);
|
|
|
375 |
if (response == 'true') {
|
|
|
376 |
alert("successfully Done");
|
|
|
377 |
panelListing("main-content");
|
|
|
378 |
}
|
|
|
379 |
});
|
|
|
380 |
}
|
|
|
381 |
});
|
|
|
382 |
|
| 27829 |
tejbeer |
383 |
$(document).on('click', ".partner-onboarding-index", function() {
|
| 27763 |
tejbeer |
384 |
panelListing("main-content");
|
|
|
385 |
});
|
| 27813 |
tejbeer |
386 |
|
|
|
387 |
|
|
|
388 |
$(document).on('click', ".partner-onboarding-open", function() {
|
|
|
389 |
console.log("yes");
|
| 27799 |
tejbeer |
390 |
partnerOnboardingOpen("main-content");
|
|
|
391 |
});
|
| 28908 |
tejbeer |
392 |
|
| 28600 |
amit.gupta |
393 |
$(document).on('click', ".design-completed", function() {
|
|
|
394 |
console.log("yes");
|
|
|
395 |
partnerOnboardinDesignCompleted("main-content");
|
|
|
396 |
});
|
| 28908 |
tejbeer |
397 |
|
| 28600 |
amit.gupta |
398 |
$(document).on('click', ".design_tat", function() {
|
|
|
399 |
console.log("yes");
|
|
|
400 |
partnerOnboardingDesign("main-content");
|
|
|
401 |
});
|
| 27813 |
tejbeer |
402 |
|
| 27829 |
tejbeer |
403 |
$(document).on('click', ".partner-onboarding-reject", function() {
|
| 27799 |
tejbeer |
404 |
console.log("helo");
|
| 27763 |
tejbeer |
405 |
|
| 27799 |
tejbeer |
406 |
partnerOnboardingReject("main-content");
|
|
|
407 |
});
|
|
|
408 |
|
| 27813 |
tejbeer |
409 |
$(document).on('input', 'table#example input[type=file]', function() {
|
|
|
410 |
if (confirm('Confirm upload ?')) {
|
|
|
411 |
var fileSelector = $(this)[0];
|
|
|
412 |
if (fileSelector != undefined
|
|
|
413 |
&& fileSelector.files[0] != undefined) {
|
|
|
414 |
var url = `${context}/document-upload`;
|
|
|
415 |
console.log(url);
|
|
|
416 |
var file = this.files[0];
|
| 28908 |
tejbeer |
417 |
console.log("file" + file);
|
| 27813 |
tejbeer |
418 |
let fileInput = $(this);
|
| 28908 |
tejbeer |
419 |
console.log("fileInput" + file);
|
| 27813 |
tejbeer |
420 |
doAjaxUploadRequestHandler(
|
|
|
421 |
url,
|
|
|
422 |
'POST',
|
|
|
423 |
file,
|
|
|
424 |
function(response) {
|
|
|
425 |
console.log(response);
|
|
|
426 |
var documentId = response.response.document_id;
|
|
|
427 |
console.log("documentId : " + documentId);
|
|
|
428 |
fileInput.closest('td').find("input[type=hidden]").val(documentId);
|
|
|
429 |
});
|
|
|
430 |
// alert("Retailer Shop Document
|
|
|
431 |
// is required");
|
|
|
432 |
}
|
|
|
433 |
} else {
|
|
|
434 |
// Do nothing!
|
|
|
435 |
}
|
|
|
436 |
});
|
| 28977 |
manish |
437 |
|
|
|
438 |
|
|
|
439 |
$(document).on('input', 'table#partnerVerification input[type=file]', function() {
|
|
|
440 |
if (confirm('Confirm upload ?')) {
|
|
|
441 |
var fileSelector = $(this)[0];
|
|
|
442 |
if (fileSelector != undefined
|
|
|
443 |
&& fileSelector.files[0] != undefined) {
|
|
|
444 |
var url = `${context}/document-upload`;
|
|
|
445 |
console.log(url);
|
|
|
446 |
var file = this.files[0];
|
|
|
447 |
console.log("file" + file);
|
|
|
448 |
let fileInput = $(this);
|
|
|
449 |
console.log("fileInput" + file);
|
|
|
450 |
doAjaxUploadRequestHandler(
|
|
|
451 |
url,
|
|
|
452 |
'POST',
|
|
|
453 |
file,
|
|
|
454 |
function(response) {
|
|
|
455 |
console.log(response);
|
|
|
456 |
var documentId = response.response.document_id;
|
|
|
457 |
console.log("documentId : " + documentId);
|
|
|
458 |
fileInput.closest('td').find("input[type=hidden]").val(documentId);
|
|
|
459 |
});
|
|
|
460 |
// alert("Retailer Shop Document
|
|
|
461 |
// is required");
|
|
|
462 |
}
|
|
|
463 |
} else {
|
|
|
464 |
// Do nothing!
|
|
|
465 |
}
|
|
|
466 |
});
|
|
|
467 |
|
|
|
468 |
|
|
|
469 |
|
| 28600 |
amit.gupta |
470 |
$(document).on('input', 'table#OnboardingDesign input[type=file]', function() {
|
|
|
471 |
if (confirm('Confirm upload ?')) {
|
|
|
472 |
var fileSelector = $(this)[0];
|
|
|
473 |
if (fileSelector != undefined
|
|
|
474 |
&& fileSelector.files[0] != undefined) {
|
|
|
475 |
var url = `${context}/document-upload`;
|
|
|
476 |
console.log(url);
|
|
|
477 |
var file = this.files[0];
|
| 28908 |
tejbeer |
478 |
console.log("file" + file);
|
| 28600 |
amit.gupta |
479 |
let fileInput = $(this);
|
| 28908 |
tejbeer |
480 |
console.log("fileInput" + file);
|
| 28600 |
amit.gupta |
481 |
doAjaxUploadRequestHandler(
|
|
|
482 |
url,
|
|
|
483 |
'POST',
|
|
|
484 |
file,
|
|
|
485 |
function(response) {
|
|
|
486 |
console.log(response);
|
|
|
487 |
var documentId = response.response.document_id;
|
|
|
488 |
console.log("documentId : " + documentId);
|
|
|
489 |
fileInput.closest('td').find("input[type=hidden]").val(documentId);
|
|
|
490 |
});
|
|
|
491 |
// alert("Retailer Shop Document
|
|
|
492 |
// is required");
|
|
|
493 |
}
|
|
|
494 |
} else {
|
|
|
495 |
// Do nothing!
|
|
|
496 |
}
|
|
|
497 |
});
|
| 27799 |
tejbeer |
498 |
|
| 27829 |
tejbeer |
499 |
$(document).on('click', '#newmodal', function() {
|
| 28977 |
manish |
500 |
|
|
|
501 |
|
|
|
502 |
var prebookingListingObject = {};
|
|
|
503 |
var outletName = $('#outLetName1').val();
|
|
|
504 |
var phoneNumber =$('#number1').val();
|
|
|
505 |
|
|
|
506 |
if (outletName == "") {
|
|
|
507 |
|
|
|
508 |
alert("outletName is required ");
|
|
|
509 |
return;
|
|
|
510 |
}
|
|
|
511 |
prebookingListingObject['outletName'] = $('#outLetName1').val();
|
|
|
512 |
|
|
|
513 |
if (phoneNumber == "") {
|
|
|
514 |
alert("Phone Number is required ");
|
|
|
515 |
return false;
|
|
|
516 |
|
|
|
517 |
}
|
|
|
518 |
if(phoneNumber.length > 6 && phoneNumber.length < 11) {
|
|
|
519 |
|
|
|
520 |
prebookingListingObject['phoneNumber'] = $('#number1').val();
|
|
|
521 |
|
|
|
522 |
}
|
|
|
523 |
else
|
|
|
524 |
{
|
|
|
525 |
alert("Number should be greater then 6 and less then 11");
|
|
|
526 |
return false;
|
|
|
527 |
|
|
|
528 |
}
|
|
|
529 |
|
|
|
530 |
acquireddate1 = $('#acquireddate1').val();
|
|
|
531 |
if (acquireddate1 != "") {
|
|
|
532 |
acquireddate1 = acquireddate1 + "T00:00:00";
|
|
|
533 |
}
|
|
|
534 |
prebookingListingObject['authId'] = $('#authUserOnboarding').val();
|
| 27813 |
tejbeer |
535 |
|
| 28977 |
manish |
536 |
prebookingListingObject['acquiredDate'] = acquireddate1
|
|
|
537 |
|
| 27813 |
tejbeer |
538 |
|
| 28977 |
manish |
539 |
var json = JSON.stringify(prebookingListingObject);
|
| 27829 |
tejbeer |
540 |
console.log(json);
|
|
|
541 |
doAjaxRequestWithJsonHandler(
|
|
|
542 |
context
|
|
|
543 |
+ "/partnerOnBoardingListing",
|
|
|
544 |
"POST",
|
|
|
545 |
json,
|
|
|
546 |
function(response) {
|
| 27813 |
tejbeer |
547 |
|
| 28908 |
tejbeer |
548 |
panelListing("main-content");
|
|
|
549 |
|
|
|
550 |
|
| 27829 |
tejbeer |
551 |
});
|
|
|
552 |
});
|
| 27813 |
tejbeer |
553 |
|
| 27829 |
tejbeer |
554 |
var table = $('#example').DataTable();
|
|
|
555 |
$(document).on('dblclick', '#example tbody tr', function() {
|
| 27813 |
tejbeer |
556 |
|
| 27829 |
tejbeer |
557 |
var data = table.row(this).data();
|
| 28977 |
manish |
558 |
var statusHold= $(this).find("td:eq(37) button[type='submit']").val();
|
| 28900 |
manish |
559 |
|
|
|
560 |
console.log("statusHold"+statusHold);
|
|
|
561 |
if(statusHold.localeCompare("hold") )
|
|
|
562 |
{
|
|
|
563 |
$(this).find(":input").attr('disabled', true);
|
| 28977 |
manish |
564 |
$(this).find("td:eq(37) button[type='submit']").attr('disabled', false);
|
| 28900 |
manish |
565 |
$(this).find("td:eq(36) button[type='submit']").attr('disabled', false);
|
|
|
566 |
}
|
|
|
567 |
else{
|
|
|
568 |
$(this).find(":input").attr('disabled', false).show();
|
| 28977 |
manish |
569 |
$(this).find(":selected").attr('disabled', false).show();
|
|
|
570 |
|
| 28900 |
manish |
571 |
}
|
| 28881 |
manish |
572 |
$(this).find("input[name=rbmAuthId]").attr('disabled', true);
|
| 28900 |
manish |
573 |
$(this).find("input[name=verificationStatusOnboarding]").attr('disabled', true);
|
|
|
574 |
|
| 27829 |
tejbeer |
575 |
$(this).css("background-color", "#87d3f8");
|
| 27884 |
tejbeer |
576 |
let a=12;
|
|
|
577 |
let b=12;
|
|
|
578 |
console.log("yes"+a==b);
|
|
|
579 |
|
| 27829 |
tejbeer |
580 |
});
|
| 28908 |
tejbeer |
581 |
|
| 28600 |
amit.gupta |
582 |
var table = $('#OnboardingDesign').DataTable();
|
|
|
583 |
$(document).on('dblclick', '#OnboardingDesign tbody tr', function() {
|
| 27813 |
tejbeer |
584 |
|
| 28600 |
amit.gupta |
585 |
var data = table.row(this).data();
|
| 28908 |
tejbeer |
586 |
|
|
|
587 |
$(this).find(":input").attr('disabled', false).show();
|
|
|
588 |
|
|
|
589 |
$(this).find("input[name=acquireddate]").attr('disabled', true);
|
|
|
590 |
$(this).find("input[name=outlateName]").attr('disabled', true);
|
|
|
591 |
$(this).find("input[name=phonenumber1]").attr('disabled', true);
|
|
|
592 |
$(this).find("input[name=kyc1]").attr('disabled', true);
|
|
|
593 |
$(this).find("input[name=city1]").attr('disabled', true);
|
|
|
594 |
$(this).find("input[name=shead1]").attr('disabled', true);
|
|
|
595 |
$(this).find("input[name=bdm1]").attr('disabled', true);
|
|
|
596 |
$(this).find("input[name=abrand1]").attr('disabled', true);
|
|
|
597 |
$(this).find("input[name=recbrand1]").attr('disabled', true);
|
|
|
598 |
$(this).find("input[name=BrandFeesdate1]").attr('disabled', true);
|
|
|
599 |
$(this).find("input[name=idate1]").attr('disabled', true);
|
|
|
600 |
$(this).find("input[name=loi1]").attr('disabled', true);
|
|
|
601 |
$(this).find("input[name=code1]").attr('disabled', true);
|
|
|
602 |
$(this).find("input[name=rplaned1]").attr('disabled', true);
|
|
|
603 |
$(this).find("input[name=stockPaymentDesign]").attr('disabled', true);
|
|
|
604 |
$(this).find("input[name=twoDBoq1]").attr('disabled', true);
|
|
|
605 |
$(this).find("input[name=threeBoqDate1]").attr('disabled', true);
|
|
|
606 |
$(this).find("input[name=poVenderDate1]").attr('disabled', true);
|
|
|
607 |
$(this).find("input[name=briefingPartnerPlanedDate1]").attr('disabled', true);
|
|
|
608 |
$(this).find("input[name=deploymentPlanedDate]").attr('disabled', true);
|
|
|
609 |
$(this).find("input[name=FinalPicsOutLets]").attr('disabled', true);
|
|
|
610 |
$(this).find("input[name=poVenderDate1]").attr('disabled', true);
|
| 28600 |
amit.gupta |
611 |
$(this).css("background-color", "#87d3f8");
|
| 28908 |
tejbeer |
612 |
let a = 12;
|
|
|
613 |
let b = 12;
|
|
|
614 |
console.log("yes" + a == b);
|
|
|
615 |
|
| 28600 |
amit.gupta |
616 |
});
|
|
|
617 |
|
|
|
618 |
|
| 27829 |
tejbeer |
619 |
$(document).on('click', ".delete", function() {
|
| 27813 |
tejbeer |
620 |
|
| 27829 |
tejbeer |
621 |
var id = $(this).data('id');
|
|
|
622 |
console.log('helo');
|
|
|
623 |
var id = $(this).data('id');
|
|
|
624 |
console.log(id);
|
|
|
625 |
if (confirm("Are you sure your outlet is open") == true) {
|
|
|
626 |
doPostAjaxRequestHandler(context + "/partnerOnBoardingOpen?id=" + id,
|
|
|
627 |
function(response) {
|
| 27813 |
tejbeer |
628 |
|
| 27829 |
tejbeer |
629 |
console.log("reponse" + response);
|
|
|
630 |
if (response == 'true') {
|
|
|
631 |
alert("congratulations your outlet is successfully open");
|
| 27813 |
tejbeer |
632 |
|
| 27829 |
tejbeer |
633 |
panelListing("main-content");
|
|
|
634 |
}
|
|
|
635 |
});
|
|
|
636 |
}
|
| 27813 |
tejbeer |
637 |
|
| 27829 |
tejbeer |
638 |
});
|
| 28600 |
amit.gupta |
639 |
$(document).on('click', ".design-complete", function() {
|
|
|
640 |
var id = $(this).data('id');
|
| 29007 |
manish |
641 |
var row = $(this).closest("tr");
|
| 28600 |
amit.gupta |
642 |
console.log('helo');
|
| 29007 |
manish |
643 |
var receeActual = $(row).find("td:eq(14) input[type='date']").val();
|
|
|
644 |
if (receeActual != "") {
|
|
|
645 |
receeActual = receeActual + "T00:00:00";
|
|
|
646 |
}
|
|
|
647 |
var twoDBoqdate = $(row).find("td:eq(17) input[type='date']").val();
|
|
|
648 |
if (twoDBoqdate != "") {
|
|
|
649 |
twoDBoqdate = twoDBoqdate + "T00:00:00";
|
|
|
650 |
}
|
|
|
651 |
|
|
|
652 |
var poVenderDate = $(row).find("td:eq(23) input[type='date']").val();
|
|
|
653 |
if (poVenderDate != "") {
|
|
|
654 |
poVenderDate = poVenderDate + "T00:00:00";
|
|
|
655 |
}
|
|
|
656 |
var briefingPartner = $(row).find("td:eq(25) input[type='date']").val();
|
|
|
657 |
if (briefingPartner != "") {
|
|
|
658 |
briefingPartner = briefingPartner + "T00:00:00";
|
|
|
659 |
}
|
|
|
660 |
|
|
|
661 |
var deploymentDate = $(row).find("td:eq(27) input[type='date']").val();
|
|
|
662 |
if (deploymentDate != "") {
|
|
|
663 |
deploymentDate = deploymentDate + "T00:00:00";
|
|
|
664 |
}
|
|
|
665 |
|
|
|
666 |
var nocDate = $(row).find("td:eq(31) input[type='date']").val();
|
|
|
667 |
if (nocDate != "") {
|
|
|
668 |
nocDate = nocDate + "T00:00:00";
|
|
|
669 |
}
|
|
|
670 |
|
|
|
671 |
if(receeActual =="")
|
|
|
672 |
{
|
|
|
673 |
alert("Please Fill The Recee Actual Date");
|
|
|
674 |
return
|
|
|
675 |
|
|
|
676 |
}
|
|
|
677 |
if(twoDBoqdate =="")
|
|
|
678 |
{
|
|
|
679 |
alert("Please Fill The 2D with BOQ Actual Date");
|
|
|
680 |
return
|
|
|
681 |
|
|
|
682 |
}
|
|
|
683 |
if(poVenderDate =="")
|
|
|
684 |
{
|
|
|
685 |
alert("Please Fill The PO To Vendor Actual Date");
|
|
|
686 |
return
|
|
|
687 |
|
|
|
688 |
}
|
|
|
689 |
if(briefingPartner=="")
|
|
|
690 |
{
|
|
|
691 |
alert("Please Fill The Briefing Partner Actual Date ");
|
|
|
692 |
return
|
|
|
693 |
|
|
|
694 |
}
|
|
|
695 |
|
|
|
696 |
if(deploymentDate=="")
|
|
|
697 |
{
|
|
|
698 |
alert("Please Fill The Deployment Actual Date ");
|
|
|
699 |
return
|
|
|
700 |
|
|
|
701 |
}
|
|
|
702 |
if(nocDate =="")
|
|
|
703 |
{
|
|
|
704 |
alert("Please Fill The NOC Actual Date ");
|
|
|
705 |
return
|
|
|
706 |
|
|
|
707 |
}
|
|
|
708 |
|
|
|
709 |
|
|
|
710 |
|
| 28600 |
amit.gupta |
711 |
var id = $(this).data('id');
|
|
|
712 |
console.log(id);
|
|
|
713 |
if (confirm("Are you sure your Design TAT is Complete") == true) {
|
|
|
714 |
doPostAjaxRequestHandler(context + "/partnerDesignTatCompleted?id=" + id,
|
|
|
715 |
function(response) {
|
| 27813 |
tejbeer |
716 |
|
| 28600 |
amit.gupta |
717 |
console.log("reponse" + response);
|
|
|
718 |
if (response == 'true') {
|
|
|
719 |
alert("congratulations your Desiging is successfully Done");
|
| 28900 |
manish |
720 |
partnerOnboardingDesign("main-content");
|
| 28600 |
amit.gupta |
721 |
}
|
|
|
722 |
});
|
|
|
723 |
}
|
|
|
724 |
|
|
|
725 |
});
|
|
|
726 |
|
|
|
727 |
|
| 27829 |
tejbeer |
728 |
$(document).on('click', ".rejectpartneronboarding", function() {
|
|
|
729 |
var id = $(this).data('id');
|
|
|
730 |
console.log('helo');
|
|
|
731 |
var id = $(this).data('id');
|
|
|
732 |
console.log(id);
|
|
|
733 |
if (confirm("Are you sure you want to reject the request") == true) {
|
|
|
734 |
doPostAjaxRequestHandler(context + "/partnerOnBoardingReject?id=" + id,
|
|
|
735 |
function(response) {
|
|
|
736 |
|
|
|
737 |
console.log("reponse" + response);
|
|
|
738 |
if (response == 'true') {
|
|
|
739 |
alert("successfully rejected");
|
|
|
740 |
panelListing("main-content");
|
|
|
741 |
}
|
|
|
742 |
});
|
|
|
743 |
}
|
|
|
744 |
|
|
|
745 |
});
|
|
|
746 |
|
| 27763 |
tejbeer |
747 |
});
|
|
|
748 |
|
| 27855 |
tejbeer |
749 |
$(document).on('click', ".Del", function() {
|
| 28908 |
tejbeer |
750 |
var $td = $(this).closest("td");
|
|
|
751 |
//var delDoc= $(this).closest('td').find('.gst', "input[type=hidden]").val();
|
| 27855 |
tejbeer |
752 |
//var columnName= $(this).closest('td' , "input[type=hidden]").val();
|
| 28908 |
tejbeer |
753 |
var dataDel = $td.find("input[type=hidden]").val('0');
|
|
|
754 |
dataDel = 0;
|
| 27855 |
tejbeer |
755 |
console.log(dataDel);
|
| 28715 |
amit.gupta |
756 |
if (confirm("Are you sure you want to delete this doc") == true) {
|
| 27813 |
tejbeer |
757 |
|
| 28908 |
tejbeer |
758 |
if (dataDel == 0) {
|
|
|
759 |
$td.css({ 'background-color': 'pink' });
|
|
|
760 |
console.log("true");
|
|
|
761 |
$td.find('a', ".download").hide();
|
|
|
762 |
$td.find('a', ".Del").hide();
|
|
|
763 |
}
|
| 27855 |
tejbeer |
764 |
|
| 28908 |
tejbeer |
765 |
}
|
|
|
766 |
});
|
| 28600 |
amit.gupta |
767 |
|
| 28908 |
tejbeer |
768 |
|
|
|
769 |
|
| 27813 |
tejbeer |
770 |
|
|
|
771 |
|
| 27829 |
tejbeer |
772 |
function panelListing(domId) {
|
|
|
773 |
doAjaxRequestHandler(context + "/partnerOnBoardingPanel", "GET",
|
|
|
774 |
function(response) {
|
|
|
775 |
$('#' + domId).html(response);
|
|
|
776 |
});
|
|
|
777 |
}
|
| 27813 |
tejbeer |
778 |
|
|
|
779 |
|
|
|
780 |
|
| 27829 |
tejbeer |
781 |
|
| 27763 |
tejbeer |
782 |
function panelListing(domId) {
|
|
|
783 |
doAjaxRequestHandler(context + "/partnerOnBoardingPanel", "GET",
|
|
|
784 |
function(response) {
|
|
|
785 |
$('#' + domId).html(response);
|
|
|
786 |
});
|
|
|
787 |
}
|
| 27799 |
tejbeer |
788 |
function partnerOnboardingOpen(domId) {
|
|
|
789 |
doAjaxRequestHandler(context + "/partnerOnBoardingOpenShow", "GET",
|
|
|
790 |
function(response) {
|
|
|
791 |
$('#' + domId).html(response);
|
|
|
792 |
});
|
|
|
793 |
}
|
| 28600 |
amit.gupta |
794 |
|
|
|
795 |
function partnerOnboardinDesignCompleted(domId) {
|
|
|
796 |
doAjaxRequestHandler(context + "/DesignTatCompletedShow", "GET",
|
|
|
797 |
function(response) {
|
|
|
798 |
$('#' + domId).html(response);
|
|
|
799 |
});
|
|
|
800 |
}
|
|
|
801 |
|
|
|
802 |
function partnerOnboardingDesign(domId) {
|
|
|
803 |
doAjaxRequestHandler(context + "/partnerOnBoardingDesign", "GET",
|
|
|
804 |
function(response) {
|
|
|
805 |
$('#' + domId).html(response);
|
|
|
806 |
});
|
|
|
807 |
}
|
|
|
808 |
|
| 27799 |
tejbeer |
809 |
function partnerOnboardingReject(domId) {
|
|
|
810 |
doAjaxRequestHandler(context + "/partnerOnBoardingRejectShow", "GET",
|
|
|
811 |
function(response) {
|
|
|
812 |
$('#' + domId).html(response);
|
|
|
813 |
});
|
|
|
814 |
}
|
| 27763 |
tejbeer |
815 |
|
| 27813 |
tejbeer |
816 |
|
| 27763 |
tejbeer |
817 |
function panelOnBoardingListing(domId) {
|
|
|
818 |
doAjaxRequestHandler(context + "/partnerOnBoardingListing", "POST",
|
|
|
819 |
function(response) {
|
|
|
820 |
$('#' + domId).html(response);
|
|
|
821 |
});
|
|
|
822 |
|
|
|
823 |
}
|
|
|
824 |
|
|
|
825 |
|
| 28908 |
tejbeer |
826 |
function panelListing(domId) {
|
|
|
827 |
doAjaxRequestHandler(context + "/partnerOnBoardingPanel", "GET",
|
|
|
828 |
function(response) {
|
|
|
829 |
$('#' + domId).html(response);
|
|
|
830 |
});
|
|
|
831 |
}
|
| 27763 |
tejbeer |
832 |
|
|
|
833 |
|
| 27842 |
tejbeer |
834 |
|
| 28908 |
tejbeer |
835 |
|