الرمز: {{ $section->code }} | التاريخ: {{ now()->format('Y-m-d') }}
القسم: {{ $section->department->name }}
@endifعدد الأصناف
إجمالي الكمية
إجمالي الأصناف
| # | اسم المادة | النوع | الوحدة | الكمية | ملاحظات |
|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $item->name }} | @if($item->type) {{ $item->type->name }} @else - @endif | {{ $item->unit ? $item->unit->name : '-' }} | {{ $item->quantity }} | {{ $item->details ? Str::limit($item->details, 50) : '-' }} |
| # | الرمز | اسم الجهاز | النوع | الرقم التسلسلي | الوحدة | الحالة | تاريخ الاستلام | ملاحظات |
|---|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $device->code }} |
{{ $device->name }} | {{ $device->device_type ?? '-' }} | {{ $device->serial_number ?? '-' }} | {{ $device->unit ? $device->unit->name : '-' }} | @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') }}