@extends('layouts.app') @section('title', 'Receivables') @section('content') @can('data.export') Export @endcan
Total to receive
{{ money($total) }}
{{ $clients->count() }} {{ \Illuminate\Support\Str::plural('client', $clients->count()) }}
@if ($clients->isNotEmpty())
Biggest balances
AgeingPayments applied to oldest orders first
@endif
@forelse ($clients as $c) @empty @endforelse
ClientPhoneBilledReceivedBalance dueActions
{{ $c->phone ?: '—' }} {{ money($c->billed()) }} {{ money($c->received()) }} {{ money($c->balance()) }}@if ($c->credit_limit > 0 && $c->balance() > $c->credit_limit)over credit limit@endif Receive
@endsection