@extends("client.layouts.app") @section("title", __("client.checkout.title")) @section("content") {{ __('client.cart.back_to_cart') }}

{{ __('common.actions.checkout') }}

{{ __('client.checkout.subtitle') }}

@if(session("error"))
{{ session("error") }}
@endif
@csrf
{{ __('client.checkout.contact_details') }}
{{ __('client.checkout.payment_method') }}
@foreach($paymentMethods as $value => $label) @endforeach
{{ __('client.cart.order_summary') }}
@foreach($totals["items"] as $item)
{{ $item["product_name"] ?? __('client.cart.product_fallback') }} ${{ number_format($item["price"] ?? 0, 2) }}
@endforeach @if(($totals["discount"] ?? 0) > 0)
{{ __('client.cart.discount') }}-${{ number_format($totals["discount"], 2) }}
@endif @if(($totals["tax"] ?? 0) > 0)
{{ __('client.cart.tax') }}${{ number_format($totals["tax"], 2) }}
@endif
{{ __('client.cart.total') }} ${{ number_format($totals["total"], 2) }}

{{ __('client.checkout.secure_checkout') }} — ${{ number_format($totals["total"], 2) }}

@section("scripts") @endsection @endsection