SummaryOrder #: {{ $order->id }} Order Date: {{ $order->created_at->format('d/m/Y') }} Order Total: ${{ number_format($order->grand_total, 2) }} @if(isset($status)) @php $statusColor = ''; switch (strtolower($status)) { case 'inprocess': $statusColor = 'background-color: #f0ad4e; color: white;'; // Yellow-ish color for InProcess $status="In Process"; break; case 'completed': $statusColor = 'background-color: #5cb85c; color: white;'; // Green color for Completed $status="Completed"; break; case 'cancelled': $statusColor = 'background-color: #A42125; color: white;'; // Red color for Cancelled $status="Cancelled"; break; case 'pending': $statusColor = 'background-color:rgb(44, 87, 180); color: white;'; // Red color for Cancelled $status="Pending"; break; } @endphpOrder Status: {{ $status }} @endif |
Shipping AddressStreet Address: {{ $order->street_address }} City: {{ $order->city }} State: {{ $order->state }} Post Code: {{ $order->post_code }} |
Item | Price | Weight (KG) | Total | |
---|---|---|---|---|
{{ $product->product_title }} |
@php
$discount=$product->product->discountData;
@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) }}
Total GST: ${{ number_format($order->totalGst, 2) }}
Total: ${{ number_format($order->grand_total, 2) }}
© 2025 Sydney Quality Meats. All Rights Reserved.