{{ $nozzle->pump->name ?? 'مضخة ' . $nozzle->pump->id }} - {{ $nozzle->tank->fuelType->name ?? 'وقود' }}
| تاريخ البداية | تاريخ الانتهاء | الكمية (لتر) | الوردية | القائم بالمعايرة | الحالة | الإجراءات |
|---|---|---|---|---|---|---|
|
{{ $calibration->started_at->format('Y-m-d H:i') }}
{{ $calibration->started_at->diffForHumans() }}
|
@if($calibration->completed_at)
{{ $calibration->completed_at->format('Y-m-d H:i') }}
{{ $calibration->completed_at->diffForHumans() }}
@else
-
@endif
|
{{ number_format($calibration->calibrated_volume, 1) }} | @if($calibration->shift_id) وردية #{{ $calibration->shift_id }} @else بدون وردية @endif | {{ $calibration->performedBy->name }} | @php $statusConfig = match($calibration->status) { 'open' => ['text' => 'مفتوحة', 'class' => 'bg-red-100 text-red-800'], 'completed' => ['text' => 'مكتملة', 'class' => 'bg-green-100 text-green-800'], 'completed_with_report' => ['text' => 'مكتملة مع بلاغ', 'class' => 'bg-blue-100 text-blue-800'], default => ['text' => 'غير معروف', 'class' => 'bg-gray-100 text-gray-800'] }; @endphp {{ $statusConfig['text'] }} |
@if($calibration->status === 'open')
@endif
@if($calibration->maintenanceRequest)
البلاغ
@endif
|
|
ملاحظات: {{ $calibration->notes }}
|
||||||