A free open source IT asset/license management system
Fixed #8673 - added category to accessories listing on Account > Assigned Assets
snipe1cdf6f826349
diff --git a/resources/views/account/view-assets.blade.php b/resources/views/account/view-assets.blade.phpindex d6d9845b8b..e81281edab 100755--- a/resources/views/account/view-assets.blade.php+++ b/resources/views/account/view-assets.blade.php@@ -154,8 +154,9 @@ View Assets for {{ $user->present()->fullName() }}}'><thead><tr>- <th class="col-md-5">{{ trans('general.name') }}</th>+ <th class="col-md-4">{{ trans('general.name') }}</th><th class="col-md-4">{{ trans('admin/hardware/form.serial') }}</th>+ <th class="col-md-4">{{ trans('general.category') }}</th></tr></thead><tbody>@@ -169,6 +170,7 @@ View Assets for {{ $user->present()->fullName() }}------------@endcan</td>+ <td>{{ $license->category->name }}</td></tr>@endforeach</tbody>@@ -211,13 +213,15 @@ View Assets for {{ $user->present()->fullName() }}}'><thead><tr>- <th class="col-md-12">{{ trans('general.name') }}</th>+ <th class="col-md-8">{{ trans('general.name') }}</th>+ <th class="col-md-4">{{ trans('general.category') }}</th></tr></thead><tbody>@foreach ($user->consumables as $consumable)<tr><td>{{ $consumable->name }}</td>+ <td>{{ $consumable->category->name }}</td></tr>@endforeach</tbody>@@ -264,13 +268,15 @@ View Assets for {{ $user->present()->fullName() }}}'><thead><tr>- <th class="col-md-12">Name</th>+ <th class="col-md-8">{{ trans('general.name') }}</th>+ <th class="col-md-4">{{ trans('general.category') }}</th></tr></thead><tbody>@foreach ($user->accessories as $accessory)<tr><td>{{ $accessory->name }}</td>+ <td>{{ $accessory->category->name }}</td></tr>@endforeach</tbody>