Synchro back-office, fix on tariffs
This commit is contained in:
@@ -7,15 +7,13 @@
|
||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
{{ $category['name'] }}
|
||||
</a>
|
||||
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
|
||||
@foreach ($category['children'] as $children)
|
||||
<a class="dropdown-item" href="{{ $children['id'] }}">{{ $children['name'] }}</a>
|
||||
@endforeach
|
||||
</div>
|
||||
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
|
||||
@include('Shop.layout.partials.submenu', ['categories' => $category['children']])
|
||||
</ul>
|
||||
</li>
|
||||
@else
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{{ $category['id'] }}">{{ $category['name'] }}</a>
|
||||
<a class="nav-link" href="{{ route('Shop.Categories.show', ['id' => $category['id']]) }}">{{ $category['name'] }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
Reference in New Issue
Block a user