@extends('layouts/default') {{-- Page title --}} @section('title') View Assets for {{ $user->fullName() }} @parent @stop {{-- Account page content --}} @section('content')
{{ trans('admin/hardware/table.asset_model') }} | {{ trans('admin/hardware/table.asset_tag') }} | {{ trans('general.name') }} | |
---|---|---|---|
@if ($asset->physical=='1') {{ $asset->model->name }} @endif | {{ $asset->asset_tag }} | {{ $asset->name }} | @if (($asset->image) && ($asset->image!='')) @elseif (($asset->model) && ($asset->model->image!='')) @endif |
{{ trans('general.name') }} | {{ trans('admin/hardware/form.serial') }} |
---|---|
{{ $license->name }} | @can('licenses.keys') {{ mb_strimwidth($license->serial, 0, 50, "...") }} @else --- @endcan |
{{ trans('general.name') }} |
---|
{{ $consumable->name }} |
Name |
---|
{{ $accessory->name }} |
{{ trans('table.action') }} | {{ trans('general.asset') }} | {{ trans('table.by') }} | {{ trans('general.date') }} | |
---|---|---|---|---|
@if ($log->itemType()=="asset") @elseif ($log->itemType()=="accessory") @elseif ($log->itemType()=="consumable") @elseif ($log->itemType()=="license") @else @endif | {{ strtolower(trans('general.'.str_replace(' ','_',$log->action_type))) }} |
@if ($log->itemType()=="asset")
@if ($log->item->deleted_at=='')
{{ $log->item->showAssetName() }}
@else
|
@if ($log->user) {{ $log->user->fullName() }} @endif | {{ $log->created_at }} |