@extends('layouts.admin-simple') @section('title', 'Depreciation Schedule') @section('breadcrumb')
{{ $asset->asset_code }} - {{ $asset->asset_name }}
| Asset Code | {{ $asset->asset_code }} |
| Name | {{ $asset->asset_name }} |
| Category | {{ $asset->category ? $asset->category->category_name : '-' }} |
| Purchase Date | {{ $asset->purchase_date ? $asset->purchase_date->format('M d, Y') : '-' }} |
| Method | {{ ucfirst(str_replace('_',' ', $asset->depreciation_method ?? 'straight_line')) }} |
| Useful Life | {{ $asset->useful_life_months ?? 0 }} months |
| Depreciable Amount | AED {{ number_format(($asset->purchase_price ?? 0) - ($asset->salvage_value ?? 0), 2) }} |
| Monthly Depreciation | @php $depreciable = ($asset->purchase_price ?? 0) - ($asset->salvage_value ?? 0); $monthly = ($asset->useful_life_months ?? 0) > 0 ? $depreciable / $asset->useful_life_months : 0; @endphp AED {{ number_format($monthly, 2) }} |
| # | Period | Opening Book Value | Depreciation Amount | Accumulated Depreciation | Closing Book Value |
|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ $period->period_label ?? ($period->year . '-' . str_pad($period->month, 2, '0', STR_PAD_LEFT)) }} @if($period->is_current ?? false) Current @endif | AED {{ number_format($period->opening_book_value ?? 0, 2) }} | AED {{ number_format($period->depreciation_amount ?? 0, 2) }} | AED {{ number_format($period->accumulated_depreciation ?? 0, 2) }} | AED {{ number_format($period->closing_book_value ?? 0, 2) }} |
| No depreciation schedule available. Run depreciation calculation to generate. | |||||