adds users total cost to user profile

This commit is contained in:
Godfrey M 2023-04-24 09:17:42 -07:00
parent 97df39001d
commit b8c424fca0

View file

@ -650,15 +650,14 @@
<strong>{{ trans('admin/hardware/form.optional_infos') }}</strong> <strong>{{ trans('admin/hardware/form.optional_infos') }}</strong>
</a> </a>
</div> </div>
<div id="optional_details" class="col-md-12" style="display:none"> <div id="optional_details" class="col-md-12" style="display:none">
<br> <div class="col-md-3" style="border-top:none;"></div>
<div class="col-md-9"> <div class="col-md-9" style="border-top:none;">
Asset: {{$user->getUserTotalCost()->asset_cost}} {{trans('general.assets').': '. Helper::formatCurrencyOutput($user->getUserTotalCost()->asset_cost)}}<br>
License: {{$user->getUserTotalCost()->license_cost}} {{trans('general.licenses').': '. Helper::formatCurrencyOutput($user->getUserTotalCost()->license_cost)}}<br>
Accessory: {{$user->getUserTotalCost()->accessory_cost}} {{trans('general.accessories').': '.Helper::formatCurrencyOutput($user->getUserTotalCost()->accessory_cost)}}<br>
</div>
</div> </div>
</div>
</div> </div>
</div> <!--/end striped container--> </div> <!--/end striped container-->