Link parent company

This commit is contained in:
snipe
2026-03-10 11:40:03 +00:00
parent e7eb4f0e80
commit d0dbd1e561
2 changed files with 3 additions and 3 deletions

View File

@@ -288,9 +288,9 @@
@if ((isset($infoPanelObj->parent)) && $infoPanelObj->parent))
@if ((isset($infoPanelObj->parent)) && ($infoPanelObj->parent))
<x-info-element icon_type="parent" title="{{ trans('admin/locations/table.parent') }}">
{{ $infoPanelObj->parent->display_name }}
<a href="{{ route('locations.show', $infoPanelObj->parent->id) }}">{{ $infoPanelObj->parent->display_name }}</a>
</x-info-element>
@endif

View File

@@ -6,7 +6,7 @@
])
@if (!$slot->isEmpty())
<li {{ $attributes->merge(['class' => 'list-group-item']) }}>
<li {{ $attributes->merge(['class' => 'list-group-item']) }} id="{{ strtolower(str_slug($title)) }}">
@if ($icon_type)
<x-icon type="{{ $icon_type }}" :title="$title" class="fa-fw" style="{{ 'color: '.$icon_color.' !important' ?? '' }}" />