diff --git a/resources/views/users/view.blade.php b/resources/views/users/view.blade.php index 9209c76e25..b5df8c95c6 100755 --- a/resources/views/users/view.blade.php +++ b/resources/views/users/view.blade.php @@ -399,28 +399,50 @@
- +
+ + @foreach ($user->licenses as $license) - - - +
{{ trans('general.name') }} {{ trans('admin/hardware/form.serial') }}{{ trans('general.purchase_cost') }} {{ trans('general.action') }}
+ {!! $license->present()->nameUrl() !!} + @can('viewKeys', $license) {!! $license->present()->serialUrl() !!} @else ------------ @endcan + + {!! $license->purchase_cost !!} + @can('update', $license) {{ trans('general.checkin') }} @endcan @@ -434,10 +456,28 @@
- +
+ @@ -445,6 +485,9 @@ @foreach ($user->accessories as $accessory) +
{{ trans('general.name') }}{{ trans('general.purchase_cost') }} {{ trans('general.action') }}
{!!$accessory->present()->nameUrl()!!} + {!! $accessory->purchase_cost !!} + @can('checkin', $accessory) {{ trans('general.checkin') }} @@ -459,10 +502,28 @@
- +
- + + @@ -470,6 +531,9 @@ @foreach ($user->consumables as $consumable) + @endforeach
{{ trans('general.name') }}{{ trans('general.name') }}{{ trans('general.purchase_cost') }} {{ trans('general.date') }}
{!! $consumable->present()->nameUrl() !!} + {!! $consumable->purchase_cost !!} + {{ $consumable->created_at }}