Synchro back-office, fix on tariffs

This commit is contained in:
Ludovic CANDELLIER
2021-10-26 21:41:46 +02:00
parent c150be2c3e
commit 86f6ee9a13
45 changed files with 1095 additions and 406 deletions

View File

@@ -0,0 +1,19 @@
@foreach ($categories as $category)
<li>
@if ($category['children'] ?? false)
<a class="dropdown-item" href="#">
<div class="w-100">
{{ $category['name'] }}
<span style="float: right;">
<i class="fa fa-caret-right"></i>
</span>
</div>
</a>
<ul class="submenu dropdown-menu">
@include('Shop.layout.partials.submenu', ['categories' => $category['children']])
</ul>
@else
<a class="dropdown-item" href="{{ route('Shop.Categories.show', ['id' => $category['id']]) }}">{{ $category['name'] }}</a>
@endif
</li>
@endforeach