{{ $asset->name }} @if($asset->status == 'active') نشط @elseif($asset->status == 'maintenance') قيد الصيانة @elseif($asset->status == 'disposed') تم التخلص منه @endif

{{ __('العودة') }} @can('update', $asset) {{ __('تعديل') }} @if($asset->status == 'active') {{ __('تخلص من الأصل') }} @endif @endcan
@if(session('success')) @endif

{{ __('صورة الأصل') }}

@if($asset->image) {{ $asset->name }} @else
بدون صورة
@endif

تكلفة الشراء

{{ number_format($asset->purchase_cost, 2) }} ر.س

الإهلاك المتراكم

{{ number_format($asset->totalDepreciation, 2) }} ر.س

القيمة الحالية

{{ number_format($asset->current_value, 2) }} ر.س

تاريخ الشراء

{{ $asset->purchase_date->format('Y-m-d') }}

{{ __('المعلومات الأساسية') }}

فئة الأصل

{{ $asset->category ? $asset->category->name : '---' }}

المورد

{{ $asset->supplier ?: '---' }}

رمز الأصل

{{ $asset->asset_code }}

الرقم التسلسلي

{{ $asset->serial_number ?: '---' }}

الموديل

{{ $asset->model ?: '---' }}

الحالة

{{ $asset->status == 'active' ? 'نشط' : ($asset->status == 'maintenance' ? 'صيانة' : 'مستبعد') }}

وصف الأصل

{{ $asset->description ?: 'لا يوجد وصف مسجل.' }}

{{ __('سجل الإهلاك') }}

{{ $asset->depreciations->count() }}
@forelse($asset->depreciations->sortByDesc('depreciation_date')->take(5) as $depreciation) @empty @endforelse
التاريخ المبلغ القيمة المتبقية
{{ $depreciation->depreciation_date->format('Y-m-d') }} {{ number_format($depreciation->depreciation_amount, 2) }} {{ number_format($depreciation->book_value, 2) }}
لا يوجد سجلات

تفاصيل إضافية

الموقع

{{ $asset->location ?: 'غير محدد' }}

الشركة المصنعة

{{ $asset->manufacturer ?: '---' }}

@if($asset->warranty_expiry_date)

الضمان

@php $days = round(now()->diffInDays($asset->warranty_expiry_date, false)); @endphp

{{ $days > 0 ? $days : 'منتهي' }}

يوم متبقي

{{ $asset->warranty_expiry_date->format('Y-m-d') }}

تاريخ الانتهاء

@endif @if($asset->notes)

ملاحظات

{{ $asset->notes }}

@endif