Added phone, fax to departments, locations, companies

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe
2023-07-10 19:44:21 +01:00
parent 2faa73f983
commit 14c61e4c17
20 changed files with 138 additions and 13 deletions
+3 -1
View File
@@ -66,6 +66,8 @@ class Location extends SnipeModel
'state',
'country',
'zip',
'phone',
'fax',
'ldap_ou',
'currency',
'manager_id',
@@ -80,7 +82,7 @@ class Location extends SnipeModel
*
* @var array
*/
protected $searchableAttributes = ['name', 'address', 'city', 'state', 'zip', 'created_at', 'ldap_ou'];
protected $searchableAttributes = ['name', 'address', 'city', 'state', 'zip', 'created_at', 'ldap_ou', 'phone', 'fax'];
/**
* The relations and their attributes that should be included when searching the model.