SummaryOrder #: {{ $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; } @endphpOrder Status: {{ $statusText }} @endif |
Shipping AddressStreet Address: {{ $order->street_address }} City: {{ $order->city }} State: {{ $order->state }} Post Code: {{ $order->post_code }} |
Item | Price | Weight (KG) | Total |
---|---|---|---|
@if(isset($product->product->featured_image))
No Image
@endif
{{ $product->product_title }} |
@php
$discount = isset($product->product->discountData) ? $product->product->discountData : null;
@endphp
@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) }}
@endifTotal GST: ${{ number_format($order->totalGst, 2) }}
Total: ${{ number_format($order->grand_total, 2) }}
© 2025 Sydney Quality Meats. All Rights Reserved.