@extends('layouts.app') @section('title', 'Encaissements') @section('heading', 'Encaissements') @section('subheading', $year ? "Année {$year->name}" : '') @section('content')
@if (request()->hasAny(['recherche', 'du', 'au', 'mode'])) @endif
{{ $payments->total() }} encaissement{{ $payments->total() > 1 ? 's' : '' }} Total sur cette page (hors annulés) : {{ number_format($totalValid, 2, ',', ' ') }} HTG
@forelse ($payments as $payment) $payment->is_cancelled])> @empty @endforelse
Reçu Date Élève Classe Mode Montant Encaissé par
{{ $payment->receipt_number }} @if ($payment->is_cancelled) Annulé @endif {{ $payment->payment_date->format('d/m/Y') }} {{ $payment->enrollment->student->last_name }}, {{ $payment->enrollment->student->first_name }} {{ $payment->enrollment->schoolClass->name }} {{ $payment->payment_method->label() }} @if ($payment->reference)
{{ $payment->reference }}
@endif
{{ number_format($payment->amount, 2, ',', ' ') }} @if ($payment->currency !== 'HTG')
{{ $payment->currency }}
@endif
{{ $payment->receivedBy?->fullName() ?? '—' }}
Aucun encaissement ne correspond à ces critères.
@if ($payments->hasPages()) @endif
@endsection