feat: complete tour in admin side

This commit is contained in:
2026-08-20 11:24:55 -07:00
parent 29e542b501
commit 99c60dd9c7
8 changed files with 883 additions and 49 deletions
+16 -13
View File
@@ -70,19 +70,22 @@
<!-- End::slide -->
<!-- Start::slide -->
<li class="slide ">
<a href=""
class="side-menu__item {{activeAdminSidebar(['admin.orders.index' , 'admin.orders.shoe', 'admin.orders.edit'])}}">
<svg xmlns="http://www.w3.org/2000/svg" class="side-menu__icon" width="1em"
height="1em" viewBox="0 0 24 24">
<path fill="none" stroke="currentColor" stroke-linecap="round"
stroke-linejoin="round" stroke-width="1.5"
d="M2.5 12c0-4.478 0-6.718 1.391-8.109S7.521 2.5 12 2.5c4.478 0 6.718 0 8.109 1.391S21.5 7.521 21.5 12c0 4.478 0 6.718-1.391 8.109S16.479 21.5 12 21.5c-4.478 0-6.718 0-8.109-1.391S2.5 16.479 2.5 12M11 7h6M7 7h1m-1 5h1m-1 5h1m3-5h6m-6 5h6"
color="currentColor"></path>
</svg>
<span class="side-menu__label">مدیریت سفارشات</span>
</a>
</li>
@if(auth('admin')->user()->permission?->admin_view)
<li class="slide ">
<a href="{{ route('admin.tours.index') }}"
class="side-menu__item {{activeAdminSidebar(['admin.tour.index' , 'admin.tour.create', 'admin.tour.edit'])}}">
<svg xmlns="http://www.w3.org/2000/svg" class="side-menu__icon"
width="1em"
height="1em" viewBox="0 0 24 24">
<path fill="none" stroke="currentColor" stroke-linecap="round"
stroke-linejoin="round" stroke-width="1.5"
d="M2.5 12c0-4.478 0-6.718 1.391-8.109S7.521 2.5 12 2.5c4.478 0 6.718 0 8.109 1.391S21.5 7.521 21.5 12c0 4.478 0 6.718-1.391 8.109S16.479 21.5 12 21.5c-4.478 0-6.718 0-8.109-1.391S2.5 16.479 2.5 12M11 7h6M7 7h1m-1 5h1m-1 5h1m3-5h6m-6 5h6"
color="currentColor"></path>
</svg>
<span class="side-menu__label">مدیریت تورها</span>
</a>
</li>
@endif
<!-- End::slide -->
<!-- Start::slide -->