mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2026-03-03 02:47:02 +00:00
Updates for deleted invoices + required client info
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user