@extends('layouts.app') @section('title','Manage My Account | Shopora') @section('content')
{{-- Sidebar --}} {{-- Main Content --}}

Manage My Account

Total Orders

{{ $stats['total_orders'] }}

Pending

{{ $stats['pending_orders'] }}

Wishlist Items

{{ $stats['wishlist_count'] }}

Personal Profile

Edit

{{ $user->name }}

{{ $user->email }}

{{ $user->phone ?? 'No phone added' }}

Address Book

Edit

Default Delivery Address

{{ $user->address ?? 'No address added' }}

{{ $user->city ? $user->city.', '.$user->country.' - '.$user->postal_code : '' }}

Recent Orders

View All
@if($orders->count())
@foreach($orders->take(5) as $order) @endforeach
Order # Placed On Items Total Status
{{ $order->order_number }} {{ $order->created_at->format('d/m/Y') }} {{ $order->items->count() }} Rs. {{ number_format($order->total) }} {{ $order->status }} Manage
@else
You haven't placed any orders yet.
@endif
@endsection