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

Supplier Payment Report

@csrf
@isset($data)
Back Export PDF Export To Excel
@forelse($data as $row) @empty @endforelse @php $totalDebit = 0; $totalCredit = 0; foreach ($data as $row) { $totalDebit += $row->Debit; $totalCredit += $row->Credit; } @endphp
Voucher Debit Credit Voucher Date Remarks Site
{{ $row->Voucher_ID }} {{ number_format($row->Debit, 0,0) }} {{ number_format($row->Credit, 0,0) }} {{ $row->Voucher_Date }} {{ $row->Remarks }} {{ $row->Site }}
No data found for the selected filters.
Total: {{ number_format($totalDebit, 0,0) }} {{ number_format($totalCredit, 0,0) }} Closing Balance: {{ number_format($totalDebit - $totalCredit, 0,0) }}
@endisset
@endsection