@extends('admin.layouts.app') @section('title', 'Sifariş ' . $order->order_number) @section('content')
Ad: {{ $order->shipping_name ?: trim(($order->customer?->first_name ?? '') . ' ' . ($order->customer?->last_name ?? '')) }}
Telefon: {{ $order->shipping_phone ?: $order->customer?->phone }}
Ünvan: {{ $order->shipping_address ?: '—' }}
@if($order->customer_note)Qeyd: {{ $order->customer_note }}
@endifStatus: {{ $order->status }}
Ödəniş tipi: {{ $order->payment_type }}
Ödəniş statusu: {{ $order->payment_status }}
Tarix: {{ $order->created_at->format('d.m.Y H:i') }}
Məhsullar: {{ number_format($order->subtotal, 2, ',', ' ') }} AZN
Endirim: {{ number_format($order->discount, 2, ',', ' ') }} AZN
Çatdırılma: {{ number_format($order->shipping, 2, ',', ' ') }} AZN
Cəmi: {{ number_format($order->total, 2, ',', ' ') }} AZN
| Məhsul | Variant | Say | Qiymət | Cəmi |
|---|---|---|---|---|
| {{ $item->product_name }} | {{ $item->variant_info ?: '—' }} | {{ $item->quantity }} | {{ number_format($item->price, 2, ',', ' ') }} AZN | {{ number_format($item->total, 2, ',', ' ') }} AZN |
| Status | Qeyd | Admin | Tarix |
|---|---|---|---|
| {{ $history->status }} | {{ $history->comment ?: '—' }} | {{ $history->admin?->name ?: 'Sistem' }} | {{ $history->created_at->format('d.m.Y H:i') }} |