@extends('website.layouts.app') @section('content')

@if (session('app_language', 'en') == 'en') My Account @else حسابي @endif

@csrf

@if (session('app_language', 'en') == 'en') Account Detail @else تفاصيل الحساب @endif

@if (session('app_language', 'en') == 'en') Change Password @else تغيير كلمة المرور @endif

{{-- {{ $user->type ?? '' }} --}} {{-- @if ($user->type != 'Guest' || $user->type != 'Whatsapp')

@endif --}} @if ($user->type != 'Guest' && $user->type != 'Whatsapp')

@endif

@if (count($orders) > 0) @foreach ($orders as $item) @endforeach @else @endif
@if (session('app_language', 'en') == 'en') Order @else الطلب @endif @if (session('app_language', 'en') == 'en') Date @else التاريخ @endif @if (session('app_language', 'en') == 'en') Status @else الحالة @endif @if (session('app_language', 'en') == 'en') Total @else الإجمالي @endif @if (session('app_language', 'en') == 'en') Actions @else الإجراءات @endif
#{{ $item->id ?? '' }} {{ $item->created_at ? $item->created_at->format('F d, Y') : '' }} {{-- {{ ucfirst($item->status) }} @if ($item->status == 'pending') Pending @elseif($item->status == 'processing') Processing @endif --}} @php $statusClass = match ($item->status) { 'pending' => 'bg-warning', 'processing' => 'bg-primary', 'completed', 'out_for_delivery' => 'bg-success', 'cancelled' => 'bg-danger', default => 'bg-secondary', }; @endphp {{ ucwords(str_replace('_', ' ', $item->status)) }} {{$item->currency_code ?? ''}} {{ $item->subtotal ?? '' }}
@if (session('app_language', 'en') == 'en')

Orders not Available

@else

الطلبات غير متوفرة

@endif
{{--

You have no active subscriptions.

--}}

@if (session('app_language', 'en') == 'en') The following addresses will be used on the checkout page by default. @else سيتم استخدام العناوين التالية في صفحة الخروج بشكل افتراضي. @endif

{{-- --}} @csrf
@if (session('app_language', 'en') == 'en') Billing Details @else تفاصيل الفواتير @endif

{{--

--}}

@if (session('app_language', 'en') == 'en') Shipping Details @else تفاصيل الشحن @endif

{{--

--}}

@php $wishlists = getUserWishlist(); @endphp @if (count($wishlists) > 0) @foreach ($wishlists as $item)
{{-- --}} @if ($item->product && $item->product->images->isNotEmpty()) Product Image @endif
@if (session('app_language', 'en') == 'en') {{ $item->product->title_en ?? '' }} @else {{ $item->product->title_ar ?? '' }} @endif
{{ display_price($item->product->price) }} {{--
  • Selection: Medium
  • In-Store Pickup: New York
--}}
{{-- --}}

@endforeach @else
@if (session('app_language', 'en') == 'en')

Your Wishlist is empty.

@else

قائمة أمنياتك فارغة.

@endif
@endif
@endsection @section('scriptJs') @endsection