Merge branch 'i601-create-cashier-teller-end-date' into develop

This commit is contained in:
Terence Denzil Monteiro
2018-02-06 21:45:03 +05:30
@@ -95,8 +95,9 @@ public class CashierTransactionDataValidator {
*/ */
if (fromDate.isBefore(tellerFromDate) if (fromDate.isBefore(tellerFromDate)
|| endDate.isBefore(tellerFromDate) || endDate.isBefore(tellerFromDate)
|| (tellerEndDate != null && fromDate.isAfter(tellerEndDate) || endDate || (tellerEndDate != null &&
.isAfter(tellerEndDate))) { (fromDate.isAfter(tellerEndDate)
|| endDate.isAfter(tellerEndDate)))) {
throw new CashierDateRangeOutOfTellerDateRangeException(); throw new CashierDateRangeOutOfTellerDateRangeException();
} }
/** /**