@php $consentColours = ['granted' => 'emerald', 'withdrawn' => 'rose', 'unknown' => 'slate']; $stageColour = fn (string $stage): string => match ($stage) { 'won' => 'emerald', 'lost' => 'rose', 'deferred' => 'amber', default => 'sky', }; @endphp
{{ __('Reaching them') }}
{{ __('No way to reach them is recorded yet.') }}
@endif{{ __('Marketing consent') }}
{{ __('Left out of every marketing list and export.') }}
@endif{{ __('Notes') }}
{{ $contact->notes ?: __('Nothing noted.') }}
{{ __('Added :date by :name', ['date' => $contact->created_at?->timezone(config('app.display_timezone'))->format('j M Y'), 'name' => $contact->creator?->name ?? __('an import or the system')]) }}
{{ __('Deals this person is involved in.') }}
{{ $opportunity->owner?->name ?? __('No owner') }}@if ($opportunity->pivot->role) · {{ $opportunity->pivot->role }}@endif
{{ __('The latest calls, messages and meetings logged with this person.') }}
{{ __($types[$entry->type] ?? ucfirst((string) $entry->type)) }} · {{ $entry->occurred_at?->timezone(config('app.display_timezone'))->format('j M Y') ?? __('Date not recorded') }} · {{ $entry->user?->name ?? __('System') }}
@if ($entry->body){{ $entry->body }}
@endif