@extends('frontend.layout.applayout') @section('title', 'order-details') @section('main-content')
@include('components.customer-profile')

Order Information
Order Date {{ $order->created_at->format('Y-m-d H:i:s A') }}
Order Status {{ $order->status }}
Shops -|-
Account Information
Company Name {{ $order->company_name }}
Contact Customer {{ $order->customer_name }}

@foreach ($order->items as $key => $item) @endforeach
Sl images Product Name SKU Quantity Price Grand Total
{{ $key + 1 }} @if (count($item->product->images)) @else @endif {{ $item->name }} {{ $item->sku }} {{ $item->quantity }} ${{ $item->price }} ${{ $item->total_amount }}
Subtotal - ${{ number_format($order->total_amount ?? 0, 2) }}
Tax - ${{ number_format($order->tax_total ?? 0, 2) }}
Discount - ${{ number_format($order->discount_amount ?? 0, 2) }}
Grand Total - ${{ number_format($order->grand_total ?? 0, 2) }}
@push('scripts') @endpush @endsection