@push('styles') @endpush
@csrf
{!! $errors->has('name') ? '' : '' !!}
{!! $errors->has('last_name') ? '' : '' !!}
{!! $errors->has('phone') ? '' : '' !!}
{!! $errors->has('email') ? '' : '' !!}
{!! $errors->has('birthdate') ? '' : '' !!}
{!! $errors->has('address') ? '' : '' !!}
{!! $errors->has('city') ? '' : '' !!}
{!! $errors->has('state') ? '' : '' !!}
{!! $errors->has('zipcode') ? '' : '' !!}
{!! $errors->has('custom_field1') ? '' : '' !!}
{!! $errors->has('custom_field2') ? '' : '' !!}
{!! $errors->has('custom_field3') ? '' : '' !!}
{!! $errors->has('custom_field4') ? '' : '' !!}
{!! $errors->has('custom_field5') ? '' : '' !!}
{!! $errors->has('tags') ? '' : '' !!}
{!! $errors->has('quote') ? '' : '' !!}
@php $contactData = getContactPhoneData($contact->id); @endphp

@php $totalOptedOut = $trainOptedOut = 0; @endphp @foreach($contactData as $cdata) @php $disabled = ''; if($userAccessId): $disabled = ''; elseif($cdata['train_opted_out'] == 3): $disabled = 'disabled="disabled"'; $trainOptedOut++; else: $disabled = ''; endif; $totalOptedOut++; @endphp
@if(!empty($disabled)) @endif
@endforeach @if($contact->status == 10)
This lead opted out due to affiliate marketing violation
@endif