1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Clean up for logging.

This commit is contained in:
David Bomba 2023-01-21 19:19:08 +11:00
parent 0ae2260951
commit 1944d8214e

View File

@ -870,7 +870,7 @@ class BaseController extends Controller
$query->where('user_id', '=', auth()->user()->id);
}
elseif(in_array($this->entity_type,[Design::class, GroupSetting::class, PaymentTerm::class])){
nlog($this->entity_type);
// nlog($this->entity_type);
}
else
$query->where('user_id', '=', auth()->user()->id)->orWhere('assigned_user_id', auth()->user()->id);