Website Logo @if ($order->status == 'completed')

Order Completed

@elseif ($order->status == 'cancelled')

Your Order has been Cancelled

@elseif ($order->status == 'inProcess')

Your Order Is Being Processed

@else

Your Order has been Placed

@endif

Summary

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

Order Date: {{ $order->created_at->format('d/m/Y') }}

Order Total: ${{ number_format($order->grand_total, 2) }}

@if(isset($order->status)) @php $statusColor = ''; $statusText = $order->status; switch (strtolower($order->status)) { case 'inprocess': $statusColor = 'background-color: #f0ad4e; color: white;'; // Yellow-ish color for InProcess $statusText = "In Process"; break; case 'completed': $statusColor = 'background-color: #5cb85c; color: white;'; // Green color for Completed $statusText = "Completed"; break; case 'cancelled': $statusColor = 'background-color: #A42125; color: white;'; // Red color for Cancelled $statusText = "Cancelled"; break; case 'pending': $statusColor = 'background-color:rgb(44, 87, 180); color: white;'; // Blue color for Pending $statusText = "Pending"; break; } @endphp

Order Status: {{ $statusText }}

@endif

Shipping Address

Street Address: {{ $order->street_address }}

City: {{ $order->city }}

State: {{ $order->state }}

Post Code: {{ $order->post_code }}

@foreach ($order->orderMeta as $product) @php $discount = isset($product->product->discountData) ? $product->product->discountData : null; @endphp @endforeach
Item Price Weight (KG) Total
@if(isset($product->product->featured_image)) {{ $product->product_title }} @else
No Image
@endif

{{ $product->product_title }}

@if($discount) ${{ number_format($discount['discounted_price'], 2) }} @else ${{ number_format($product->price, 2) }} @endif {{ $product->quantity }} ${{ number_format($product->qp_subtotal, 2) }}

Subtotal: ${{ number_format($order->subTotal, 2) }}

Shipping: ${{ number_format($order->delivery_charges, 2) }}

@if(isset($order->discountedAmount) && $order->discountedAmount > 0)

Discount Amount: ${{ number_format($order->discountedAmount, 2) }}

@endif

Total GST: ${{ number_format($order->totalGst, 2) }}

Total: ${{ number_format($order->grand_total, 2) }}

© 2025 Sydney Quality Meats. All Rights Reserved.