minor fixes for statements
This commit is contained in:
parent
09accf0293
commit
9bdcf62684
1 changed files with 2 additions and 1 deletions
|
|
@ -51,6 +51,7 @@ class CreateStatementRequest extends Request
|
|||
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue