diff --git a/resources/views/users/print.blade.php b/resources/views/users/print.blade.php index bdea19ab7c..acadf16a03 100644 --- a/resources/views/users/print.blade.php +++ b/resources/views/users/print.blade.php @@ -151,20 +151,25 @@ {{ $counter }}.{{ $assignedCounter }} - + @if ($asset->getImageUrl()) @endif {{ $asset->asset_tag }} {{ $asset->name }} - {{ $asset->model->category->name }} + {{ (($asset->model) && ($asset->model->category)) ? $asset->model->category->name : trans('general.invalid_category') }} + {{ ($asset->model) ? $asset->model->name : trans('general.invalid_model') }} {{ ($asset->defaultLoc) ? $asset->defaultLoc->name : '' }} {{ ($asset->location) ? $asset->location->name : '' }} - {{ $asset->model->name }} {{ $asset->serial }} - {{ $asset->last_checkout }} - + + {{ Helper::getFormattedDateObject($asset->last_checkout, 'datetime', false) }} + + @if (($asset->assetlog->first()) && ($asset->assetlog->first()->accept_signature!='')) + + @endif + @php $assignedCounter++