Fixes for reminder scheduling
This commit is contained in:
parent
8d8fec7d2a
commit
8970f6415b
1 changed files with 2 additions and 2 deletions
|
|
@ -39,8 +39,6 @@ class MarkSent extends AbstractService
|
|||
|
||||
$this->invoice->markInvitationsSent();
|
||||
|
||||
$this->invoice->setReminder();
|
||||
|
||||
$this->invoice
|
||||
->service()
|
||||
->setStatus(Invoice::STATUS_SENT)
|
||||
|
|
@ -50,6 +48,8 @@ class MarkSent extends AbstractService
|
|||
->deletePdf()
|
||||
->save();
|
||||
|
||||
$this->invoice->setReminder();
|
||||
|
||||
$this->client->service()->updateBalance($this->invoice->balance)->save();
|
||||
|
||||
$this->invoice->ledger()->updateInvoiceBalance($this->invoice->balance, "Invoice {$this->invoice->number} marked as sent.");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue