الرمز: {{ $unit->code }} | التاريخ: {{ now()->format('Y-m-d') }}
القسم: {{ $unit->department->name }}
@endif @if($unit->section)الشعبة: {{ $unit->section->name }}
@endifعدد الأصناف
إجمالي الكمية
عدد الأجهزة
إجمالي الأصناف
| # | اسم المادة | النوع | الكمية | ملاحظات |
|---|---|---|---|---|
| {{ $index + 1 }} | {{ $item->name }} | @if($item->type) {{ $item->type->name }} @else - @endif | {{ $item->quantity }} | {{ $item->details ? Str::limit($item->details, 50) : '-' }} |
| # | الرمز | اسم الجهاز | النوع | الرقم التسلسلي | الحالة | تاريخ الاستلام | ملاحظات |
|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $device->code }} |
{{ $device->name }} | {{ $device->device_type ?? '-' }} | {{ $device->serial_number ?? '-' }} | @php $statusLabels = [ 'active' => ['نشط', 'success'], 'inactive' => ['غير نشط', 'secondary'], 'under_maintenance' => ['تحت الصيانة', 'warning'], 'out_of_service' => ['خارج الخدمة', 'danger'], ]; $status = $statusLabels[$device->status] ?? ['غير محدد', 'secondary']; @endphp {{ $status[0] }} | {{ $device->received_date ? $device->received_date->format('Y-m-d') : '-' }} | {{ $device->notes ? Str::limit($device->notes, 50) : '-' }} |
تم إنشاء التقرير في {{ now()->format('Y-m-d H:i:s') }}