mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
minor fixes for statements
This commit is contained in:
parent
09accf0293
commit
9bdcf62684
@ -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…
x
Reference in New Issue
Block a user