@extends('layouts.app') @section('title', 'Supplier Due Report') @section('content')

Supplier Due Report

All suppliers with outstanding balances

PDF Excel CSV
{{-- Summary --}}

৳{{ number_format($data->sum('total_purchase')) }}

Total Purchase

৳{{ number_format($data->sum('total_paid')) }}

Total Paid

৳{{ number_format($data->sum('total_due')) }}

Total Due

@forelse($data as $i => $row) @empty @endforelse
# Supplier Name Company Mobile Total Purchase Total Paid Total Due Action
{{ $i + 1 }} {{ $row->name }} {{ $row->company_name ?? '—' }} {{ $row->mobile }} ৳{{ number_format($row->total_purchase) }} ৳{{ number_format($row->total_paid) }} ৳{{ number_format($row->total_due) }}
No supplier dues found.
@endsection