mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Fix for search
This commit is contained in:
parent
8411e37d80
commit
fa2436da4c
@ -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…
Reference in New Issue
Block a user