Sales Order #{{$data->invoice_number}}
@if($data->jobsite_apt_unit != '' && $data->jobsite_apt_unit!=null) @endif
BILL TO:
{{$data->name}}
@if($data->company_name != '')
{{$data->company_name}}
@endif
{{$data->customer_street}}
{{$data->customer_city}}, {{$data->customer_state}} {{$data->customer_zipcode}}
SERVICE LOCATION:
{{$data->jobsites_street}}
@if($data->jobsites_city != '')
{{$data->jobsites_city}}, {{$data->jobsites_state}} {{$data->jobsites_zipcode}}
@endif

@if($data->company_name != '')

@endif
DATE: {{$data->sales_date}}
REP: {{$data->rep}}
JOBISTE APT #/ UNIT #:
{{$data->jobsite_apt_unit}}
@if(count($itemdata) > 0) @foreach ($itemdata as $value) @if($value->declined == 0) @endif @if($value->declined == 1) @endif @endforeach @endif
Product Description Warranty Unit Price Qty Disc Total
{{$value->description}} {{$value->name}} {{$value->price}} {{$value->quantity}} {{number_format($value->disc,2)}}% {{$value->extended_price}}
{{$value->description}} {{$value->name}} {{$value->price}} {{$value->quantity}} {{$value->md}}% {{$value->extended_price}}
Comment :
{{$data->comment}}
SubTotal:
{{$data->sub_total}}
@if($data->discount_inf != 0)
Disc Total:
{{$data->total_discount}}
@endif @if($data->coupon_name != '' || $data->couponItem)
Coupon:
{{$data->coupon_name}}
{{$data->coupon_discount}}
@endif @if($data->couponItem) @if(!$data->coupon_name)
Coupon:
@else
@endif {{$data['couponItem']['name']}}
{{$data['couponItem']['coupon']}}
@endif
Total:
{{$data->total}}
Payment:
@foreach ($paymenthistories_others as $item) @if($item['type_code'] == "lost" || $item['type_code'] == "nsf" || $item['type_code'] == "chargeback" || $item['type_code'] == "customer_void") @else @endif @endforeach
{{$item->method}} {{$item->pmt_detail}} {{$item->created_at}} {{$item->amount}}
Wells Fargo {{$paymenthistories_wellfargo[0]['charge_date']}} {{$paymenthistories_wellfargo[0]['amount']}}
Plan
{{$paymenthistories_wellfargo[0]['credit_term_plan_number']}}
Wells Fargo Support
1-800-459-8451
@if(isset($data['payment_overage']) && count($data['payment_overage']) > 0)
Payment overage:
@foreach ($data['payment_overage'] as $item) @endforeach
In Store Credit Created {{$item->created_at}} {{$item->amount}}
@endif
Customer Signature
Total Due:
@if($data->balance_due_inf != 0) {{$data->balance_due}} @else PAID in FULL @endif
{{$systemSeting['phone']}} | {{$systemSeting['email']}} | {{$systemSeting['web_link']}}
{{$systemSeting['pdf_address_1']}}
{{$systemSeting['pdf_address_2']}}
{{$systemSeting['pdf_address_3']}}