Skip to content

A free open source IT asset/license management system

adds signature check

Godfrey M3222d4c8dfce
diff --git a/resources/views/users/print.blade.php b/resources/views/users/print.blade.php
index cfc5bd4949..023d091c05 100644
--- a/resources/views/users/print.blade.php
+++ b/resources/views/users/print.blade.php
@@ -275,9 +275,9 @@
<td>{{ ($accessory->manufacturer) ? $accessory->manufacturer->name : '' }} {{ $accessory->name }} {{ $accessory->model_number }}</td>
<td>{{ $accessory->category->name }}</td>
<td>{{ $accessory->pivot->created_at }}</td>
+ @if (($accessory->assetlog->first()) && ($accessory->assetlog->first()->accept_signature!=''))
<td><img style="width:auto;height:100px;" src="{{ asset('/') }}display-sig/{{ $accessory->assetlog->first()->accept_signature }}"></td>
-
-
+ @endif
</tr>
@php
$acounter++