@php
$statusText = match($cashCollection->status) {
'pending' => 'في الانتظار',
'approved' => 'معتمد',
'rejected' => 'مرفوض',
'in_progress' => 'قيد التنفيذ',
'awaiting_confirmation' => 'بانتظار التأكيد',
'completed' => 'مكتمل',
default => 'غير معروف'
};
$statusColor = match($cashCollection->status) {
'pending' => 'text-yellow-600 bg-yellow-50 border-yellow-200',
'approved' => 'text-green-600 bg-green-50 border-green-200',
'rejected' => 'text-red-600 bg-red-50 border-red-200',
'in_progress' => 'text-blue-600 bg-blue-50 border-blue-200',
'awaiting_confirmation' => 'text-purple-600 bg-purple-50 border-purple-200',
'completed' => 'text-green-600 bg-green-50 border-green-200',
default => 'text-gray-600 bg-gray-50 border-gray-200'
};
@endphp
{{ $statusText }}
@if($cashCollection->status === 'pending' && Auth::user()->user_type === 'station_manager')
@endif
@if($cashCollection->status === 'in_progress')
@endif