@extends('layouts.admin') @section('title', 'Fixed Assets') @section('content')
@csrf
@foreach ($items as $item) @endforeach
Asset Cost Monthly Dep. Last Run
{{ $item->asset_code }} - {{ $item->name }} {{ number_format($item->purchase_cost, 2) }} {{ number_format($item->monthlyDepreciation(), 2) }} {{ $item->last_depreciated_on?->format('d M Y') ?? 'Never' }}
@csrf
@endsection