@extends('admin.layouts.app') @section('page-title') Order Details #{{ $order->id }} @endsection @section('content')
Date
{{ $order->created_at->format('F d, Y') }}
Order reference
{{ $order->order_reference }}
Voucher
{{ $order->voucher->code }}
{{ $order->created_at->format('F d, Y \a\t g:i a') }}
| Product Name & Size | Quantity | Price | Tax | Total Amount | Discount | Discount type |
|---|---|---|---|---|---|---|
|
{{ $item->product->name }}
Size : {{ $item->size }} |
{{ $item->quantity }} | {{ number_format($item->unit_price, 2) }} | {{ number_format($item->tax, 2) }} | {{ number_format(($item->total_price * $item->quantity), 2) }} | {{ $item->discount_amount }} | {{ $item->discount_type }} |
|
|
{{ number_format($order->total_amount, 2) }} € |
|
|
-{{ number_format($order->discount_amount, 2) }} € |
|
|
{{ number_format($order->shipping_cost, 2) }} € |
|
|
{{ number_format($order->tax, 2) }} € |
{{ $order->payment_method }}
Transaction ID : {{ $order->transaction_id }}
{{ $order->user->phonenumber }}
{{ $order->getFormattedShippingAddress() }}
Same as shipping address
@else{{ $order->getFormattedBillingAddress() }}