fix(sva): decision date when start date is at end of month and with correction delay

This commit is contained in:
Colin Darie 2023-08-29 12:51:39 +02:00
parent 43fb0ac338
commit bb7673e697
No known key found for this signature in database
GPG key ID: 8C76CADD40253590
3 changed files with 47 additions and 2 deletions

View file

@ -28,7 +28,7 @@ class SVASVRDecisionDateCalculatorService
start_date = determine_start_date + 1.day
correction_delay = calculate_correction_delay(start_date)
start_date + correction_delay + duration
start_date + duration + correction_delay
end
private