mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 05:14:37 -04:00
Clean up logging
This commit is contained in:
parent
666a2395d1
commit
53501da86b
@ -479,13 +479,9 @@ class DesignController extends BaseController
|
|||||||
$action = request()->input('action');
|
$action = request()->input('action');
|
||||||
|
|
||||||
$ids = request()->input('ids');
|
$ids = request()->input('ids');
|
||||||
info($ids);
|
|
||||||
$designs = Design::withTrashed()->find($this->transformKeys($ids));
|
$designs = Design::withTrashed()->find($this->transformKeys($ids));
|
||||||
|
|
||||||
info($designs);
|
|
||||||
info("user id = ".auth()->user()->id);
|
|
||||||
info("company id = ".auth()->user()->getCompany()->id);
|
|
||||||
|
|
||||||
$designs->each(function ($design, $key) use ($action) {
|
$designs->each(function ($design, $key) use ($action) {
|
||||||
if (auth()->user()->can('edit', $design)) {
|
if (auth()->user()->can('edit', $design)) {
|
||||||
info("authed");
|
info("authed");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user