Subversion Repositories SmartDukaan

Rev

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

Rev 5748 Rev 5831
Line 36... Line 36...
36
			var reasonActionDisability = $('#reasonActionDisability').val();
36
			var reasonActionDisability = $('#reasonActionDisability').val();
37
			
37
			
38
			if(reasonActionDisability.indexOf('Location not serviceable') >= 0)	{
38
			if(reasonActionDisability.indexOf('Location not serviceable') >= 0)	{
39
				trackEventWithGA('Cart', 'Location not serviceable', $('#selectedPincode').val());
39
				trackEventWithGA('Cart', 'Location not serviceable', $('#selectedPincode').val());
40
			}
40
			}
-
 
41
			else if (($("#tabSelector").val() == "HotSpot")) {
-
 
42
				reasonActionDisability = 'Please enter an address which will be printed on the bill';
-
 
43
			} else {
-
 
44
				reasonActionDisability = 'Please specify a delivery address';
-
 
45
			}
41
			alert(reasonActionDisability);
46
			alert(reasonActionDisability);
42
		}
47
		}
43
	});
48
	});
44
	
49
	
45
	$('#viewOrders').click(function(){
50
	$('#viewOrders').click(function(){
Line 119... Line 124...
119
	}
124
	}
120
	
125
	
121
	function showAddressList()	{
126
	function showAddressList()	{
122
		$('#frmShippingAddress').hide();
127
		$('#frmShippingAddress').hide();
123
		//$('#main-right-container').show();
128
		//$('#main-right-container').show();
-
 
129
		if($("#tabSelector").val() == "HotSpot") {
124
		$('#shipping-address-div').show();
130
			$('#billing-address-div').show();
-
 
131
		} else {
125
		$('#billing-address-div').show();
132
			$('#shipping-address-div').show();
-
 
133
		}
126
	}
134
	}
127
});
135
});
128
 
136
 
129
function sumOfColumns(tableID, columnIndex, hasHeader)	{
137
function sumOfColumns(tableID, columnIndex, hasHeader)	{
130
	var tot = 0;
138
	var tot = 0;