Opravena chyba výpočtu stravného u celodenního cesťáku.

closes #279
master 4.1
Josef Rokos 8 years ago
parent fcb8db25fa
commit 70a2e01fae

@ -135,7 +135,7 @@ public class TripBillServiceImpl extends AbstractOwnedService<TripBill> implemen
} }
if (item.getBackDeparture() == null) { if (item.getBackDeparture() == null) {
timeBack = (new LocalTime()).withHourOfDay(23).withMinuteOfHour(59); timeBack = (new LocalTime()).withHourOfDay(23).withMinuteOfHour(00);
allDay = true; allDay = true;
} else { } else {
timeBack = new LocalTime(item.getBackDeparture()); timeBack = new LocalTime(item.getBackDeparture());

Loading…
Cancel
Save