@extends('layouts.app', ['title' => 'Dashboard | Print Cards']) @section('content')

Customer Dashboard

Track uploads, orders, addresses, wallet balance, and courier updates from one place.

Place New Order
Documents
{{ $documentCount }}
Orders
{{ $orderCount }}
Saved Addresses
{{ $addressCount }}
Wallet
Rs {{ number_format($walletBalance, 2) }}
{{ $pendingApprovalCount }} uploaded document(s) are waiting for admin approval before final production.

Recent Documents

Manage
@if($recentDocuments->isEmpty())

No documents uploaded yet.

@else
@foreach($recentDocuments as $document)
{{ $document->title }}
{{ $document->document_type }} | {{ $document->page_count }} pages | {{ ucfirst($document->approval_status) }}
@endforeach
@endif

Recent Orders

View all
@if($recentOrders->isEmpty())

No orders placed yet.

@else @endif

Saved Addresses

@if($savedAddresses->isEmpty())

Addresses will appear here after you place your first order.

@else
@foreach($savedAddresses as $address)
{{ $address->label }}
{{ $address->recipient_name }}
{{ $address->line1 }}, {{ $address->city }}, {{ $address->state }} - {{ $address->postal_code }}
@endforeach
@endif

Recent Notifications

@if($notifications->isEmpty())

Payment, courier, and admin status notifications will appear here.

@else
@foreach($notifications as $notification)
{{ $notification->subject }}
{{ $notification->channel }} | {{ $notification->sent_at?->format('d M Y h:i A') }}
{{ $notification->message }}
@endforeach
@endif
@endsection