@extends('adminlte::page') @section('title', 'Process Depreciation') @section('content_header')

Process Depreciation

@stop @section('content') @if($assetsByCategory->isEmpty())

No Assets Due for Depreciation

There are currently no assets that have reached their next depreciation date.

Back to Dashboard
@else
{{ $assetsByCategory->sum('count') }} assets are due for depreciation across {{ $assetsByCategory->count() }} categories.
@foreach($assetsByCategory as $categoryData)

{{ $categoryData['category']->name }}

{{ $categoryData['count'] }} asset(s) due for depreciation

₦{{ number_format($categoryData['total_value'], 2) }}

Total Value

₦{{ number_format($categoryData['total_depreciable_amount'], 2) }}

Depreciation Amount
Category: {{ $categoryData['category']->name }}
Total Assets: {{ $categoryData['count'] }}
View Items
@csrf
@endforeach
Back to Dashboard
@endif @stop @section('css') @stop @section('js') @stop