mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 14:27:33 -08:00
Check for valid model
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
e6810e8db9
commit
22996895d8
|
@ -81,7 +81,7 @@
|
||||||
<td>{{ $asset->asset_tag }}</td>
|
<td>{{ $asset->asset_tag }}</td>
|
||||||
<td>{{ $asset->name }}</td>
|
<td>{{ $asset->name }}</td>
|
||||||
<td>{{ (($asset->model) && ($asset->model->category)) ? $asset->model->category->name : trans('general.invalid_category') }}</td>
|
<td>{{ (($asset->model) && ($asset->model->category)) ? $asset->model->category->name : trans('general.invalid_category') }}</td>
|
||||||
<td>{{ $asset->model->name }}</td>
|
<td>{{ ($asset->model) ? $asset->model->name : trans('general.invalid_model') }}</td>
|
||||||
<td>{{ $asset->serial }}</td>
|
<td>{{ $asset->serial }}</td>
|
||||||
<td>
|
<td>
|
||||||
{{ $asset->last_checkout }}</td>
|
{{ $asset->last_checkout }}</td>
|
||||||
|
|
Loading…
Reference in a new issue