3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-04 17:15:38 +00:00

adds category to account accept index table

This commit is contained in:
Godfrey M
2025-12-10 10:43:59 -08:00
parent 75ddb50738
commit dfb9d5622a

View File

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