@extends('layouts.app') @section('content')

{{ __('order_number') }}: {{ $order->order_number }}

{{ __('order_items') }}

@foreach($order->items as $item)

{{ $item->product_name }}

@if($item->variant_info)

{{ $item->variant_info }}

@endif

x{{ $item->quantity }}

{{ number_format($item->total, 2, ',', ' ') }} AZN

@endforeach

{{ __('status_history') }}

@foreach($order->statusHistory as $history)
{{ $history->created_at->format('d.m.Y H:i') }} {{ $history->status }}{{ $history->comment ? ' — ' . $history->comment : '' }}
@endforeach

{{ __('order_summary') }}

{{ __('subtotal') }} {{ number_format($order->subtotal, 2, ',', ' ') }} AZN
{{ __('discount') }} {{ number_format($order->discount, 2, ',', ' ') }} AZN
{{ __('shipping') }} {{ number_format($order->shipping, 2, ',', ' ') }} AZN
{{ __('total') }} {{ number_format($order->total, 2, ',', ' ') }} AZN

{{ __('payment_type') }}: {{ $order->payment_type }}

{{ __('shipping_address') }}: {{ $order->shipping_address }}

@endsection