@php $tz = config('app.display_timezone'); $select = 'mt-1 block w-full rounded-xl border-slate-300 text-sm shadow-sm focus:border-indigo-500 focus:ring-indigo-500'; $statusColor = ['draft' => 'amber', 'confirmed' => 'sky', 'completed' => 'emerald']; $attendeeIcon = ['user' => 'user', 'contact' => 'user-circle', 'other' => 'users']; $tagLists = [ 'need' => ['label' => __('Need tags'), 'tags' => $needTags, 'input' => 'needTagInput', 'chip' => 'bg-indigo-50 text-indigo-700', 'hint' => __('e.g. banners, annual report')], 'competitor' => ['label' => __('Competitors mentioned'), 'tags' => $competitorTags, 'input' => 'competitorTagInput', 'chip' => 'bg-rose-50 text-rose-700', 'hint' => __('e.g. a rival printer')], ]; @endphp
{{ $note->outcome }}
{{ $note->status === 'draft' ? __('Each action becomes a task for the person named when the note is confirmed.') : __('Each action is a task. New actions become tasks when you save.') }}
{{ $action['text'] }}
{{ $task?->assignee?->name ?? __('Unknown') }} · {{ __('due :date', ['date' => $task?->due_at?->copy()->timezone($tz)->format('j M Y') ?? $action['due']]) }} · {{ __(\App\Models\Crm\Task::STATUSES[$task?->status ?? 'open'] ?? '') }}
@if ($task && $task->outcome){{ __('Outcome') }}: {{ $task->outcome }}
@endif{{ $action['text'] }}
{{ optional($members->firstWhere('id', $action['assignee_id']))->name ?? __('Nobody') }} · {{ $action['due'] }} · {{ __('Not yet a task') }}
{{ __('No actions yet.') }}
@endif @if ($canEdit){{ $note->raw_notes }}