minor fixes

This commit is contained in:
David Bomba 2022-11-17 17:31:52 +11:00
parent 07d888257f
commit 5cd2a7afe4

View File

@ -175,7 +175,7 @@ class SendRemindersCron extends Command
/**Refresh Invoice values*/
$invoice->calc()->getInvoice()->save();
$invoice->fresh();
$invoice->service()->deletePdf();
$invoice->service()->deletePdf()->save();
/* Refresh the client here to ensure the balance is fresh */
$client = $invoice->client;