Always include client id number in search
This commit is contained in:
parent
ebeee03694
commit
96cdf617b6
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue