@extends('layouts.app') @section('title', __('checkout.thanks').' | '.setting_text('store.name', 'Mandano 888')) @section('page', 'checkout-success') @section('content')
{{ __('checkout.thanks') }}

{{ __('checkout.order_received') }}

{{ __('checkout.thanks_sub', ['order' => $order->number]) }}

@if ($openedAccount) @php($account = auth('web')->user()) @endif

{{ __('checkout.summary') }}

@foreach ($order->items as $item)
{{ $item->qty }}
{{ $item->tr('name') }} @if ($item->size || $item->color) {{ collect([$item->size ? size_label($item->size) : null, $item->color ? color_label($item->color) : null])->filter()->implode(' · ') }} @endif
{{ money($item->line_total) }}
@endforeach
{{ __('cart.subtotal') }}{{ money($order->subtotal) }}
@if ($order->discount > 0)
{{ __('cart.discount') }}@if ($order->coupon_code) · {{ $order->coupon_code }}@endif−{{ money($order->discount) }}
@endif @if ($order->shipping_discount > 0)
{{ __('cart.coupon_free_shipping') }}{{ __('cart.free') }}
@endif
{{ __('cart.shipping') }}{{ $order->shipping === 0 ? __('cart.free') : money($order->shipping) }}
{{ __('cart.total') }}{{ money($order->total) }}

{{ __('checkout.delivery_details') }}

{{ __('checkout.name') }}
{{ $order->customer_name }}
{{ __('checkout.phone') }}
{{ $order->customer_phone }}
@if ($order->customer_email)
{{ __('checkout.email') }}
{{ $order->customer_email }}
@endif
{{ __('checkout.zone') }}
{{ $order->shipping_zone_name[app()->getLocale()] ?? collect($order->shipping_zone_name)->first() }}
{{ __('checkout.address') }}
{{ $order->address_line }}
@if ($order->notes)
{{ __('checkout.notes') }}
{{ $order->notes }}
@endif
@endsection