@extends('admin.layout.app') @section('content')

Order Details

@if($order->payment_status === 'pending') Pending @elseif($order->payment_status === 'failed') Failed @elseif($order->payment_status === 'refunded') Refunded @else Paid @endif
Order ID : {{$order->order_number ?? ''}}
Total Product : {{$order->orderItems->count()}}
Shipping Cost : {{$order->shipping_cost ?? ''}}{{$order->currency_icon ?? ''}}
Tax : : {{$order->tax ?? ''}}{{$order->currency_icon ?? ''}}
Total Cost : {{$order->pay_amount ?? ''}}{{$order->currency_icon ?? ''}}
Ordered Date : {{ \Carbon\Carbon::parse($order->created_at)->format('d-M-Y h:i:s a') }}
Payment Method : {{$order->payment_method ?? ''}}
Transaction ID : {{$order->txnid ?? ''}}
Payment Status :

Billing Details {{-- Edit--}}

Name : {{$order->customer_name ?? ''}}
Email : {{$order->customer_email ?? ''}}
Phone : {{$order->customer_phone ?? ''}}
Address : {{$order->customer_address ?? ''}}
Country : {{$order->customer_country ?? ''}}
State : {{$order->customer_state ?? ''}}
City : {{$order->customer_city ?? ''}}
Postal Code : {{$order->customer_postal_code ?? ''}}
Coupon Code : {{$order->coupon_code ?? ''}}
{{--
--}} {{--
--}} {{--
--}} {{--

--}} {{-- Shipping Details--}} {{-- Edit--}} {{--

--}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{--
Name::showrav Hasan
Email::user@gmail.com
Phone::01728332009
Address::Dhaka,Bangladesh
Country::Bangladesh
State:dhaka
City::Tangail...
Postal Code::1234
--}} {{--
--}} {{--
--}} {{--
--}}

Add Product Products Ordered By - Pretty And Poised

{{-- --}} {{-- --}} {{-- --}} @foreach($order->orderItems as $item) {{-- @dd($item);--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} @endforeach
Product ID# Shop NameVendor StatusProduct TitleDetailsQty Total PriceAction
{{$item->product_id ?? ''}} {{$item->vendor->detail->shop_name ?? ''}} --}} {{-- {{$item->product->name ?? ''}} --}} {{--

--}} {{-- Size : X--}} {{--

--}} {{--

--}} {{-- Price : 21$--}} {{--

--}} {{--

--}} {{-- Qty : 1--}} {{--

--}} {{--

--}} {{-- Warranty Type : Local seller warranty--}} {{--

--}} {{--

--}} {{-- Brand : Symphony--}} {{--

--}} {{--

--}} {{-- Ram : 1 GB--}} {{--

--}} {{--

--}} {{-- Color Family : Black--}} {{--

--}} {{--
--}} {{-- --}} {{-- {{$item['quantity']}} {{$item['quantity'] * $item['price']}} {{$order->currency_icon ?? ''}} --}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{--
--}} {{--

Shipping Method : {{$order->shipping ?? ''}} | {{$order->shipping_cost ?? ''}}{{$order->currency_icon ?? ''}}

Tax Included : {{$order->tax ?? ''}}{{$order->currency_icon ?? ''}}

Total Amount : {{$order->pay_amount ?? ''}}

@endsection