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

Thank you. Your order has been received.

Order Number:

#{{ str_pad($order->id, 6, '0', STR_PAD_LEFT) }}

Date:

{{ $order->created_at->format('F d, Y') }}

Email:

{{ $order->billingInformation->email }}

Mobile Number:

{{ $order->billingInformation->phone_number }}

Total:

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

Payment method:

{{ $order->payment_method }}

ORDER DETAILS

Product
Total
@foreach ($order->orderDetails as $detail)
{{ $detail->product->name }} x{{ $detail->quantity }}
₱{{ number_format($detail->subtotal, 2) }}
@endforeach
Subtotal
₱{{ number_format($order->orderDetails->sum('subtotal'), 2) }}
Shipping
₱{{ number_format($order->shipping_fee, 2) }}
Discounts
-₱{{ number_format($order->discount, 2) }}
Redeem Points Used
-₱{{ number_format($order->redeemed_points, 2) }}
Total
₱{{ number_format($order->total, 2) }}
Payment Method
{{ $order->payment_method }}
Note
{{ $order->notes }}

BILLING ADDRESS

  • {{ $order->billingInformation->first_name }} {{ $order->billingInformation->middle_name }} {{ $order->billingInformation->last_name }}
  • {{ $order->billingInformation->email }}
  • {{ $order->billingInformation->phone }}
  • {{ $order->billingInformation->street_address }}
  • {{ $order->billingInformation->city }}
  • {{ $order->billingInformation->state }}
  • {{ $order->billingInformation->country }}
  • {{ $order->billingInformation->zip_code }}
@include('layouts.footer') @endsection