Account Ledger Report

@foreach($data as $row) @php $amount = floatval($row->Amount); @endphp @endforeach
Account Title Voucher ID Debit Credit Date Remarks Site Company
{{ $row->Account_Title }} {{ $row->Voucher }}{{ $amount > 0 ? number_format($amount, 2) : '' }} {{ $amount < 0 ? number_format(abs($amount), 2) : '' }} {{ $row->VoucherDate }} {{ $row->Remarks }} {{ $row->Cheque_No}} {{ $row->Company }}