Subversion Repositories SmartDukaan

Rev

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

Rev 7864 Rev 7865
Line 297... Line 297...
297
					$('#cod_know_more').hide();
297
					$('#cod_know_more').hide();
298
				}else{
298
				}else{
299
					if(isCODAvailableForLocation){
299
					if(isCODAvailableForLocation){
300
						codDate = new Date(codDeliveryEstimate);
300
						codDate = new Date(codDeliveryEstimate);
301
						coddays = (codDate-myDate)/86400000;
301
						coddays = (codDate-myDate)/86400000;
302
						$("#shipping_time .cod").html("COD delivery date is " + codDeliveryEstimate);
302
						$("#shipping_time .cod").html("Expected Delivery date for Cash On Delivery orders is " + codDeliveryEstimate);
303
					}else{
303
					}else{
304
						$("#shipping_time .cod").html("COD is not serviceable for pincode " + $('#zipcode').html());
304
						$("#shipping_time .cod").html("Cash On Delivery service is not available for pincode " + $('#zipcode').val());
305
					}
305
					}
306
					$('#cod_know_more').show();
306
					$('#cod_know_more').show();
307
					if(days == 1){
307
					if(days == 1){
308
						$("#shipping_time .red").html("Tomorrow, " + deliveryEstimate);
308
						$("#shipping_time .red").html("Tomorrow, " + deliveryEstimate);
309
					}else{
309
					}else{