@extends('admin.layouts.app') @section('title', 'Order Details') @section('page_css') @endsection @section('section')
| #{{$order->order_no}} | |
| {{date('d-M-Y',strtotime($order->created_at))}} | |
| --}} {{-- | Flat Shipping Rate | --}} {{--
| @if($order->customer_id == null) {{$order->customer_name}} @else {{$order->customer->first_name.' '.$order->customer->last_name}} @endif | |
| @if($order->customer_id == null) {{$order->customer_email}} @else {{$order->customer->user->email}} @endif | |
| @if($order->customer_id == null) {{$order->phone_no ?? ''}} @else {{$order->customer->phone_no ?? ''}} @endif | |
| {{$order->customer->company ?? ''}} |
| Payment Address | Shipping Address |
|
Name : {{$order->customer_name ?? ''}}
Address : {{$order->billing_address_1 ?? ''}} {{$order->billing_address_2 ?? ''}} City : {{$order->billing_city}} State : {{$order->billing_state}} Country : {{$order->billing_country}} Zip Code : {{$order->billing_zip}} |
Name
: {{$order->shipping_first_name ?? $order->customer_name}} {{$order->shipping_last_name ?? ''}}
Address : {{$order->shipping_address_1 ?? $order->billing_address_1}} {{$order->shipping_address_2 ?? $order->billing_address_2}} City : {{$order->shipping_city ?? $order->billing_city}} State : {{$order->shipping_state ?? $order->billing_state}} Country : {{$order->shipping_country ?? $order->billing_country}} Zip Code : {{$order->shipping_zip ?? $order->billing_zip}} |
| # | Item | Price | Qty | Color | Total |
|---|---|---|---|---|---|
| {{$counter++}} |
{{ $orderItems->product ? $orderItems->product->product_name : ''}}
@forelse($orderItems->orderOptions as $option) {{ removeColon($option->option_name)}} : {{ $option->option_value}} @empty @endforelse |
${{$orderItems->product_per_price}} | {{$orderItems->product_qty}} | {{ $orderItems->color!=null ? $orderItems->color : '-' }} | ${{$orderItems->product_per_price*$orderItems->product_qty}} |
| Subtotal | ${{$order->sub_total}} |
| Discount | ${{$order->discount}} |
| Shipping Rate | ${{$order->shipping_cost}} |
| Tax | ${{$order->tax}} |
| Total | ${{$order->total_amount}} |