Skip to content

A free open source IT asset/license management system

Only show sig file if there is a value for accepted sig

snipe8114d0179903
diff --git a/resources/views/users/print.blade.php b/resources/views/users/print.blade.php
index 1da8353f28..1c0b3196e9 100644
--- a/resources/views/users/print.blade.php
+++ b/resources/views/users/print.blade.php
@@ -86,7 +86,7 @@
<td>
{{ $asset->last_checkout }}</td>
<td>
- @if ($asset->assetlog->first())
+ @if (($asset->assetlog->first()) && ($asset->assetlog->first()->accept_signature!=''))
<img style="width:auto;height:100px;" src="{{ asset('/') }}display-sig/{{ $asset->assetlog->first()->accept_signature }}">
@endif
</td>