Updates for deleted invoices + required client info

This commit is contained in:
David Bomba 2025-08-29 10:18:40 +10:00
parent 6f231fbd60
commit 5258f6cf3e
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ class RequiredClientInfo extends Component
$hash = Cache::get(request()->input('hash')); $hash = Cache::get(request()->input('hash'));
/** @var \App\Models\Invoice $invoice */ /** @var \App\Models\Invoice $invoice */
$invoice = Invoice::find($this->decodePrimaryKey($hash['invoice_id'])); $invoice = Invoice::withTrashed()->find($this->decodePrimaryKey($hash['invoice_id']));
$this->invoice_terms = $invoice->terms; $this->invoice_terms = $invoice->terms;
} }