@extends('layouts.app') @section('title', 'Rekapitulasi Kas') @section('content') @php $cashFlowTotal = $report['pemasukan'] + $report['pengeluaran']; $incomeShare = $cashFlowTotal > 0 ? round(($report['pemasukan'] / $cashFlowTotal) * 100, 1) : 0; $expenseShare = 100 - $incomeShare; $chartCircumference = 251.327; $incomeDash = $chartCircumference * $incomeShare / 100; $expenseDash = $chartCircumference - $incomeDash; @endphp

Standar PembiayaanManajemen Kas

Rekapitulasi Kas

Tinjau arus kas, saldo awal, dan saldo berjalan pada rentang tanggal pilihan.

@if (in_array('cetak_rekap', $financeMenus, true)) Cetak rekap @endif
@if ($errors->any()) @endif

Arus Kas Periode

Sorot untuk lihat persentase Pemasukan: {{ number_format($incomeShare, 1, ',', '.') }}% Pengeluaran: {{ number_format($expenseShare, 1, ',', '.') }}%

Pemasukan

Pengeluaran

Total pemasukan

Rp {{ number_format($report['pemasukan'], 0, ',', '.') }}

Total pengeluaran

Rp {{ number_format($report['pengeluaran'], 0, ',', '.') }}

Saldo akhir periode

Rp {{ number_format($report['saldo_akhir'], 0, ',', '.') }}

Filter periode laporan

Rentang tanggal dihitung inklusif.

Rincian arus kas

{{ \Carbon\CarbonImmutable::parse($filters['start_date'])->locale('id')->translatedFormat('d F Y') }} – {{ \Carbon\CarbonImmutable::parse($filters['end_date'])->locale('id')->translatedFormat('d F Y') }}

@forelse ($report['rows'] as $row) @empty @endforelse
No.TanggalKeteranganPemasukanPengeluaranSaldo berjalan
Saldo awal sebelum {{ \Carbon\CarbonImmutable::parse($filters['start_date'])->locale('id')->translatedFormat('d F Y') }}——Rp {{ number_format($report['saldo_awal'], 0, ',', '.') }}
{{ $loop->iteration }} {{ \Carbon\CarbonImmutable::parse($row['tanggal'])->locale('id')->translatedFormat('d M Y') }} @if ($row['kategori']) {{ $row['kategori'] }}
@endif {{ $row['keterangan'] }}
{{ $row['pemasukan'] > 0 ? 'Rp '.number_format($row['pemasukan'], 0, ',', '.') : '—' }} {{ $row['pengeluaran'] > 0 ? 'Rp '.number_format($row['pengeluaran'], 0, ',', '.') : '—' }} Rp {{ number_format($row['saldo'], 0, ',', '.') }}
Tidak ada transaksi pada periode ini.
Total transaksi periodeRp {{ number_format($report['pemasukan'], 0, ',', '.') }}Rp {{ number_format($report['pengeluaran'], 0, ',', '.') }}
Saldo akhirRp {{ number_format($report['saldo_akhir'], 0, ',', '.') }}
@endsection