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

Order: # {{ $order->id }}

@include('admin.message')

Shipping Address

{{ $order->first_name . ' ' . $order->last_name }}
{{ $order->address }}
{{ $order->city }}, {{ $order->zip }}
Phone: {{ $order->mobile }}
Email: {{ $order->email }}
Invoice #007612

Order ID: {{ $order->id }}
Total: {{ number_format($order->grand_total, 2) }}
Status: @if ($order->status == 'pending') Pending @elseif ($order->status == 'shipped') Shipped @elseif ($order->status == 'delivered') Delivered @else Cancelled @endif
Shipped date: @if ($order->shipped_date) {{ \Carbon\Carbon::parse($order->shipped_date)->format('d M,Y') }} @else N/A @endif
@foreach ($orderItems as $orderItem) @endforeach
Product Price Qty Total
{{ $orderItem->name }} {{ number_format($orderItem->price) }} {{ $orderItem->qty }} {{ number_format($orderItem->total) }}
Subtotal: {{ number_format($order->subtotal, 2) }}
Discount: {{ !empty($order->coupon_code) ? '(' . $order->coupon_code . ')' : '' }} {{ number_format($order->discount, 2) }}
Shipping: {{ number_format($order->shipping, 2) }}
Grand Total: {{ number_format($order->grand_total, 2) }}

Order Status

Send Inovice Email

@endsection @section('customJs') @endsection