New order received from american plastics web.ORDERID:{{ $orderid ?? 'N/A' }}

CUSTOMER DETAILS

Name: {{ $customername ?? '' }}
Phone: {{ $customerphone ?? '' }}
Address: {{ $customeraddress }}{{ $customeraddresstwo ? ', ' . $customeraddresstwo : '' }}
Order Date: {{ date('F j, Y', strtotime($orderdate)) }}

Order Summary

@foreach($orderItems as $item) @endforeach @if(isset($discountAmount) && $discountAmount > 0) @endif @if(isset($pointsApplied) && $pointsApplied > 0) @endif @if(isset($taxAmount) && $taxAmount > 0) @endif
Item Color Qty Unit Price Total
{{ $item['product_name'] }} {{ $item['settextcolor'] }} {{ $item['quantity'] }} LKR {{ number_format($item['unit_price'], 2) }} LKR {{ number_format($item['total_price'], 2) }}
Subtotal: LKR {{ number_format($totalOrderAmount, 2) }}
Shipping Charges: LKR {{ number_format($totalServiceFee, 2) }}
Discount: - LKR {{ number_format($discountAmount, 2) }}
Points Applied: - LKR {{ number_format($pointsApplied, 2) }}
Tax ({{ $taxPercentage }}%): LKR {{ number_format($taxAmount, 2) }}
Total Amount: LKR {{ number_format($finalamount, 2) }}