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

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-07-11 14:46:45 -07:00
parent 78d5c37267
commit 8114d01799

View file

@ -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>