mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Fixes for edge cases with recurring invoice due date days = 0
This commit is contained in:
parent
f9ae76b4f1
commit
bb535f22c0
@ -557,6 +557,7 @@ class RecurringInvoice extends BaseModel
|
||||
switch ($this->due_date_days) {
|
||||
case 'terms':
|
||||
case '':
|
||||
case '0':
|
||||
return $this->calculateDateFromTerms($date);
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user