Fix for search
This commit is contained in:
parent
8411e37d80
commit
fa2436da4c
1 changed files with 6 additions and 0 deletions
|
|
@ -181,6 +181,12 @@ class AccountRepository
|
|||
if ($account->customLabel('client2')) {
|
||||
$data[$account->present()->customLabel('client2')] = [];
|
||||
}
|
||||
if ($account->customLabel('invoice_text1')) {
|
||||
$data[$account->present()->customLabel('invoice_text1')] = [];
|
||||
}
|
||||
if ($account->customLabel('invoice_text2')) {
|
||||
$data[$account->present()->customLabel('invoice_text2')] = [];
|
||||
}
|
||||
|
||||
if ($user->hasPermission(['view_client', 'view_invoice'], true)) {
|
||||
$clients = Client::scope()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue