{{-- GÖREV DETAY MODALI — new-week Livewire bileşeninden include edilir --}} @if ($active_task) @php $modalIsOpen = $active_task->status === 'new'; $modalDate = $active_task->date ? \Carbon\Carbon::parse($active_task->date) : null; $modalOtherTeamMembers = array_values( array_filter($teamMembers, fn($member) => $member['id'] !== auth()->id()), ); $toolbarButton = 'inline-flex items-center gap-1.5 p-2.5 text-sm font-medium rounded-md border border-stone-200 transition-colors disabled:opacity-50 disabled:cursor-not-allowed'; // Tailwind, çalışırken üretilen sınıf adlarını göremez; hepsi burada // düz metin olarak durmak zorunda. $modalColors = [ '' => [ 'label' => 'Renk yok', 'swatch' => 'bg-stone-200', 'check' => 'text-stone-600', 'frame' => 'border-stone-200', 'field' => 'bg-white', ], 'rose' => [ 'label' => 'Kırmızı', 'swatch' => 'bg-rose-600', 'check' => 'text-white', 'frame' => 'border-rose-500', 'field' => 'bg-rose-50', ], 'amber' => [ 'label' => 'Sarı', 'swatch' => 'bg-amber-600', 'check' => 'text-white', 'frame' => 'border-amber-500', 'field' => 'bg-amber-50', ], 'lime' => [ 'label' => 'Yeşil', 'swatch' => 'bg-lime-600', 'check' => 'text-white', 'frame' => 'border-lime-500', 'field' => 'bg-lime-50', ], 'teal' => [ 'label' => 'Turkuaz', 'swatch' => 'bg-teal-600', 'check' => 'text-white', 'frame' => 'border-teal-500', 'field' => 'bg-teal-50', ], 'sky' => [ 'label' => 'Mavi', 'swatch' => 'bg-sky-600', 'check' => 'text-white', 'frame' => 'border-sky-500', 'field' => 'bg-sky-50', ], 'violet' => [ 'label' => 'Mor', 'swatch' => 'bg-violet-600', 'check' => 'text-white', 'frame' => 'border-violet-500', 'field' => 'bg-violet-50', ], 'slate' => [ 'label' => 'Gri', 'swatch' => 'bg-slate-600', 'check' => 'text-white', 'frame' => 'border-slate-500', 'field' => 'bg-slate-50', ], ]; $modalColorValue = $active_task->color ?? ''; if (!isset($modalColors[$modalColorValue])) { $modalColorValue = ''; } $modalColor = $modalColors[$modalColorValue]; @endphp
{{ $error }}
@endforeach{{ $note->content }}
@if ((int) $note->user_id === (int) auth()->id()){{ $msg->subject ?: '(konu yok)' }}
{{ $inv->company?->name ?? 'Firma yok' }} · {{ str_starts_with($inv->type, 'sales') ? 'Satış' : 'Alış' }} · {{ $inv->currency != 'TRL' ? $inv->ex_amount : $inv->total_amount }} {{ $inv->currency }}