premature dunning when dunning run is done on exactly the due date
Description
Normally a dunning should be created 28 days after completing the invoice. But due to a check for ‘DaysDue > 0’ and a check for ‘DaysDue < 0’ in DunningRunCreate the case ‘DaysDue = 0’ is never met and a dunning run line is created prematurely.
Normally a dunning should be created 28 days after completing the invoice. But due to a check for ‘DaysDue > 0’ and a check for ‘DaysDue < 0’ in DunningRunCreate the case ‘DaysDue = 0’ is never met and a dunning run line is created prematurely.