{{-- KART MENU --}}
@if ($dailyTasks->count() > 1)
{{-- Dropdown Menu --}}
@unless ($today->isToday())
@endunless
@endif
{{-- KARTLAR --}}
@foreach ($dailyTasks->where('status', 'new') as $task)
@php
// Drag and drop is enabled for everyone (creator, assignee, team members)
$canDrag = true;
@endphp
{{-- ASSIGNED USER BADGE - TOP POSITION --}}
@if ($task->assignedUser)
@if (auth()->id() !== $task->user_id && auth()->id() !==
$task->assigned_to)
{{ $task->assignedUser->name }}
@endif
@if (auth()->id() == $task->user_id)
Sizarrow_forward
{{ $task->assignedUser->name }}
@endif
@if (auth()->id() == $task->assigned_to)
{{-- Current user is the assigner - show right arrow --}}
{{ $task->creator->name }}
arrow_forwardSiz
@endif
@endif
{{-- Başlık varsa ("Görev" placeholder'ı boş sayılır) başlık, yoksa not --}}