mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Fixes for tests
This commit is contained in:
parent
1cfb2a0ad1
commit
6138f11ece
@ -549,7 +549,7 @@ class RecurringQuote extends BaseModel
|
||||
case 'terms':
|
||||
return $this->calculateDateFromTerms($date);
|
||||
default:
|
||||
return $this->setDayOfMonth($date, $this->due_date_days);
|
||||
return $this->setDayOfMonth($date, ($this->due_date_days ?? 1));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user