feat: complete wishlist in user dashboard

This commit is contained in:
2026-08-18 12:10:42 -07:00
parent 244461f667
commit 68c6250160
9 changed files with 398 additions and 10 deletions
+20 -4
View File
@@ -15,7 +15,7 @@
</div>
{{-- Flight specific --}}
@if($type === 'flight')
<div class="search-form">
@@ -62,11 +62,19 @@
اکنون رزرو کن
</button>
<a href="#" class="border-btn">
<a href="{{ route('account.wishlist.toggle', [
'type' => 'flight',
'id' => $item->id
]) }}" class="border-btn">
<i class="far fa-heart"></i>
افزودن به علاقه‌مندی‌ها
</a>
</div>
</div>
@@ -77,7 +85,7 @@
@endif
{{-- Tour specific --}}
@if($type === 'tour')
<div class="listing-item p-3 mt-3">
@@ -127,11 +135,19 @@
اکنون رزرو کن
</a>
<a href="#" class="border-btn">
<a href="{{ route('account.wishlist.toggle', [
'type' => 'tour',
'id' => $item->id
]) }}" class="border-btn">
<i class="far fa-heart"></i>
افزودن به علاقه‌مندی‌ها
</a>
</div>
@endif