Skip to content

A free open source IT asset/license management system

adds accessory signature to user print report

Godfrey M3173ead2e714
diff --git a/resources/views/users/print.blade.php b/resources/views/users/print.blade.php
index 2c9b4719f2..cfc5bd4949 100644
--- a/resources/views/users/print.blade.php
+++ b/resources/views/users/print.blade.php
@@ -256,6 +256,7 @@
<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
@@ -274,6 +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>
+ <td><img style="width:auto;height:100px;" src="{{ asset('/') }}display-sig/{{ $accessory->assetlog->first()->accept_signature }}"></td>
+
+
</tr>
@php
$acounter++