diff --git a/resources/views/users/print.blade.php b/resources/views/users/print.blade.php index 324fda1b0f..2c9b4719f2 100644 --- a/resources/views/users/print.blade.php +++ b/resources/views/users/print.blade.php @@ -110,6 +110,7 @@ {{ trans('general.name') }} {{ trans('general.category') }} {{ trans('admin/hardware/form.model') }} + {{ trans('admin/hardware/form.default_location') }} {{ trans('general.location') }} {{ trans('admin/hardware/form.serial') }} {{ trans('admin/hardware/table.checkout_date') }} @@ -129,6 +130,7 @@ {{ $asset->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->serial }} @@ -155,6 +157,7 @@ {{ $asset->asset_tag }} {{ $asset->name }} {{ $asset->model->category->name }} + {{ ($asset->defaultLoc) ? $asset->defaultLoc->name : '' }} {{ ($asset->location) ? $asset->location->name : '' }} {{ $asset->model->name }} {{ $asset->serial }}