@extends('layouts.app') @section('title', __('Fixed Assets')) @section('content')
{{ __('Add Fixed Asset') }}
@csrf
@foreach($assets as $asset) @php($netValue = $asset->acquisition_cost - $asset->accumulated_depreciation - $asset->residual_value) @endforeach
{{ __('Code') }}{{ __('Asset') }}{{ __('Cost') }}{{ __('Depreciation') }}{{ __('Net Value') }}{{ __('Actions') }}
{{ $asset->asset_code }} {{ $asset->name }}{{ $asset->category }} {{ number_format($asset->acquisition_cost,2) }} {{ number_format($asset->accumulated_depreciation,2) }} {{ number_format($netValue,2) }}
@csrf @method('DELETE')
{{ $assets->links('pagination::bootstrap-5') }}
@endsection