Fixes for quote reminders
This commit is contained in:
parent
056ccdcea7
commit
398efd87a9
|
|
@ -208,7 +208,7 @@ class BaseRepository
|
|||
|
||||
/* Model now persisted, now lets do some child tasks */
|
||||
|
||||
if ($model instanceof Invoice) {
|
||||
if ($model instanceof Invoice || $model instanceof Quote) {
|
||||
$model->service()->setReminder()->save();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ class MarkSent
|
|||
->service()
|
||||
->setStatus(Quote::STATUS_SENT)
|
||||
->applyNumber()
|
||||
->setReminder()
|
||||
->save();
|
||||
|
||||
event(new QuoteWasMarkedSent($this->quote, $this->quote->company, Ninja::eventVars(auth()->user() ? auth()->user()->id : null)));
|
||||
|
|
|
|||
Loading…
Reference in New Issue