@extends('Admin.layout') @section('content')

{{ ucfirst($order->address->f_name)}}

User ID : UID0{{ $order->user->id }}
Order ID : {{ $order->order_id }} Date :{{ $order->created_at->format('d/m/Y') }}
User Details
User ID
:
UID0{{ $order->user->id }}
Phone
:
{{ $order->user->phone_number }}
Shipping Address
Name
:
{{ ucwords($order->address->f_name . ' ' . $order->address->l_name) }}
User ID
:
UID0{{ $order->user->id }}
Phone
:
{{ $order->address->phone }}
Email Address
:
{{ $order->address->email }}
Address
:
{{ $order->address->address }},
{{ $order->address->district }},
{{ $order->address->state }},
{{ $order->address->pincode }}
Product Details
@foreach ($order->items as $index => $item) @endforeach
S NO PRODUCT NAME CATEGORY UNITS PRICE QTY TOTAL
{{ $index + 1 }} {{ ucwords($item->product_name) }} {{ ucwords($item->category_name) }} {{ $item->unit_value }} ₹{{ number_format($item->selling_price, 2) }} {{ $item->quantity }} ₹{{ number_format($item->selling_price * $item->quantity, 2) }}
Total ₹{{ number_format($order->total_amount - $order->tax, 2) }}
Payment Details
Subtotal ₹{{ number_format($order->total_amount - $order->tax, 2) }}
Tax + ₹{{ number_format($order->tax, 2) }}
Shipping Charge + ₹{{ number_format($order->shipping, 2) }}

Grand Total ₹{{ number_format($order->total_amount, 2) }}
@endsection