Subversion Repositories SmartDukaan

Rev

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

Rev 29061 Rev 29088
Line 574... Line 574...
574
			$(this).find(":selected").attr('disabled', false).show();
574
			$(this).find(":selected").attr('disabled', false).show();
575
 
575
 
576
		}
576
		}
577
		$(this).find("input[name=rbmAuthId]").attr('disabled', true);
577
		$(this).find("input[name=rbmAuthId]").attr('disabled', true);
578
		$(this).find("input[name=verificationStatusOnboarding]").attr('disabled', true);
578
		$(this).find("input[name=verificationStatusOnboarding]").attr('disabled', true);
-
 
579
		$(this).find("input[name=billingStatus]").attr('disabled', true);
-
 
580
 
579
 
581
 
580
		$(this).css("background-color", "#87d3f8");
582
		$(this).css("background-color", "#87d3f8");
581
		let a = 12;
583
		let a = 12;
582
		let b = 12;
584
		let b = 12;
583
		console.log("yes" + a == b);
585
		console.log("yes" + a == b);
Line 619... Line 621...
619
		console.log("yes" + a == b);
621
		console.log("yes" + a == b);
620
 
622
 
621
	});
623
	});
622
 
624
 
623
 
625
 
-
 
626
	var billingtable = $('#partnerbilling').DataTable();
-
 
627
	$(document).on('dblclick', '#partnerbilling tbody tr', function() {
-
 
628
		var data = billingtable.row(this).data();
-
 
629
 
-
 
630
		$(this).find(":input").attr('disabled', false).show();
-
 
631
 
-
 
632
 
-
 
633
	});
-
 
634
 
-
 
635
	$(document)
-
 
636
		.on(
-
 
637
			'click',
-
 
638
			".submitOnboardingBilling",
-
 
639
			function() {
-
 
640
 
-
 
641
				var row = $(this).closest("tr");
-
 
642
				console.log(row);
-
 
643
 
-
 
644
				var onboardingId = $(row).find("td:eq(0)").text();
-
 
645
				var billingStatus = $(row)
-
 
646
					.find("td:eq(4) input[type='checkbox']").is(":checked") ? 1 : 0;
-
 
647
 
-
 
648
				doPostAjaxRequestHandler(context + "/partnerOnBoardingBillingSubmission?billingStatus=" + billingStatus + "&onBoardingId=" + onboardingId,
-
 
649
					function(response) {
-
 
650
						row.html(response);
-
 
651
						alert("successfully submit");
-
 
652
 
-
 
653
 
-
 
654
 
-
 
655
					});
-
 
656
			});
-
 
657
 
-
 
658
 
624
	$(document).on('click', ".delete", function() {
659
	$(document).on('click', ".delete", function() {
625
 
660
 
626
		var id = $(this).data('id');
661
		var id = $(this).data('id');
627
		console.log('helo');
662
		console.log('helo');
628
		var id = $(this).data('id');
663
		var id = $(this).data('id');
Line 681... Line 716...
681
		if (twoDBoqdate == "") {
716
		if (twoDBoqdate == "") {
682
			alert("Please Fill The 2D with BOQ Actual Date");
717
			alert("Please Fill The 2D with BOQ Actual Date");
683
			return
718
			return
684
 
719
 
685
		}
720
		}
686
		if (poVenderDate =="") {
721
		if (poVenderDate == "") {
687
			alert("Please Fill The PO To Vendor Actual Date");
722
			alert("Please Fill The PO To Vendor Actual Date");
688
			return
723
			return
689
 
724
 
690
		}
725
		}
691
		if (briefingPartner == "") {
726
		if (briefingPartner == "") {