@extends('layouts.admin-simple') @section('title', 'Asset Depreciation') @section('breadcrumb') @endsection @section('page-title')

Depreciation Dashboard

Overview of fixed asset depreciation

@can('warehouse.fixed-asset-depreciation.calculate') @endcan
@endsection @section('content') @if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
Clear
business_center

{{ $summary['total_assets'] ?? 0 }}

Total Assets
attach_money

AED {{ number_format($summary['total_purchase_value'] ?? 0, 2) }}

Total Purchase Value
trending_down

AED {{ number_format($summary['total_accumulated_depreciation'] ?? 0, 2) }}

Accumulated Depreciation
account_balance

AED {{ number_format($summary['total_book_value'] ?? 0, 2) }}

Current Book Value
trending_downAsset Depreciation Records
@forelse($records as $i => $rec) @empty @endforelse
#Asset CodeAsset NameCategoryPurchase PriceAccum. Depr.Book ValueMethodUseful LifeActions
{{ $records->firstItem() + $i }} {{ $rec->asset_code }} {{ $rec->asset_name }} {{ $rec->category ? $rec->category->category_name : '-' }} AED {{ number_format($rec->purchase_price ?? 0, 2) }} AED {{ number_format($rec->accumulated_depreciation ?? 0, 2) }} AED {{ number_format($rec->current_book_value ?? 0, 2) }} {{ ucfirst(str_replace('_',' ', $rec->depreciation_method ?? 'straight_line')) }} {{ ($rec->useful_life_years ?? 0) * 12 }} mo visibility
No depreciation records found.
@if($records->hasPages()) @endif
@endsection @push('scripts') @endpush