@extends('collector::layouts.collector') @section('title', 'طلبات التحصيل') @section('header')
إدارة جميع طلبات التحصيل الخاصة بك
| رقم الطلب | المحطة | الشركة | المبلغ | الحالة | تاريخ الإنشاء | الإجراءات |
|---|---|---|---|---|---|---|
| #{{ $collection->id }} | {{ $collection->station->name ?? 'غير محدد' }} | {{ $collection->station->company->name ?? 'غير محدد' }} | {{ number_format($collection->total_amount ?? 0, 2) }} ريال | @php $statusClasses = [ 'pending' => 'bg-yellow-100 text-yellow-800', 'station_confirmed' => 'bg-green-100 text-green-800', 'collector_confirmed' => 'bg-purple-100 text-purple-800', 'deposited' => 'bg-indigo-100 text-indigo-800', 'completed' => 'bg-yellow-100 text-yellow-800', 'cancelled' => 'bg-red-100 text-red-800', ]; $statusLabels = [ 'pending' => 'معلق', 'station_confirmed' => 'مؤكد من المحطة', 'collector_confirmed' => 'مؤكد من المحصل', 'deposited' => 'مودع', 'completed' => 'مكتمل', 'cancelled' => 'ملغي', ]; @endphp {{ $statusLabels[$collection->status] ?? $collection->status }} | {{ $collection->created_at->format('d/m/Y H:i') }} |
عرض
@if($collection->status == 'station_confirmed')
@endif
@if($collection->status == 'collector_confirmed')
إيداع في البنك
@endif
@if($collection->status == 'pending')
تأكيد
إلغاء
@endif
|