Subversion Repositories SmartDukaan

Rev

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

Rev 28831 Rev 31730
Line 460... Line 460...
460
		$("#countersize").addClass("border-highlight");
460
		$("#countersize").addClass("border-highlight");
461
		error = true;
461
		error = true;
462
		return error;
462
		return error;
463
	}
463
	}
464
 
464
 
-
 
465
 
-
 
466
 
-
 
467
	var counterPotential = $(
-
 
468
		"form#update-retailer-details-form input[name=counterPotential]")
-
 
469
		.val();
-
 
470
	console.log("counterPotential = " + counterPotential);
-
 
471
	$("#counterPotential").removeClass("border-highlight");
-
 
472
	if (counterPotential == "") {
-
 
473
		alert("counterPotential is required");
-
 
474
		$("#counterPotential").addClass("border-highlight");
-
 
475
		error = true;
-
 
476
		return error;
-
 
477
	}
-
 
478
 
-
 
479
 
-
 
480
 
-
 
481
 
465
	var fofoZone = $("#fofoZone option:selected").val();
482
	var fofoZone = $("#fofoZone option:selected").val();
466
	console.log("fofoZone = " + fofoZone);
483
	console.log("fofoZone = " + fofoZone);
467
	$("#fofoZone").removeClass("border-highlight");
484
	$("#fofoZone").removeClass("border-highlight");
468
	if (fofoZone == "") {
485
	if (fofoZone == "") {
469
		alert("fofoZone is required");
486
		alert("fofoZone is required");
Line 647... Line 664...
647
	retailerDetailsObject['active'] = active == "true";
664
	retailerDetailsObject['active'] = active == "true";
648
	var countersize = $("#counterSize option:selected").val();
665
	var countersize = $("#counterSize option:selected").val();
649
	retailerDetailsObject['countersize'] = $("#counterSize option:selected")
666
	retailerDetailsObject['countersize'] = $("#counterSize option:selected")
650
		.val();
667
		.val();
651
	console.log(countersize + "countersize");
668
	console.log(countersize + "countersize");
-
 
669
 
-
 
670
 
-
 
671
	var counterPotential = $(
-
 
672
		"form#update-retailer-details-form input[name=counterPotential]")
-
 
673
		.val();
-
 
674
	retailerDetailsObject['counterPotential'] = $(
-
 
675
		"form#update-retailer-details-form input[name=counterPotential]")
-
 
676
		.val();
-
 
677
	console.log("counterPotential = " + counterPotential);
-
 
678
 
-
 
679
 
652
	var minInvestment = $(
680
	var minInvestment = $(
653
		"form#update-retailer-details-form input[name=minInvestment]")
681
		"form#update-retailer-details-form input[name=minInvestment]")
654
		.val();
682
		.val();
655
	retailerDetailsObject['minInvestment'] = $(
683
	retailerDetailsObject['minInvestment'] = $(
656
		"form#update-retailer-details-form input[name=minInvestment]")
684
		"form#update-retailer-details-form input[name=minInvestment]")