From fa2436da4c2933c77cc1accd7f038f901f2644bb Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Wed, 8 Aug 2018 23:05:45 +0300 Subject: [PATCH] Fix for search --- app/Ninja/Repositories/AccountRepository.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/Ninja/Repositories/AccountRepository.php b/app/Ninja/Repositories/AccountRepository.php index 33e9be2ba8..abb1e6e06d 100644 --- a/app/Ninja/Repositories/AccountRepository.php +++ b/app/Ninja/Repositories/AccountRepository.php @@ -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()