Minor fixes

This commit is contained in:
David Bomba 2021-12-17 11:40:44 +11:00
parent 2285bd8030
commit f6ac95378c
2 changed files with 5 additions and 5 deletions

View File

@ -54,10 +54,10 @@ class QueryLogging
// info("Query count = {$count}"); // info("Query count = {$count}");
// if($count > 175){ if($count > 175){
nlog("Query count = {$count}"); nlog("Query count = {$count}");
// nlog($queries); nlog($queries);
// } }
$ip = ''; $ip = '';

View File

@ -44,7 +44,7 @@ class ShowStatementRequest extends FormRequest
public function client(): Client public function client(): Client
{ {
return Client::withTrashed()->without('contacts.company', 'documents', 'gateway_tokens')->where('id', auth('contact')->user()->client_id)->first(); // return Client::withTrashed()->without('contacts.company', 'documents', 'gateway_tokens')->where('id', auth('contact')->user()->client_id)->first();
// return auth('contact')->user()->client; return auth('contact')->user()->client;
} }
} }