Skip to content

A free open source IT asset/license management system

adds category to account accept index table

Godfrey Mdfb9d5622a28
diff --git a/resources/views/account/accept/index.blade.php b/resources/views/account/accept/index.blade.php
index 81012405b7..2311b40d8e 100755
--- a/resources/views/account/accept/index.blade.php
+++ b/resources/views/account/accept/index.blade.php
@@ -31,6 +31,7 @@
<tr>
<th>{{ trans('general.name')}}</th>
<th>{{ trans('general.type')}}</th>
+ <th>{{ trans('general.category')}}</th>
<th>{{ trans('general.qty') }}</th>
<th>{{ trans('general.serial_number')}}</th>
<th>{{ trans('table.actions')}}</th>
@@ -42,6 +43,7 @@
@if ($acceptance->checkoutable)
<td>{{ ($acceptance->checkoutable) ? $acceptance->checkoutable->present()->name : '' }}</td>
<td>{{ $acceptance->checkoutable_item_type }}</td>
+ <td>{{ $acceptance->checkoutable->model?->category?->name }}</td>
<td>{{ $acceptance->qty ?? '1' }}</td>
<td>{{ ($acceptance->checkoutable) ? $acceptance->checkoutable->serial : '' }}</td>
<td><a href="{{ route('account.accept.item', $acceptance) }}" class="btn btn-theme btn-sm">{{ trans('general.accept_decline') }}</a></td>