From 13dbf9ee747832fbececfc1618b0abd64cac4f22 Mon Sep 17 00:00:00 2001 From: snipe Date: Sat, 31 Aug 2024 13:48:42 +0100 Subject: [PATCH] Added icon for dept Signed-off-by: snipe --- app/Helpers/IconHelper.php | 2 ++ resources/views/hardware/view.blade.php | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/Helpers/IconHelper.php b/app/Helpers/IconHelper.php index 2ffe3c5232..b56871f832 100644 --- a/app/Helpers/IconHelper.php +++ b/app/Helpers/IconHelper.php @@ -182,6 +182,8 @@ class IconHelper return 'fas fa-user-secret'; case 'employee_num' : return 'fa-regular fa-id-card'; + case 'department' : + return 'fa-solid fa-building-user'; } } diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php index d1d7f4623b..42144fc20c 100755 --- a/resources/views/hardware/view.blade.php +++ b/resources/views/hardware/view.blade.php @@ -316,7 +316,9 @@ @endif @if((isset($asset->assignedTo)) && ($asset->assignedTo->department)) -
  • {{ trans('admin/hardware/general.user_department') }}: {{ $asset->assignedTo->department->name}}
  • +
  • + + {{ $asset->assignedTo->department->name}}
  • @endif @if (isset($asset->location))