@extends('admin.index') @section('title')Sipariş Detayı - @endsection @section('header') @endsection @section('content')

Sipariş Bilgileri

Sipariş Tarihi: {{ $order->created_at->format('d/m/Y, H:i') }} {{ $order->created_at->diffForHumans() }}
Sipariş Numarası: {{ $order->order_number }}
Sipariş Yapan Kullanıcı: {{ $order->user->name }} {{ $order->user->surname }} {{ $order->user->email }} {{ $order->user->phone }}
Şirket Adı: {{ $order->company_name }}
Şirket Telefonu: {{ $order->company_phone }}
Yetkili Kişi: {{ $order->company_user }}
Açıklama: {{ $order->description }}

Ücret Bilgileri

Ürünlerin Toplam Tutarı: {{ money($order->order_products->sum('price')) }} TL
İndirim Yüzdesi: Ekstra yapılan indirim yüzdesi -{{ $order->discount_percent }}%
İndirim Tutarı: Ekstra yapılan indirim miktarı -{{ money($order->discount_amount) }} TL
İndirimlerin Toplam Tutarı: Yapılan indirimlerin toplamı -{{ money(($order->order_products->sum('price')-$order->total_price)) }} TL
İndirimli Toplam Tutar: {{ money($order->total_price) }} TL

Ürün Listesi

@foreach ($order->order_products as $orderProduct) @endforeach
Ürün Fotoğrafı Ürün Adı Adet Ürün Fiyatı
@if ( $orderProduct->product->first_image != null ) {{ $orderProduct->product->content->name ?? translate('product') }} @endif {{ $orderProduct->product->content->name ?? translate('product') }} {{ $orderProduct->quantity }} {{ money($orderProduct->price) }} TL
@endsection @section('footer') @endsection