@extends('layouts/default')
{{-- Page title --}}
@section('title')
View Assets for {{ $user->present()->fullName() }}
@parent
@stop
{{-- Account page content --}}
@section('content')
@if ($user->id)
@endif
{{ trans('general.category') }} |
{{ trans('admin/hardware/table.asset_tag') }} |
{{ trans('general.name') }} |
{{ trans('admin/hardware/table.asset_model') }} |
{{ trans('admin/hardware/table.serial') }} |
{{ trans('general.image') }} |
@foreach ($user->assets as $asset)
{{ $asset->model->category->name }} |
{{ $asset->asset_tag }} |
{{ $asset->name }} |
@if ($asset->physical=='1')
{{ $asset->model->name }}
@endif
|
{{ $asset->serial }} |
@if (($asset->image) && ($asset->image!=''))
@elseif (($asset->model) && ($asset->model->image!=''))
@endif
|
@endforeach
@if ($user->id)
@endif
{{ trans('general.name') }} |
{{ trans('admin/hardware/form.serial') }} |
@foreach ($user->licenses as $license)
{{ $license->name }} |
@can('viewKeys', $license)
{{ $license->serial }}
@else
------------
@endcan
|
@endforeach
@if ($user->id)
@endif
{{ trans('general.name') }} |
@foreach ($user->consumables as $consumable)
{{ $consumable->name }} |
@endforeach
@if ($user->id)
@endif
Name |
@foreach ($user->accessories as $accessory)
{{ $accessory->name }} |
@endforeach
@if ($user->id)
@endif
|
{{ trans('general.date') }} |
{{ trans('general.admin') }} |
{{ trans('general.action') }} |
{{ trans('general.item') }} |
@stop
@section('moar_scripts')
@include ('partials.bootstrap-table')
@stop