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

Ledger Report

@if(isset($ledgerEntries) && count($ledgerEntries) > 0) @foreach($ledgerEntries as $entry) @endforeach
Account ID Account Title Voucher Type Voucher Date Remarks Debit Credit Narration
{{ $entry->Account_ID }} {{ $entry->Account_Text }} {{ $entry->VoucherType }} {{ $entry->VoucherDate }} {{ $entry->Remarks }} {{ $entry->entryType == 'D' ? $entry->Amount : 0 }} {{ $entry->entryType == 'C' ? $entry->Amount : 0 }} {{ $entry->Entry_Narration ?? 'N/A' }}
@else

No records found for the selected criteria.

@endif
@endsection