mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -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');
|
||||
|
||||
nlog($action);
|
||||
nlog($ids);
|
||||
|
||||
$invoices = Invoice::withTrashed()->whereIn('id', $this->transformKeys($ids))->company()->get();
|
||||
|
||||
if (! $invoices) {
|
||||
@ -542,7 +539,7 @@ nlog($ids);
|
||||
return response()->json(['message' => ctrans('text.access_denied')]);
|
||||
}
|
||||
});
|
||||
nlog("bulky");
|
||||
|
||||
ZipInvoices::dispatch($invoices, $invoices->first()->company, auth()->user());
|
||||
|
||||
return response()->json(['message' => ctrans('texts.sent_message')], 200);
|
||||
|
@ -70,7 +70,7 @@ class ZipInvoices implements ShouldQueue
|
||||
*/
|
||||
|
||||
public function handle()
|
||||
{nlog("bulky");
|
||||
{
|
||||
# create new zip object
|
||||
$zip = new ZipArchive();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user