Show user's signature in print view (#6471)

This commit is contained in:
omyno 2019-01-15 23:03:40 +01:00 committed by snipe
parent 3e19509a49
commit f0500e9797

View file

@ -58,7 +58,7 @@
<table class="inventory">
<thead>
<tr>
<th colspan="7">{{ trans('general.assets') }}</th>
<th colspan="8">{{ trans('general.assets') }}</th>
</tr>
</thead>
<thead>
@ -70,6 +70,7 @@
<th style="width: 20%;">Model</th>
<th style="width: 20%;">Serial</th>
<th style="width: 10%;">Checked Out</th>
<th data-formatter="imageFormatter" style="width: 20%;">{{ trans('general.signature') }}</th>
</tr>
</thead>
@ -84,6 +85,7 @@
<td>{{ $asset->serial }}</td>
<td>
{{ $asset->last_checkout }}</td>
<td><img height="20%" src="{{ asset('/') }}display-sig/{{ $asset->assetlog->first()->accept_signature }}"></img></td>
</tr>
@php
$counter++