mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Reduce queries for Invoice POST
This commit is contained in:
parent
9722289796
commit
c3330b6777
@ -215,7 +215,7 @@ class InvoiceController extends BaseController
|
||||
public function store(StoreInvoiceRequest $request)
|
||||
{
|
||||
|
||||
$client = Client::find($request->input('client_id'));
|
||||
// $client = Client::find($request->input('client_id'));
|
||||
|
||||
$invoice = $this->invoice_repo->save($request->all(), InvoiceFactory::create(auth()->user()->company()->id, auth()->user()->id));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user