Skip to content

Commit

Permalink
Merge branch 'i601-create-cashier-teller-end-date' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
terencemo committed Feb 6, 2018
2 parents 8e7bd01 + e13616b commit 8ac5485
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,9 @@ public void validateCashierAllowedDateAndTime(final Cashier cashier,
*/
if (fromDate.isBefore(tellerFromDate)
|| endDate.isBefore(tellerFromDate)
|| (tellerEndDate != null && fromDate.isAfter(tellerEndDate) || endDate
.isAfter(tellerEndDate))) {
|| (tellerEndDate != null &&
(fromDate.isAfter(tellerEndDate)
|| endDate.isAfter(tellerEndDate)))) {
throw new CashierDateRangeOutOfTellerDateRangeException();
}
/**
Expand Down

0 comments on commit 8ac5485

Please sign in to comment.