@if($result['customer_leadsData']['customers']->customers_firstname) @endif @if($result['customer_leadsData']['customers']->customers_email_address) @endif @if($result['customer_leadsData']['customers']->customers_telephone) @endif @if($result['customer_leadsData']['customers']->alternate_mobile) @endif @if(count((array) $result['customer_leadsData'])>0 && !empty($result['customer_leadsData']->primary_address)) @endif @if(count((array) $result['customer_leadsData'])>0 && !empty($result['customer_leadsData']->same_as_primary_address) && $result['customer_leadsData']->same_as_primary_address == 'Yes') @elseif(count((array) $result['customer_leadsData'])>0 && !empty($result['customer_leadsData']->other_address)) @endif @if($result['customer_leadsData']['products']->name) @endif @if($result['customer_leadsData']['services_plan']->name) @endif @if($result['customer_leadsData']->quantity) @endif @if($result['customer_leadsData']['services_plan']->price) @endif @if($result['customer_leadsData']->quantity) @endif @if(!empty($result['customer_leadsData']->custom_price)) @endif
Name: {{$result['customer_leadsData']['customers']->customers_firstname}} {{$result['customer_leadsData']['customers']->customers_lastname}}
Email: {{$result['customer_leadsData']['customers']->customers_email_address}}
Telephone: {{$result['customer_leadsData']['customers']->customers_telephone}}
Alternate Mobile: {{$result['customer_leadsData']['customers']->alternate_mobile}}
Billing Address:

Address Line1: {{$result['customer_leadsData']->primary_address}},

@if(!empty($result['customer_leadsData']->primary_address2))

Address Line2: {{$result['customer_leadsData']->primary_address2}},

@endif {{$result['customer_leadsData']->p_city}}, @if(!empty($result['customer_leadsData']->p_manual_province_name)) $result['customer_leadsData']->p_manual_province_name @endif @if(count((array) $result['customer_leadsData']['billing_state'])>0) {{$result['customer_leadsData']['billing_state']->zone_name}}, @endif @if(!empty($result['customer_leadsData']->p_postal_code)) {{$result['customer_leadsData']->p_postal_code}}, @endif @if(!empty($result['customer_leadsData']->p_manual_country_name)) {{$result['customer_leadsData']->p_manual_country_name}} @endif @if(count((array) $result['customer_leadsData']['billing_country'])>0) {{$result['customer_leadsData']['billing_country']->countries_name}} @endif
Shipping Address: Same as billing address
Shipping Address:

Address Line1: {{$result['customer_leadsData']->other_address}},

@if(!empty($result['customer_leadsData']->other_address2))

Address Line2: {{$result['customer_leadsData']->other_address2}},

@endif {{$result['customer_leadsData']->o_city}}, @if(!empty($result['customer_leadsData']->o_manual_province_name)) $result['customer_leadsData']->o_manual_province_name @endif @if(count((array) $result['customer_leadsData']['shipping_state'])>0) {{$result['customer_leadsData']['shipping_state']->zone_name}}, @endif @if(!empty($result['customer_leadsData']->o_postal_code)) {{$result['customer_leadsData']->o_postal_code}}, @endif @if(!empty($result['customer_leadsData']->o_manual_country_name)) {{$result['customer_leadsData']->o_manual_country_name}} @endif @if(count((array) $result['customer_leadsData']['shipping_country'])>0) {{$result['customer_leadsData']['shipping_country']->countries_name}} @endif
Product: {{$result['customer_leadsData']['products']->name}}
Services Plan: {{$result['customer_leadsData']['services_plan']->name}} @if(!empty($result['customer_leadsData']['services_plan']->model_number)) with {{$result['customer_leadsData']['services_plan']->model_number}} @endif @if(!empty($result['customer_leadsData']['services_plan']->existing_customer)) {{$result['customer_leadsData']['services_plan']->existing_customer}} @endif with ${{$result['customer_leadsData']['services_plan']->price}} {{$result['customer_leadsData']['services_plan']->packages_currency}}
Quantity: {{$result['customer_leadsData']->quantity}}
Unit Price: ${{number_format($result['customer_leadsData']['services_plan']->price, 2, '.', '')}}
Total Price: ${{number_format($result['customer_leadsData']->quantity*$result['customer_leadsData']['services_plan']->price, 2, '.', '')}}
Custom Unit Price: ${{number_format($result['customer_leadsData']->custom_price, 2, '.', '')}}
Custom Total Price: ${{number_format($result['customer_leadsData']->quantity*$result['customer_leadsData']->custom_price, 2, '.', '')}}