Subversion Repositories SmartDukaan

Rev

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

Rev 7840 Rev 7859
Line 55... Line 55...
55
			LogisticsInfo logistincInfo = logisticsClient.getLogisticsEstimation(itemId, pincode, DeliveryType.PREPAID);
55
			LogisticsInfo logistincInfo = logisticsClient.getLogisticsEstimation(itemId, pincode, DeliveryType.PREPAID);
56
			
56
			
57
			if(logistincInfo.getDeliveryTime()!=-1L){
57
			if(logistincInfo.getDeliveryTime()!=-1L){
58
				days = getDeliveryDateString((int)logistincInfo.getDeliveryTime(), DeliveryType.PREPAID);
58
				days = getDeliveryDateString((int)logistincInfo.getDeliveryTime(), DeliveryType.PREPAID);
59
				if(logistincInfo.isCodAllowed()){
59
				if(logistincInfo.isCodAllowed()){
60
					codDays = getDeliveryDateString((int)(logistincInfo.getDeliveryTime()+1), DeliveryType.COD);
60
					codDays = getDeliveryDateString((int)(logistincInfo.getDeliveryTime()), DeliveryType.COD);
61
				}
61
				}
62
			}
62
			}
63
			
63
			
64
			isCODAvailable = logistincInfo.isCodAllowed();
64
			isCODAvailable = logistincInfo.isCodAllowed();
65
			isOTGAvailable = logistincInfo.isOtgAvailable();
65
			isOTGAvailable = logistincInfo.isOtgAvailable();