{{ config('constants.COMPANY_NAME') }}

{{ config('constants.PRIMARY_EMAIL') }}

{{ config('constants.PHONE') }}

{{ config('constants.ADDRESS') }}

Order#: {{ $order['order']['order_no'] }}

Date: {{ $order['order']['created_at'] }}

Order Details:

Billing Address Shipping Address
{{ $order['order']['billing_company_name'] }}
{{ $order['order']['billing_first_name'] . ' ' . $order['order']['billing_last_name'] }}
{{ $order['order']['billing_address_line_1'] . ', '. $order['order']['billing_address_line_2'] . ', '. $order['order']['billing_city'] . ', ' . $order['order']['billing_state'] . ', ' . $order['order']['billing_zipcode'] . ' ' . $order['order']['billing_country']}}
{{ $order['order']['billing_phone'] }}
{{ $order['order']['billing_email'] }}
{{ $order['order']['shipping_company_name'] }}
{{ $order['order']['shipping_first_name'] . ' ' . $order['order']['shipping_last_name'] }}
{{ $order['order']['shipping_address_line_1'] . ', '. $order['order']['shipping_address_line_2'] . ', '. $order['order']['shipping_city'] . ', ' . $order['order']['shipping_state'] . ', ' . $order['order']['shipping_zipcode'] . ' ' . $order['order']['shipping_country']}}
{{ $order['order']['shipping_phone'] }}
{{ $order['order']['shipping_email'] }}
{{ !empty($order['order']['fedex_shipping_type']) ? str_replace("_", " ", $order['order']['fedex_shipping_type']) : '' }}
@php $count = 1; $sub_total = 0; $tax_amount = 0; @endphp @foreach ($order['order_items'] as $item) @endforeach
# Part No. Quantity Price Total
{{ $count++ }} {{ $item['product']['manufacturer_part_number'] }} {{ $item['quantity'] }} ${{ $item['price'] }} ${{ $item['quantity'] * $item['price'] }}
SubTotal ${{ $order['sub_total'] }}
GST ${{ $order['tax_amount'] }}
Shipping ({{ str_replace("_", " ", $order['order']['fedex_shipping_type']) }}) ${{ !empty($order['order']['shipping_amount']) ? $order['order']['shipping_amount'] : (!empty($order['order']['pre_shipping_amount']) ? $order['order']['pre_shipping_amount'] : 'As Applicable') }}
Grand Total ${{ $order['total'] }}