@extends('layout.main')
@section('title', 'Laporan Transaksi Periode Bulan')
@section('prev-page')
Home
@endsection
@section('content')
Laporan Transaksi Periode Bulan
Pemasukan (Kredit)
Kategori Transaksi |
Nilai |
@php $total = 0; @endphp
@forelse($kredits as $kredit)
{{ $kredit->name }} |
Rp{{ number_format($kredit->amount, 0, ',', '.') }} |
@php $total += $kredit->amount; @endphp
@empty
Belum ada data. |
@endforelse
@if (!empty($total))
Total |
Rp{{ number_format($total, 0, ',', '.') }} |
@endif
Pengeluaran (Debet)
Kategori Transaksi |
Nilai |
@php $total = 0; @endphp
@forelse($debets as $debet)
{{ $debet->name }} |
Rp{{ number_format($debet->amount, 0, ',', '.') }} |
@php $total += $debet->amount; @endphp
@empty
Belum ada data. |
@endforelse
@if (!empty($total))
Total |
Rp{{ number_format($total, 0, ',', '.') }} |
@endif
@endsection
@section('other-scripts')
@endsection