mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 12:34:35 -04:00
Clean up logging
This commit is contained in:
parent
6ec261775a
commit
075fe7a5e5
@ -522,9 +522,6 @@ class InvoiceController extends BaseController
|
|||||||
|
|
||||||
$ids = request()->input('ids');
|
$ids = request()->input('ids');
|
||||||
|
|
||||||
nlog($action);
|
|
||||||
nlog($ids);
|
|
||||||
|
|
||||||
$invoices = Invoice::withTrashed()->whereIn('id', $this->transformKeys($ids))->company()->get();
|
$invoices = Invoice::withTrashed()->whereIn('id', $this->transformKeys($ids))->company()->get();
|
||||||
|
|
||||||
if (! $invoices) {
|
if (! $invoices) {
|
||||||
@ -542,7 +539,7 @@ nlog($ids);
|
|||||||
return response()->json(['message' => ctrans('text.access_denied')]);
|
return response()->json(['message' => ctrans('text.access_denied')]);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
nlog("bulky");
|
|
||||||
ZipInvoices::dispatch($invoices, $invoices->first()->company, auth()->user());
|
ZipInvoices::dispatch($invoices, $invoices->first()->company, auth()->user());
|
||||||
|
|
||||||
return response()->json(['message' => ctrans('texts.sent_message')], 200);
|
return response()->json(['message' => ctrans('texts.sent_message')], 200);
|
||||||
|
@ -70,7 +70,7 @@ class ZipInvoices implements ShouldQueue
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
public function handle()
|
public function handle()
|
||||||
{nlog("bulky");
|
{
|
||||||
# create new zip object
|
# create new zip object
|
||||||
$zip = new ZipArchive();
|
$zip = new ZipArchive();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user