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