@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'; @endphp
{{ __('Log activity') }} {{-- Who it was with --}} @if ($opportunity || $organisation)

{{ $opportunity?->title ?? $organisation?->name }}

@if ($opportunity) {{ $organisation?->name }} · {{ __(\App\Models\Opportunity::STAGES[$opportunity->stage] ?? $opportunity->stage) }} @else {{ __('Organisation') }} @endif

@else
@forelse ($matches as $match) @empty

{{ trim($search) === '' ? __('You have no open opportunities. Type to search the organisations.') : __('Nothing matches that search.') }}

@endforelse
@endif
@if ($openTasks->isNotEmpty())
@endif

{{ __('Next action') }}

@if ($needsNext) {{ __('Required: no open opportunity is left without a dated next action. Keep the current one or change it; a change becomes one follow-up task.') }} @else {{ __('Optional. If you give one, it becomes a follow-up task.') }} @endif

{{ __('Close') }} {{ __('Log activity') }} {{ __('Saving…') }}