@extends('layouts.app') @section('title', 'My Account') @section('content')

My account

{{ $user->name }}

{{ $user->email }}

MFA status: {{ $user->two_factor_confirmed_at || $user->mfa_confirmed_at ? 'Enabled' : 'Not configured' }}

Account credit: @money((float) $user->account_credit_balance)
Loyalty points: {{ number_format((int) $user->loyalty_points_balance) }}

Recent orders

@forelse ($user->orders as $order)
{{ $order->order_number }}
{{ $order->status }} | {{ $order->payment_status }}
Total: @money($order->grand_total) @if ($order->trackingUrl())
Track shipment @endif
@empty
No orders yet.
@endforelse
@endsection