Subversion Repositories SmartDukaan

Rev

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

Rev 7873 Rev 7877
Line 506... Line 506...
506
				if(deliveryEstimate == -1)	{
506
				if(deliveryEstimate == -1)	{
507
					$("#serv_" + item_id).show();
507
					$("#serv_" + item_id).show();
508
					return;
508
					return;
509
				} else	{
509
				} else	{
510
					$("#days_" + item_id).html(deliveryEstimate);
510
					$("#days_" + item_id).html(deliveryEstimate);
511
					$("#days_" + item_id).html(deliveryEstimate);
-
 
512
					$("coddays_" + item_id).hide();
511
					$("coddays_" + item_id).hide();
513
					if(isCODAvailableForLocation && (deliveryEstimate == codDeliveryEstimate)){
512
					if(isCODAvailableForLocation && (deliveryEstimate != codDeliveryEstimate)){
514
						codDeliveryEstimate = "Cash On Delivery orders is ";
513
						codDeliveryEstimate = "Cash On Delivery orders is ";
515
						$("#coddays_" + item_id).html(codDeliveryEstimate);
514
						$("#coddays_" + item_id).html(codDeliveryEstimate);
516
						$("coddays_" + item_id).show();	
515
						$("coddays_" + item_id).show();	
517
					}	
516
					}	
518
				}
517
				}