Subversion Repositories SmartDukaan

Rev

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

Rev 29424 Rev 29429
Line 228... Line 228...
228
				co.setExpectedShipping(co.getBillingTimestamp());
228
				co.setExpectedShipping(co.getBillingTimestamp());
229
 
229
 
230
				if (LocalDate.now().isAfter(co.getExpectedShipping().toLocalDate())) {
230
				if (LocalDate.now().isAfter(co.getExpectedShipping().toLocalDate())) {
231
					long noOfDaysBetween = ChronoUnit.DAYS.between(LocalDate.now().atStartOfDay(),
231
					long noOfDaysBetween = ChronoUnit.DAYS.between(LocalDate.now().atStartOfDay(),
232
							co.getExpectedShipping());
232
							co.getExpectedShipping());
-
 
233
					LOGGER.info("request1" + request1);
-
 
234
 
233
					co.setExpectedDeliveryTime(co.getBillingTimestamp().plusDays(noOfDaysBetween));
235
					co.setExpectedShipping(co.getBillingTimestamp().plusDays(noOfDaysBetween));
234
				}
236
				}
235
			}
237
			}
236
			tm.setExpectedShipping(co.getExpectedShipping());
238
			tm.setExpectedShipping(co.getExpectedShipping());
237
			if (tm.isInTransitBilling()) {
239
			if (tm.isInTransitBilling()) {
238
				tm.setInTransitShipping(false);
240
				tm.setInTransitShipping(false);