@php $typeColors = [ 'زواج' => 'bg-pink-50 text-pink-600 border-pink-100', 'خطوبة' => 'bg-purple-50 text-purple-600 border-purple-100', 'عقد' => 'bg-blue-50 text-blue-600 border-blue-100', 'سماية' => 'bg-cyan-50 text-cyan-600 border-cyan-100', 'عزاء' => 'bg-gray-100 text-gray-600 border-gray-200', ]; $typeIcons = [ 'زواج' => 'fa-rings-wedding', 'خطوبة' => 'fa-ring', 'عقد' => 'fa-file-signature', 'سماية' => 'fa-baby', 'عزاء' => 'fa-hands-praying', ]; $colorClass = $typeColors[$occasion->event_type] ?? 'bg-gray-50 text-gray-600'; $icon = $typeIcons[$occasion->event_type] ?? 'fa-star'; @endphp
{{ $occasion->created_at->format('Y-m-d') }}