mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
API fix
This commit is contained in:
parent
4ecdeb5702
commit
85b32f34a7
@ -428,6 +428,7 @@ class InvoiceApiController extends BaseAPIController
|
|||||||
$this->invoiceService->save($data, $request->entity());
|
$this->invoiceService->save($data, $request->entity());
|
||||||
|
|
||||||
$invoice = Invoice::scope($publicId)
|
$invoice = Invoice::scope($publicId)
|
||||||
|
->withTrashed()
|
||||||
->with('client', 'invoice_items', 'invitations')
|
->with('client', 'invoice_items', 'invitations')
|
||||||
->firstOrFail();
|
->firstOrFail();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user