Fixes for edge cases with recurring invoice due date days = 0
This commit is contained in:
parent
f9ae76b4f1
commit
bb535f22c0
1 changed files with 1 additions and 0 deletions
|
|
@ -557,6 +557,7 @@ class RecurringInvoice extends BaseModel
|
|||
switch ($this->due_date_days) {
|
||||
case 'terms':
|
||||
case '':
|
||||
case '0':
|
||||
return $this->calculateDateFromTerms($date);
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue