mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
adds signature for components
This commit is contained in:
parent
f4f9b165a7
commit
84cc88831d
|
@ -315,6 +315,8 @@
|
|||
<th style="width: 40%;" data-sortable="true" data-switchable="false">{{ trans('general.name') }}</th>
|
||||
<th style="width: 50%;" data-sortable="true">{{ trans('general.category') }}</th>
|
||||
<th style="width: 10%;" data-sortable="true">{{ trans('admin/hardware/table.checkout_date') }}</th>
|
||||
<th style="width: 10%;" data-sortable="true">{{ trans('general.signature') }}</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
@php
|
||||
|
@ -336,6 +338,11 @@
|
|||
</td>
|
||||
<td>{{ ($consumable->category) ? $consumable->category->name : ' invalid/deleted category' }} </td>
|
||||
<td>{{ $consumable->pivot->created_at }}</td>
|
||||
<td>
|
||||
@if (($consumable->assetlog->first()) && ($consumable->assetlog->first()->accept_signature!=''))
|
||||
<img style="width:auto;height:100px;" src="{{ asset('/') }}display-sig/{{ $consumable->assetlog->first()->accept_signature }}">
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@php
|
||||
$ccounter++
|
||||
|
|
Loading…
Reference in a new issue