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

Checkout

@csrf

Delivery address

Orders require a verified email address. Billing details are stored separately for invoices.

Billing address

Used for invoices and payment records if it differs from the delivery address.
@auth
Account credit
@money((float) ($user?->account_credit_balance ?? 0)) available
Loyalty points
{{ number_format((int) ($user?->loyalty_points_balance ?? 0)) }} points
@endauth

Order summary

@foreach ($items as $item)
{{ $item['name'] }} x {{ $item['quantity'] }} @money($item['line_total'])
@endforeach
Subtotal @money($subtotal)
@auth
Account credit is used automatically first after any valid discount or redeemed points.
@endauth
@endsection