@extends('admin.layout.app') @section('body')

Payments

Payments made to laborers
{{-- Filters --}}
Reset
{{-- Summary --}}
Total Payments (filtered)
{{ number_format($summary['total_amount'], 2) }}
Count
{{ number_format($summary['count']) }}
Avg Amount
{{ number_format($summary['avg_amount'], 2) }}
@forelse($payments as $p) @empty @endforelse
# Laborer Amount Paid At Method Notes Actions
{{ $p->id }} {{ $p->laborer->name ?? '—' }} {{ number_format((float) $p->amount, 2) }} {{ optional($p->paid_at)->toDateString() ?? '—' }} {{ $p->method ?? '—' }} {{ $p->notes ?? '—' }} View Edit
No records found
{{ $payments->withQueryString()->links() }}
{{-- Export libs --}} @endsection