@extends('app-new') @push('content-header') @endpush @section('content')
@if ($jvData && count($jvData) > 0)
{{ $organization->company_name ?? 'Organization' }}
Journal Voucher Report

{{ \Carbon\Carbon::create($year, $month, 1)->format('F Y') }}

Generated on: {{ now()->format('d-m-Y H:i:s') }}

@foreach ($jvData as $entry) @endforeach
Description Debit GL Code Credit GL Code Debit Credit
{{ $entry['description'] }} {{ $entry['debit_gl_code'] }} {{ $entry['credit_gl_code'] }} {{ number_format($entry['debit'], 2) }} {{ number_format($entry['credit'], 2) }}
TOTAL {{ number_format($totalDebit, 2) }} {{ number_format($totalCredit, 2) }}
@else

No data found for {{ \Carbon\Carbon::create($year, $month, 1)->format('F Y') }}

@endif
@endsection @push('footer-script') @endpush