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