@extends('dashboard.layout') @section('title','تفاصيل الطلب #'.$order->id) @section('content')
| المنتج | الكمية | السعر | الإجمالي |
|---|---|---|---|
| {{ $item->product_name ?? $item->product?->name }} | {{ $item->quantity }} | {{ number_format($item->unit_price,2) }} | {{ number_format($item->unit_price * $item->quantity,2) }} |
| المجموع | {{ number_format($order->subtotal,2) }} | ||
| الخصم | -{{ number_format($order->discount,2) }} | ||
| الشحن | {{ number_format($order->shipping ?? 0,2) }} | ||
| الإجمالي النهائي | {{ number_format($order->total_amount,2) }} |