@section('title') Contacts @endsection @section('breadcrumbs') {{ Breadcrumbs::render('contacts.edit', $contact) }} @endsection

Edit Contact

Back @if(getPhoneDialerData() && $auth_user->textdrip_dialer) @else @endif
@csrf

{!! $errors->has('name') ? '' : '' !!}
{!! $errors->has('last_name') ? '' : '' !!}
{!! $errors->has('phone') ? '' : '' !!}
{!! $errors->has('email') ? '' : '' !!}
{!! $errors->has('birthdate') ? '' : '' !!}
@php $defaultTimezone = !empty(old('timezone', $contact->timezone)) ? old('timezone', $contact->timezone) : getDefaultTimezone(); @endphp
{!! $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('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

@foreach($contactData as $cdata)
@endforeach

@foreach($contactData as $cdata)
@endforeach
@push('scripts') @include('pages.inbox.chatDrawer',["phones"=>$userNumbers]) @endpush