@extends('admin.layouts.app') @section('content')

Laporan Jurnal

@if ($laporanKeuangan->count() > 0) Download Excel @else
@endif
@if ($laporanKeuangan->count() > 0)
Filter Data
sampai
Reset
@else
@endif {{-- START TABLE --}} @if ($laporanKeuangan->count() > 0)
@foreach ($laporanKeuangan as $index => $laporan) @endforeach
No Tanggal Debit Kredit
{{ $laporanKeuangan->firstItem() + $index }} {{ \Carbon\Carbon::parse($laporan['tanggal'])->translatedFormat('l, d F Y') }} Rp. {{ number_format($laporan['pemasukan'], 0, ',', '.') }} Rp. {{ number_format($laporan['pengeluaran'], 0, ',', '.') }}
Total: Rp. {{ number_format($totalPemasukanPerPage, 0, ',', '.') }} Rp. {{ number_format($totalPengeluaranPerPage, 0, ',', '.') }}
{{-- END TABLE --}}
@else
Tidak ada data Jurnal.
@if ($isFilterActive) Reset Filter @else
@endif
@endif
@endsection @push('scripts') @endpush