From 1cdf6f826349a91497beaaa37553b44c7b387c89 Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 9 Nov 2020 23:05:19 -0800 Subject: [PATCH] Fixed #8673 - added category to accessories listing on Account > Assigned Assets --- resources/views/account/view-assets.blade.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/resources/views/account/view-assets.blade.php b/resources/views/account/view-assets.blade.php index d6d9845b8b..e81281edab 100755 --- a/resources/views/account/view-assets.blade.php +++ b/resources/views/account/view-assets.blade.php @@ -154,8 +154,9 @@ View Assets for {{ $user->present()->fullName() }} }'> - {{ trans('general.name') }} + {{ trans('general.name') }} {{ trans('admin/hardware/form.serial') }} + {{ trans('general.category') }} @@ -169,6 +170,7 @@ View Assets for {{ $user->present()->fullName() }} ------------ @endcan + {{ $license->category->name }} @endforeach @@ -211,13 +213,15 @@ View Assets for {{ $user->present()->fullName() }} }'> - {{ trans('general.name') }} + {{ trans('general.name') }} + {{ trans('general.category') }} @foreach ($user->consumables as $consumable) {{ $consumable->name }} + {{ $consumable->category->name }} @endforeach @@ -264,13 +268,15 @@ View Assets for {{ $user->present()->fullName() }} }'> - Name + {{ trans('general.name') }} + {{ trans('general.category') }} @foreach ($user->accessories as $accessory) {{ $accessory->name }} + {{ $accessory->category->name }} @endforeach