@extends('admin.MainComponent') @section('content')
| Item | Description | Price | Additional Price | Qty | Total |
|---|---|---|---|---|---|
| {{ App\Models\Product::find($item->elementId)->name ?? 'Unknown Item' }} | {{ Str::limit(App\Models\Product::find($item->elementId)->description ?? '-', 50) }} | {{ number_format(App\Models\Product::find($item->elementId)->price ?? 0, 2) }} | {{ $item->additionPrice ?? '-' }} | {{ $item->quantity }} | {{ number_format(($item->total ?? 0) * $item->quantity, 2) }} |
| Promo Code Discount: | {{ number_format($order->promoCodeDiscount, 2) }} | ||||
| Total Amount: | {{ number_format($order->total, 2) }} | ||||
@endif