@extends(EcommerceHelper::viewPath('customers.master')) @section('title', __('Overview')) @section('content') @php $customer = auth('customer')->user(); EcommerceHelper::registerThemeAssets(); $totalOrders = $customer->orders()->count(); $totalAddresses = $customer->addresses()->count(); @endphp {{-- Hidden avatar upload (still wired to sidebar avatar via JS) --}} {{-- Stat cards --}}
{!! BaseHelper::clean( __( 'From your account dashboard you can view your recent orders, manage your shipping and billing addresses, and edit your password and account details.', [ 'order' => route('customer.orders'), 'addresses' => route('customer.address'), 'edit_account' => route('customer.edit-account'), ], ), ) !!}