From 45e9d0597a3d2d928bf349c84f0a880bf88592da Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Mon, 27 Nov 2023 11:36:47 -0800 Subject: [PATCH] makes user total asset cost appear conditionally --- resources/views/users/view.blade.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/views/users/view.blade.php b/resources/views/users/view.blade.php index ea5e8d80dfd7..4e9376f09249 100755 --- a/resources/views/users/view.blade.php +++ b/resources/views/users/view.blade.php @@ -645,6 +645,7 @@
{{Helper::formatCurrencyOutput($user->getUserTotalCost()->total_user_cost)}} + @if($user->getUserTotalCost()->total_user_cost > 0) {{ trans('admin/hardware/form.optional_infos') }} @@ -657,6 +658,7 @@ {{trans('general.licenses').': '. Helper::formatCurrencyOutput($user->getUserTotalCost()->license_cost)}}
{{trans('general.accessories').': '.Helper::formatCurrencyOutput($user->getUserTotalCost()->accessory_cost)}}
+ @endif