@extends('layouts/layoutMaster') @section('title', 'Laporan Arus Kas') @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/moment/moment.js', 'resources/assets/vendor/libs/select2/select2.js' ]) @endsection @section('page-script') @vite('Modules/Akuntansi/resources/assets/js/cashflow-report.js') @endsection @section('content')
{{ $company->company_name }}
Periode: {{ \Carbon\Carbon::parse($startDate)->format('d/m/Y') }} - {{ \Carbon\Carbon::parse($endDate)->format('d/m/Y') }}
{{-- --}}

Saldo Awal

{{ rupiah_format($beginningCashBalance, 0, ',', '.') }}

Perubahan Kas

{{ rupiah_format($netChange, 0, ',', '.') }}

Saldo Akhir

{{ rupiah_format($endingCashBalance, 0, ',', '.') }}

Rincian Kas

{{ $cashAccounts->count() }} Akun

Rincian Kas dan Setara Kas
@foreach($cashAccounts as $account) @endforeach
Akun Saldo Awal Perubahan Saldo Akhir
{{ $account->name }} {{ rupiah_format($account->beginning_balance, 0, ',', '.') }} {{ rupiah_format($account->change, 0, ',', '.') }} {{ rupiah_format($account->ending_balance, 0, ',', '.') }}
Total {{ rupiah_format($beginningCashBalance, 0, ',', '.') }} {{ rupiah_format($netChange, 0, ',', '.') }} {{ rupiah_format($endingCashBalance, 0, ',', '.') }}
@if($cashFlowData['operating']['data']->isEmpty()) @else @foreach($cashFlowData['operating']['data'] as $monthGroup) @foreach($monthGroup['transactions'] as $item) @if($item['count'] > 1 && isset($item['transactions'])) @foreach($item['transactions'] as $transaction) @endforeach @endif @endforeach @endforeach @endif @if($cashFlowData['investing']['data']->isEmpty()) @else @foreach($cashFlowData['investing']['data'] as $monthGroup) @foreach($monthGroup['transactions'] as $item) @if($item['count'] > 1 && isset($item['transactions'])) @foreach($item['transactions'] as $transaction) @endforeach @endif @endforeach @endforeach @endif @if($cashFlowData['financing']['data']->isEmpty()) @else @foreach($cashFlowData['financing']['data'] as $monthGroup) @foreach($monthGroup['transactions'] as $item) @if($item['count'] > 1 && isset($item['transactions'])) @foreach($item['transactions'] as $transaction) @endforeach @endif @endforeach @endforeach @endif
DESKRIPSI JUMLAH
AKTIVITAS OPERASI
Tidak ada data aktivitas operasi pada periode ini
{{ $monthGroup['month_name'] }}
{{ rupiah_format(abs($monthGroup['amount']), 0, ',', '.') }} {{ $monthGroup['amount'] < 0 ? '(-)' : '(+)' }}
Lihat Detail {{ $monthGroup['month_name'] }}
@if($item['count'] > 1) @else @endif {{ $item['description'] }}
{{ rupiah_format(abs($item['amount']), 0, ',', '.') }} {{ $item['amount'] < 0 ? '(-)' : '(+)' }}
{{ $transaction['code'] }} - {{ $transaction['description'] }}
{{ rupiah_format(abs($transaction['amount']), 0, ',', '.') }} {{ $transaction['amount'] < 0 ? '(-)' : '(+)' }}
TOTAL AKTIVITAS OPERASI
{{ rupiah_format($operatingTotal, 0, ',', '.') }}
AKTIVITAS INVESTASI
Tidak ada data aktivitas investasi pada periode ini
{{ $monthGroup['month_name'] }}
{{ rupiah_format(abs($monthGroup['amount']), 0, ',', '.') }} {{ $monthGroup['amount'] < 0 ? '(-)' : '(+)' }}
Lihat Detail {{ $monthGroup['month_name'] }}
@if($item['count'] > 1) @else @endif {{ $item['description'] }}
{{ rupiah_format(abs($item['amount']), 0, ',', '.') }} {{ $item['amount'] < 0 ? '(-)' : '(+)' }}
{{ $transaction['code'] }} - {{ $transaction['description'] }}
{{ rupiah_format(abs($transaction['amount']), 0, ',', '.') }} {{ $transaction['amount'] < 0 ? '(-)' : '(+)' }}
TOTAL AKTIVITAS INVESTASI
{{ rupiah_format($investingTotal, 0, ',', '.') }}
AKTIVITAS PENDANAAN
Tidak ada data aktivitas pendanaan pada periode ini
{{ $monthGroup['month_name'] }}
{{ rupiah_format(abs($monthGroup['amount']), 0, ',', '.') }} {{ $monthGroup['amount'] < 0 ? '(-)' : '(+)' }}
Lihat Detail {{ $monthGroup['month_name'] }}
@if($item['count'] > 1) @else @endif {{ $item['description'] }}
{{ rupiah_format(abs($item['amount']), 0, ',', '.') }} {{ $item['amount'] < 0 ? '(-)' : '(+)' }}
{{ $transaction['code'] }} - {{ $transaction['description'] }}
{{ rupiah_format(abs($transaction['amount']), 0, ',', '.') }} {{ $transaction['amount'] < 0 ? '(-)' : '(+)' }}
TOTAL AKTIVITAS PENDANAAN
{{ rupiah_format($financingTotal, 0, ',', '.') }}
KENAIKAN (PENURUNAN) BERSIH KAS DAN SETARA KAS
{{ rupiah_format($netChange, 0, ',', '.') }}
KAS DAN SETARA KAS AWAL PERIODE
{{ rupiah_format($beginningCashBalance, 0, ',', '.') }}
KAS DAN SETARA KAS AKHIR PERIODE
{{ rupiah_format($endingCashBalance, 0, ',', '.') }}
@endsection