@extends('layouts.master') @section('title') {{ $asset->name }} @endsection @section('page-header')
@endsection @section('content') @include('financial_years.partials.alerts') @php $accumulated = $asset->accumulated(); @endphp| التكلفة | {{ number_format($asset->cost, 2) }} |
|---|---|
| القيمة التخريدية | {{ number_format($asset->salvage_value, 2) }} |
| العمر الإنتاجي | {{ $asset->useful_life_months }} شهر |
| القسط الشهري | {{ number_format($asset->monthlyAmount(), 2) }} |
| بداية الإهلاك | {{ $asset->depreciation_start_date }} |
| الإهلاك المتراكم | {{ number_format($accumulated, 2) }} |
| القيمة الدفترية | {{ number_format($asset->cost - $accumulated, 2) }} |
| حساب الأصل | {{ optional($asset->assetAccount)->name }} |
| مجمع الإهلاك | {{ optional($asset->accumulatedAccount)->name }} |
| مصروف الإهلاك | {{ optional($asset->expenseAccount)->name }} |
| الحالة | {{ $asset->status === 'disposed' ? 'مستبعد بتاريخ ' . $asset->disposed_at . ' — المتحصلات ' . number_format($asset->disposal_proceeds, 2) : 'نشط' }} |
| الشهر | القسط | المجمع | القيمة الدفترية | الحالة |
|---|---|---|---|---|
| {{ $row->period }} | {{ number_format($row->amount, 2) }} | {{ number_format($row->accumulated, 2) }} | {{ number_format($row->book_value, 2) }} | {!! $row->posted ? 'مُرحّل' : 'متوقع' !!} |