@extends('layouts.main-app') @section('title', 'Home') @section('content') @include('layouts.navbar')

Thank you. Your order has been received.

Order Number:

{{ $order->order_no }}

Date:

{{ \Carbon\Carbon::parse($order->created_at)->format('F j, Y') }}

Email:

{{ $order->billing_email }}

Total:

₱{{ number_format($order->total_amount, 2) }}

Payment method:

{{ $order->payment_method }}

ORDER DETAILS

@foreach ($order->orderItems as $item) @endforeach
Product Price
{{ $item->product_name }} x {{ $item->quantity }} ₱{{ number_format($item->price, 2) }}
Subtotal ₱{{ number_format($order->total_amount, 2) }}
Shipping ₱{{ number_format($order->shipping_cost, 2) }}
Discounts -₱{{ number_format($order->discount, 2) }}
Tax ₱{{ number_format($order->tax, 2) }}
Total ₱{{ number_format($order->total_amount, 2) }}
Payment Method {{ $order->payment_method }}
Note {{ $order->order_notes }}

BILLING ADDRESS

{{ $order->billing_first_name }} {{ $order->billing_last_name }}

{{ $order->billing_email }}

{{ $order->billing_phone }}

{{ $order->billing_address }}

{{ $order->billing_city }}

{{ $order->billing_state }}

{{ $order->billing_country }}

{{ $order->billing_postal_code }}

SHIPPING ADDRESS

{{ $order->shipping_first_name }} {{ $order->shipping_last_name }}

{{ $order->shipping_email }}

{{ $order->shipping_phone }}

{{ $order->shipping_address }}

{{ $order->shipping_city }}

{{ $order->shipping_state }}

{{ $order->shipping_country }}

{{ $order->shipping_postal_code }}

@include('layouts.footer') @endsection