Subversion Repositories SmartDukaan

Rev

Rev 28881 | Rev 28908 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 28881 Rev 28900
Line 108... Line 108...
108
		prebookingListingObject['rentAgreement'] = data19
108
		prebookingListingObject['rentAgreement'] = data19
109
		prebookingListingObject['loi'] = data20
109
		prebookingListingObject['loi'] = data20
110
		prebookingListingObject['code'] = data21
110
		prebookingListingObject['code'] = data21
111
		prebookingListingObject['receePlaned'] = data22
111
		prebookingListingObject['receePlaned'] = data22
112
		prebookingListingObject['receeActual'] = data23
112
		prebookingListingObject['receeActual'] = data23
113
		prebookingListingObject['designingPlaned'] = data24
113
		prebookingListingObject['deploymentPlanedDate'] = data24
114
		prebookingListingObject['designingActual'] = data25
114
		prebookingListingObject['deploymentDate'] = data25
115
		prebookingListingObject['stockPayment'] = data26
115
		prebookingListingObject['stockPayment'] = data26
116
		prebookingListingObject['expectedDate'] = data27
116
		prebookingListingObject['expectedDate'] = data27
117
		prebookingListingObject['payDate'] = data28
117
		prebookingListingObject['payDate'] = data28
118
		prebookingListingObject['inaugrationDate'] = data29
118
		prebookingListingObject['inaugrationDate'] = data29
119
		prebookingListingObject['billingStatus'] = data30
119
		prebookingListingObject['billingStatus'] = data30
Line 309... Line 309...
309
		}
309
		}
310
 
310
 
311
	});
311
	});
312
 
312
 
313
 
313
 
-
 
314
	
-
 
315
	$(document).on('click', ".holdPartnerOnboarding", function() {
-
 
316
		var id = $(this).data('id');
-
 
317
		console.log(id);
-
 
318
		if (confirm("Are you sure you want to hold this Partner") == true) {
-
 
319
			doPostAjaxRequestHandler(context + "/partnerOnboardingHold?id=" + id,
-
 
320
				function(response) {
-
 
321
 
-
 
322
					console.log("reponse" + response);
-
 
323
					if (response == 'true') {
-
 
324
						alert("successfully Done");
-
 
325
						
-
 
326
						
-
 
327
						panelListing("main-content");
-
 
328
					}
-
 
329
				});
-
 
330
		}		
-
 
331
	});
-
 
332
	
-
 
333
	
-
 
334
	$(document).on('click', ".unHoldPartnerOnboarding", function() {
-
 
335
		var id = $(this).data('id');
-
 
336
		console.log(id);
-
 
337
		if (confirm("Are you sure you want to Unhold this Partner") == true) {
-
 
338
			doPostAjaxRequestHandler(context + "/partnerOnboardingUnhold?id=" + id,
-
 
339
				function(response) {
314
 
340
 
-
 
341
					console.log("reponse" + response);
-
 
342
					if (response == 'true') {
-
 
343
						alert("successfully Done");
-
 
344
						panelListing("main-content");
-
 
345
					}
-
 
346
				});
-
 
347
		}		
-
 
348
	});
-
 
349
	
315
	$(document).on('click', ".partner-onboarding-index", function() {
350
	$(document).on('click', ".partner-onboarding-index", function() {
316
		panelListing("main-content");
351
		panelListing("main-content");
317
	});
352
	});
318
 
353
 
319
 
354
 
Line 415... Line 450...
415
 
450
 
416
	var table = $('#example').DataTable();
451
	var table = $('#example').DataTable();
417
	$(document).on('dblclick', '#example tbody tr', function() {
452
	$(document).on('dblclick', '#example tbody tr', function() {
418
 
453
 
419
		var data = table.row(this).data();
454
		var data = table.row(this).data();
-
 
455
		 var statusHold= $(this).find("td:eq(36) button[type='submit']").val();
420
 
456
		
-
 
457
		 console.log("statusHold"+statusHold);
-
 
458
		 if(statusHold.localeCompare("hold") )
-
 
459
	     		 {
-
 
460
			 $(this).find(":input").attr('disabled', true);
-
 
461
			 $(this).find("td:eq(36) button[type='submit']").attr('disabled', false);
-
 
462
			 $(this).find("td:eq(35) button[type='submit']").attr('disabled', false);
-
 
463
            }
-
 
464
			else{
421
		$(this).find(":input").attr('disabled', false).show();
465
				$(this).find(":input").attr('disabled', false).show();
422
	
466
			}
423
		$(this).find("input[name=rbmAuthId]").attr('disabled', true);
467
		$(this).find("input[name=rbmAuthId]").attr('disabled', true);
-
 
468
		$(this).find("input[name=verificationStatusOnboarding]").attr('disabled', true);
-
 
469
		
-
 
470
		$(this).find("input[name=code1]").attr('disabled', true);
424
		$(this).css("background-color", "#87d3f8");
471
		$(this).css("background-color", "#87d3f8");
425
		let a=12;
472
		let a=12;
426
		let b=12;
473
		let b=12;
427
		console.log("yes"+a==b);
474
		console.log("yes"+a==b);
428
		
475
		
Line 430... Line 477...
430
	
477
	
431
	var table = $('#OnboardingDesign').DataTable();
478
	var table = $('#OnboardingDesign').DataTable();
432
	$(document).on('dblclick', '#OnboardingDesign tbody tr', function() {
479
	$(document).on('dblclick', '#OnboardingDesign tbody tr', function() {
433
 
480
 
434
		var data = table.row(this).data();
481
		var data = table.row(this).data();
435
 
482
	
436
		$(this).find(":input" ).attr('disabled', false).show();
483
		$(this).find(":input" ).attr('disabled', false).show();
437
		
484
		
438
		$(this).find("input[name=acquireddate]" ).attr('disabled', true);
485
		$(this).find("input[name=acquireddate]" ).attr('disabled', true);
439
		$(this).find("input[name=outlateName]" ).attr('disabled', true);
486
		$(this).find("input[name=outlateName]" ).attr('disabled', true);
440
		$(this).find("input[name=phonenumber1]" ).attr('disabled', true);
487
		$(this).find("input[name=phonenumber1]" ).attr('disabled', true);
Line 495... Line 542...
495
				function(response) {
542
				function(response) {
496
 
543
 
497
					console.log("reponse" + response);
544
					console.log("reponse" + response);
498
					if (response == 'true') {
545
					if (response == 'true') {
499
						alert("congratulations your Desiging is successfully Done");
546
						alert("congratulations your Desiging is successfully Done");
500
 
-
 
501
						partnerOnboardingDesign("main-content");
547
     				partnerOnboardingDesign("main-content");
502
					}
548
					}
503
				});
549
				});
504
		}
550
		}
505
 
551
 
506
	});
552
	});