{{ t('contact') }}
@if (checkPermission('tenant.contact.create')) {{ t('new_contact_button') }} @endif @if (checkPermission('tenant.contact.bulk_import')) {{ t('import_contact') }} @endif
@if (isset($this->isUnlimited) && $this->isUnlimited) {{ t('unlimited') }} @elseif(isset($this->remainingLimit) && isset($this->totalLimit)) @endif
{{ t('cancel') }} {{ t('delete') }}
{{-- View Contact Modal --}}

{{ $contact ? "#{$contact->id} - {$contact->firstname} {$contact->lastname}" : t('contact_details') }}

{{ t('name') }}

{{ $contact ? "{$contact->firstname} {$contact->lastname}" : '-' }}

{{ t('status') }}
{{ $contact->status->name ?? '-' }}
{{ t('source') }}

{{ $contact->source->name ?? '-' }}

{{ t('assigned') }}

{{ $contact && $contact->user ? "{$contact->user->firstname} {$contact->user->lastname}" : '-' }}

{{ t('company') }}

{{ isset($contact) && $contact->company ? $contact->company : '-' }}

{{ t('type') }}

{{ ucfirst($contact->type ?? '-') }}

{{ t('email') }}

{{ isset($contact) && $contact->email ? $contact->email : '-' }}

{{ t('website') }}

{{ isset($contact) && $contact->website ? $contact->website : '-' }}

{{ t('city') }}

{{ isset($contact) && $contact->city ? $contact->city : '-' }}

{{ t('state') }}

{{ isset($contact) && $contact->state ? $contact->state : '-' }}

{{ t('country') }}

{{ get_country_name($contact->country_id) ? get_country_name($contact->country_id) : '-' }}

{{ t('zip_code') }}

{{ isset($contact) && $contact->zip ? $contact->zip : '-' }}

{{ t('description') }}

{{ isset($contact) && $contact->description ? $contact->description : '-' }}

{{ t('address') }}

{{ isset($contact) && $contact->address ? $contact->address : '-' }}

    @forelse($notes as $note)
  1. {{ \Carbon\Carbon::parse($note['created_at'])->diffForHumans(['options' => \Carbon\Carbon::JUST_NOW]) }}
    {{ $note['notes_description'] }}
  2. @empty

    {{ t('no_notes_available') }}

    @endforelse