image Order Details
@if (session()->has('success_message'))
{{ session()->get('success_message') }}
@endif @if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

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

Order Placed

{{ presentDate($order->created_at) }}

Order ID

{{ $order->id }}

Total

{{ ($order->billing_total) }}

Name

{{ $order->user->name }}

Address

{{ $order->billing_address }}

City

{{ $order->billing_city }}

Discount

{{ $order->billing_discount ?? 0 }}

{{--

Subtotal

{{ ($order->billing_subtotal) }}

--}}

Tax

{{ ($order->billing_tax ?? 0) }}

Total

{{ ($order->billing_total ?? 0) }}

Order Items

@foreach ($products as $product)
@php $imagesArray = json_decode($product->images, true); $firstImage = is_array($imagesArray) ? trim($imagesArray[0], '"') : $product->images; @endphp
{{ $product->name }}
{{ $product->product_title }}
Qty: {{ $product->pivot->quantity }} ₹{{ $product->price }}
@endforeach
@foreach ($products as $product)
@endforeach
Status
{{$orderStatus}}

Billing Details

Order ID

#{{ $order->id }}

Date

{{-- {{ presentDate($order->created_at) }} --}} {{ $order->created_at->format('Y-m-d')}}

{{--

Total

{{ ($order->billing_total) }}

--}}

{{--
--}}

{{ $order->user->name }}

{{ $order->billing_address }}

{{ $order->billing_phone }}

{{ $order->billing_email }}


{{--

Subtotal

{{ ($order->billing_subtotal) }}

--}}

Order Value

{{ ($order->billing_total) }}

Discount

{{ $order->billing_discount ?? 0 }}

Tax

{{ ($order->billing_tax ?? 0) }}


Total

{{ ($order->billing_total) }}