mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 16:34:36 -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) {
|
switch ($this->due_date_days) {
|
||||||
case 'terms':
|
case 'terms':
|
||||||
case '':
|
case '':
|
||||||
|
case '0':
|
||||||
return $this->calculateDateFromTerms($date);
|
return $this->calculateDateFromTerms($date);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user