@extends('../backend/layout/' . $layout) @section('subhead') Order Detail @endsection @section('subcontent')

Order Details

ORDER
Order No. {{ $order->order_no }}
{{ Helper::dateFormat($order->created_at) }}
{{ $order->customer->full_name }}
{{ $order->customer->email }}
{{ $order->billingAddress->phone }}
Billing Address
{{ $order->billingAddress->full_name }}
{{ $order->billingAddress->full_address }}
{{ $order->billingAddress->phone }}
Shipping Address
{{ $order->shippingAddress->full_name }}
{{ $order->shippingAddress->full_address }}
{{ $order->shippingAddress->phone }}
edit
@foreach ($order->orderDetail as $orderDetail) @endforeach @if ($order->coupon_amount) @endif
DESCRIPTION QTY PRICE SUBTOTAL
{{ $orderDetail->product->name }}
{{ $orderDetail->variant->name ?? '' }}
@if ($orderDetail->coupon_amount)
Discount
@endif @if ($orderDetail->bulk_discount_amount)
Builk Discount
@endif
{{ $orderDetail->quantity }} @currency($orderDetail->product_price) @currency($orderDetail->product_price * $orderDetail->quantity) @if ($orderDetail->coupon_amount)
- @currency($orderDetail->coupon_amount)
@endif @if ($orderDetail->bulk_discount_amount)
- @currency($orderDetail->bulk_discount_amount)
@endif
Discount - @currency($order->coupon_amount)
Delivery Charge + @currency($order->delivery_amount)
{{--
Bank Transfer
Elon Musk
Bank Account : 098347234832
Code : LFT133243
--}}
Total Amount
@currency($order->total_amount)
Taxes included
@csrf @method('PUT')
Payment method: {{ App\Models\Order::PAYMENT_METHOD[$order->payment_method] }}
Payment status: {{ App\Models\Order::PAYMENT_STATUS[$order->payment_status] }}
@if (!$order->invoice_no)
@csrf
@else View Invoice @endif
@if ($order->note)

Order note

{{ $order->note }}

@endif

Timelines

@csrf
@foreach ($order->timelines as $timeline)
{{ $timeline->user->full_name }}
{{ $timeline->created_at->diffForHumans() }}
@if (!$timeline->is_comment) Order {{ $timeline->notes }} @else {!! Helper::parseURL($timeline->notes) !!} @endif
@endforeach
@include('backend/order/edit_address_model') @endsection @section('script') @endsection