Updates for deleted invoices + required client info
This commit is contained in:
parent
6f231fbd60
commit
5258f6cf3e
|
|
@ -225,7 +225,7 @@ class RequiredClientInfo extends Component
|
|||
$hash = Cache::get(request()->input('hash'));
|
||||
|
||||
/** @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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue