diff --git a/app/Services/Invoice/MarkSent.php b/app/Services/Invoice/MarkSent.php index f212666fd2..11e36d5905 100644 --- a/app/Services/Invoice/MarkSent.php +++ b/app/Services/Invoice/MarkSent.php @@ -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.");