minor fixes for statements

This commit is contained in:
David Bomba 2021-12-13 22:09:44 +11:00
parent 09accf0293
commit 9bdcf62684

View File

@ -51,6 +51,7 @@ class CreateStatementRequest extends Request
public function client(): ?Client public function client(): ?Client
{ {
return Client::with('company')->where('id', $this->client_id)->withTrashed()->first(); // return Client::without('gateway_tokens','documents','contacts.company',)->where('id', $this->client_id)->withTrashed()->first();
return Client::without('company',)->where('id', $this->client_id)->withTrashed()->first();
} }
} }