1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 08:21:34 +02:00

minor fixes for invoice controller bulk actions

This commit is contained in:
David Bomba 2022-11-24 07:39:06 +11:00
parent 1ef260cb14
commit 9718e657cd

View File

@ -698,7 +698,7 @@ class InvoiceController extends BaseController
/*If we are using bulk actions, we don't want to return anything */
switch ($action) {
case 'auto_bill':
$invoice = AutoBill::dispatch($invoice->id, $invoice->company->db);
AutoBill::dispatch($invoice->id, $invoice->company->db);
return $this->itemResponse($invoice);
case 'clone_to_invoice':