{{-- mainLayouts extends --}} @extends('layouts.contentLayoutMaster') {{-- Page title --}} @section('title', 'Merchant Order Detail') @section('vendor-style') @endsection {{-- page style --}} @section('page-style') @endsection @section('content')
                            @endif
                        
                        | Qr Code | 
                                        @if ($order->qr_code_link)
                                             | 
                                
| Order ID: | {{ $order->display_order_number }} | 
| Created Time: | {{ $order->created_time }} | 
| Merchant Name: | {{ $order->user && $order->user->name ? $order->user->name : '-' }} | 
| Total Price: | {{ $order->total_price }} | 
| Payment Method: | {{ $order->payment_method }} | 
| Payment Type: | {{ $order->paymentMeium->name ?? $order->paymentMeium->name }} | 
| City: | {{ $order->address && $order->address->city ? $order->address->city->name : '-' }} | 
| Township: | {{ $order->address && $order->address->township ? $order->address->township->name : '-' }} | 
| Status: | {{ $order->status }} | 
| Description: | {{ $order->description ?? '-' }} | 
| Delivery Address | {{ $order->address->address ?? '-' }} {{-- @if ($order->delivery_address) @else - @endif --}} | 
| Phone No | @if ($order->user) {{ $order->user->phone_number ?? $order->user->phone_number }} @else - @endif | 
| # | Proudct Type | Proudct Model | Price | Quantity | Discount Price | ||
|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} | {{ $orderDetail->product->category->name ?? null }} | {{ $orderDetail->product->model ?? null }} | {{ $orderDetail->price ?? null }} | {{ $orderDetail->quantity ?? null }} | {{ $orderDetail->discount_price && $orderDetail->discount_price != 0? $orderDetail->discount_price: $orderDetail->price }} | {{--remove_red_eye | --}}|
| No Order Found! | |||||||
{!! nl2br(stripcslashes($order->remark)) !!}