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

Supplier Payment Report

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