From e9227f77b638dc9342b5c492ef5a1a192999dc08 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 21 Jun 2016 12:20:22 -0700 Subject: [PATCH] Fixes #2163 - put model image in view if no asset image --- resources/views/hardware/view.blade.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php index 97851f66dc..5034722a1a 100755 --- a/resources/views/hardware/view.blade.php +++ b/resources/views/hardware/view.blade.php @@ -260,8 +260,18 @@
+ @if ($asset->image) + + @else + @if ($asset->model->image!='') + + @endif + @endif + + @if (App\Models\Setting::getSettings()->qr_code=='1') + + @endif - @if (($asset->assigneduser) && ($asset->assigned_to > 0) && ($asset->deleted_at==''))

{{ trans('admin/hardware/form.checkedout_to') }}