From d5d6c47d75c80e8c2bffacccc09471c6c800bb8f Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 23 Jul 2021 10:31:30 +1000 Subject: [PATCH] Minor fixes for reminder job --- app/Jobs/Util/ReminderJob.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/Util/ReminderJob.php b/app/Jobs/Util/ReminderJob.php index b530105643e2..cfd9504b1806 100644 --- a/app/Jobs/Util/ReminderJob.php +++ b/app/Jobs/Util/ReminderJob.php @@ -175,7 +175,7 @@ class ReminderJob implements ShouldQueue $invoice = $invoice->calc()->getInvoice(); $invoice->client->service()->updateBalance($invoice->balance - $temp_invoice_balance)->save(); - $invoice->ledger()->updateInvoiceBalance($invoice->balance - $temp_invoice_balance, "Late Fee Adjustment for invoice {$this->invoice->number}"); + $invoice->ledger()->updateInvoiceBalance($invoice->balance - $temp_invoice_balance, "Late Fee Adjustment for invoice {$invoice->number}"); return $invoice; }