Customer


@if ($isCompany) @else @endif @forelse ($data as $item) @php $item = (object) $item; $type = "-"; if ($item->customer_type == 1) $type = 'Average'; if ($item->customer_type == 2) $type = 'Budget Friendly'; if ($item->customer_type == 3) $type = 'Luxury'; $country = "-"; if(!empty($item->billing_address)){ $explode = explode(',', $item->billing_address); $country = empty($explode[6])?"United State":trim($explode[6]); } $hear_from = "-"; if(!empty($item->hear_from) && $item->hear_from != 'null'){ $hear_from = $item->hear_from; } @endphp @if ($isCompany) @else @endif @empty @endforelse
Company Name Billing First Name Billing Last Name Billing Country Billing Zip Billing Email Billing Phone Number How you found US Lifetime valueFirst Name Last Name Country Billing Zip Email Phone Number Customer Type How you found US Lifetime value
{{$item->company}} {{$item->first_name}} {{$item->last_name}} {{$item->country}} {{$item->bill_zip_code}} {{$item->email}} {{$item->phone_number}} {{ $hear_from }} $ {{ float_value($item->lifetime_value) }}{{$item->first_name}} {{$item->last_name}} {{$country}} {{$item->bill_zip_code}} {{$item->email}} {{$item->phone_number}} {{$type}} {{ $hear_from }} $ {{ float_value($item->lifetime_value) }}
No Data