@extends('admin.layouts.app') @section('title', 'Sipariş Detayı') @section('header', 'Sipariş #' . $order->order_number) @section('content')

Sipariş Durumu

@csrf @method('PATCH')

{{ $order->created_at->format('d.m.Y H:i') }} tarihinde oluşturuldu

Müşteri Bilgileri

Ad Soyad {{ $order->customer_name }}
E-posta {{ $order->customer_email }}
Telefon {{ $order->customer_phone }}
İl {{ $order->city->name }}
İlçe {{ $order->district->name }}
Teslimat Adresi {{ $order->shipping_address }}

Ödeme Bilgileri

@csrf @method('PATCH')
@if($order->payment_id) @endif
Ödeme Yöntemi {{ $order->payment_method ?? 'Belirtilmemiş' }}
Ödeme ID {{ $order->payment_id }}

Sipariş Ürünleri

@foreach($order->items as $item) @endforeach
Ürün Birim Fiyat Adet Ağırlık Ara Toplam
{{ $item->product_name }}
@if($item->notes) {{ $item->notes }} @endif
₺{{ number_format($item->unit_price, 2) }} {{ $item->quantity }} {{ $item->weight }} KG ₺{{ number_format($item->subtotal, 2) }}
Ara Toplam ₺{{ number_format($order->subtotal, 2) }}
Teslimat Ücreti ₺{{ number_format($order->delivery_cost, 2) }}
Toplam ₺{{ number_format($order->total, 2) }}
@endsection