@extends('layouts/layoutMaster') @section('title', 'Penyusutan Aset') @section('vendor-style') @vite([ 'resources/assets/vendor/libs/datatables-bs5/datatables.bootstrap5.scss', 'resources/assets/vendor/libs/select2/select2.scss' ]) @endsection @section('vendor-script') @vite([ 'resources/assets/vendor/libs/datatables-bs5/datatables-bootstrap5.js', 'resources/assets/vendor/libs/select2/select2.js' ]) @endsection @section('page-script') @vite('Modules/Akuntansi/resources/assets/js/asset-depreciation.js') @endsection @section('content')
Penyusutan Aset
{{-- --}} {{-- --}} @foreach ($assets as $asset) @if(!$asset->depreciations->isEmpty()) {{-- --}} {{-- --}} @endif @endforeach
ID # Nama Aset Periode PembelianNilaiMetodeJumlah PenyusutanAksi
{{ $asset->id }} {{ $loop->iteration }} {{ $asset->name }} {{ formatTanggalIndonesia($asset->acquisition_date) }} s/d {{ formatTanggalIndonesia(\Carbon\Carbon::now()) }}{{ $asset->useful_life }}{{ ucfirst(str_replace('-', ' ', $asset->depreciation_method)) ?? 'Tidak Ada Penyusutan' }}{{ rupiah_format($asset->calculated_depreciation, 2) }}
@endsection