Skip to content
Permalink
Browse files
Merge branch 'develop' of github.com:KuelapInc/teller into develop
  • Loading branch information
mgeiss committed Sep 14, 2017
2 parents 1ac7207 + 5cb363f commit 12bea2bb34d3c426fd8fb5285c776b78c83c6922
Showing 1 changed file with 1 addition and 1 deletion.
@@ -185,7 +185,7 @@ ResponseEntity<TellerTransactionCosts> post(@PathVariable("tellerCode") final St
final LocalDate dateIssued = DateConverter.dateFromIsoString(tellerTransaction.getCheque().getDateIssued());
final LocalDate sixMonth = LocalDate.now(Clock.systemUTC()).minusMonths(6);
if (dateIssued.isBefore(sixMonth)) {
throw ServiceException.conflict("Cheque is older than 6 month.");
throw ServiceException.conflict("Cheque is older than 6 months.");
}

final MICR micr = tellerTransaction.getCheque().getMicr();

0 comments on commit 12bea2b

Please sign in to comment.