From ada8e77b85776306291c69c1ee0cd862621ba1d4 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 13 Nov 2024 21:16:08 +0000 Subject: [PATCH] Added location to asset view Signed-off-by: snipe --- resources/views/account/view-assets.blade.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/views/account/view-assets.blade.php b/resources/views/account/view-assets.blade.php index 96683fa9b1..08062e29a5 100755 --- a/resources/views/account/view-assets.blade.php +++ b/resources/views/account/view-assets.blade.php @@ -431,6 +431,9 @@ {{ trans('admin/hardware/form.default_location') }} + + {{ trans('general.location') }} + @can('self.view_purchase_cost') @@ -489,6 +492,9 @@ {{ ($asset->defaultLoc) ? $asset->defaultLoc->name : '' }} + + {{ ($asset->location) ? $asset->location->name : '' }} + @can('self.view_purchase_cost') {!! Helper::formatCurrencyOutput($asset->purchase_cost) !!}