@php $tz = config('app.display_timezone'); $late = $opportunity->isOpen() && $opportunity->next_action_due && $opportunity->next_action_due->toDateString() < now($tz)->toDateString(); @endphp
{{ __('Next action') }}
{{ $opportunity->next_action ?: __('None recorded') }} @if ($opportunity->next_action_due) · {{ $opportunity->next_action_due->format('D j M Y') }} @endif
@if ($late){{ __('The date has passed. Complete it and set the next one, or reschedule it with a reason.') }}
@endif| {{ __('Due') }} | {{ __('Task') }} | {{ __('Assigned to') }} | {{ __('Actions') }} |
|---|---|---|---|
| @if ($task->due_at) {{ $task->due_at->copy()->timezone($tz)->format(\App\Services\Crm\TaskService::isDateOnly($task->due_at) ? 'D j M' : 'D j M, H:i') }} @else {{ __('No date') }} @endif |
{{ $task->title }} {{ __(\App\Models\Crm\Task::TYPES[$task->type] ?? $task->type) }} @if ($task->reschedule_count > 0) · {{ trans_choice('{1} rescheduled once|[2,*] rescheduled :count times', $task->reschedule_count, ['count' => $task->reschedule_count]) }} @endif |
{{ $task->assignee?->name ?? __('Nobody') }} |
@if ($canEdit)
|
|
|
|||
{{ $task->status === 'cancelled' ? __('Cancelled') : __('Outcome') }}: {{ $task->outcome }}
@endif