mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Always include client id number in search
This commit is contained in:
parent
ebeee03694
commit
96cdf617b6
@ -193,7 +193,7 @@ class AccountRepository
|
||||
foreach ($clients as $client) {
|
||||
if ($client->name) {
|
||||
$data['clients'][] = [
|
||||
'value' => ($account->clientNumbersEnabled() && $client->id_number ? $client->id_number . ': ' : '') . $client->name,
|
||||
'value' => ($client->id_number ? $client->id_number . ': ' : '') . $client->name,
|
||||
'tokens' => implode(',', [$client->name, $client->id_number, $client->vat_number, $client->work_phone]),
|
||||
'url' => $client->present()->url,
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user