@extends('layouts.app') @section('title', 'বকেয়া গ্রাহক রিপোর্ট') @section('page-title', 'বকেয়া গ্রাহক রিপোর্ট') @section('content') {{-- Report Nav --}}
বিক্রয় স্টক বকেয়া গ্রাহক ডেলিভারি
{{-- Summary --}}
{{ $customers->total() }}
বকেয়া গ্রাহক
৳{{ number_format($totalDue, 0) }}
মোট বকেয়া
৳{{ $customers->total() > 0 ? number_format($totalDue / $customers->total(), 0) : 0 }}
গড় বকেয়া (প্রতি গ্রাহক)
{{-- Top Due Customers Mini List --}}
সর্বোচ্চ বকেয়া
@foreach($topDue as $i => $c)
{{ $i + 1 }}
{{ $c->name }}
{{ $c->phone }}
৳{{ number_format($c->due_balance, 0) }}
@endforeach
{{-- Due Chart --}}
শীর্ষ বকেয়া গ্রাহক চার্ট
{{-- Filter --}}
{{-- Due Customers Table --}}
@forelse($customers as $c) @empty @endforelse
# গ্রাহক এলাকা ধরন ডিপোজিট বকেয়া সাম্প্রতিক ইনভয়েস একশন
{{ $customers->firstItem() + $loop->index }}
{{ $c->name }}
{{ $c->phone }}
{{ $c->area ?? '—' }} {{ $c->type_label }} ৳{{ number_format($c->deposit_amount, 0) }} ৳{{ number_format($c->due_balance, 0) }} @foreach($c->invoices->take(2) as $inv) {{ $inv->invoice_number }} (৳{{ number_format($inv->due_amount, 0) }}) @endforeach
কোনো বকেয়া গ্রাহক নেই!
@if($customers->hasPages()) @endif
@endsection @push('scripts') @endpush