{{ $pdf_type == 'receipt' ? 'RECEIPT' : 'INVOICE' }} #
Date:
BG image
Billed To:
@if (preg_replace('/\s+/', '', $data['billed_to']['address']['line1']) != '')
@endif @if (preg_replace('/[,\s]+/', '', $data['billed_to']['address']['line2']) != '')
@endif @if (preg_replace('/\s+/', '', $data['billed_to']['address']['country']) != '')
@endif @if (preg_replace('/\s+/', '', $data['billed_to']['email']) != '')
@endif @if (preg_replace('/\s+/', '', $data['billed_to']['phone']) != '')
@endif
{{ $pdf_type == 'receipt' ? 'Receipt' : 'Invoice' }} From:
Analytical & Precision Specialties
{{ $location_and_taxes && $location_and_taxes->physical_address_1 ? $location_and_taxes->physical_address_1 : '733 W University Dr.' }}
{{ $location_and_taxes && $location_and_taxes->physical_city ? $location_and_taxes->physical_city . ', ' : 'Tempe, ' }} {{ $location_and_taxes && $location_and_taxes->physical_state ? $location_and_taxes->physical_state . ' ' : 'AZ ' }} {{ $location_and_taxes && $location_and_taxes->physical_postcode ? $location_and_taxes->physical_postcode : '85281' }}
{{ $location_and_taxes && $location_and_taxes->physical_country_id_str ? $location_and_taxes->physical_country_id_str : 'United States' }}
{{ $location_and_taxes && $location_and_taxes->email ? $location_and_taxes->email : 'aps@fivepints.com' }}
{{-- table --}}
Launch Plan Total {{--
--}}
@foreach ($data['lines'] as $line) @endforeach
{{ $settings->general_currency_symbol }}{{ number_format($line['amount'] / 100, 2) }}
@if (isset($data['tax'])) @endif
Subtotal {{ $settings->general_currency_symbol }}{{ number_format($data['subtotal'] / 100, 2) }}
Discount {{ $settings->general_currency_symbol }}{{ number_format($data['discount'] / 100, 2) }}
Order Total {{ $settings->general_currency_symbol }}{{ number_format($data['order_total'] / 100, 2) }}
Taxes {{ $settings->general_currency_symbol }}{{ number_format($data['tax'] / 100, 2) }}
GRAND TOTAL {{ $settings->general_currency_symbol }}{{ number_format($data['order_total'] / 100, 2) }}