Phone numbers
@can('solicitors.edit')
@endcan
Managed Twilio numbers for voice calls, SMS, and WhatsApp per line type.
@error('general')
{{ $message }}
@enderror
@if($this->phoneNumbers->count())
@foreach($this->phoneNumbers as $number)
{{ $number->phone_number }}
@if(!$number->is_active)
inactive
@endif
@if($number->is_primary)
Primary
@endif
@if($number->label)
{{ $number->label }}
@endif
@if($number->type)
{{ $number->type->name }}
@endif
@foreach($number->capabilities ?? [] as $cap)
@if($cap === 'voice')
Voice
@elseif($cap === 'sms')
SMS
@elseif($cap === 'whatsapp')
WhatsApp
@endif
@endforeach
@can('solicitors.edit')
@endcan
@endforeach
@else
No phone numbers configured.
Add a Twilio number to enable voice and messaging for this solicitor.
@endif
@if($showForm)