@if (session()->has('message')) @endif @if (session()->has('error')) @endif
Total Pagos

{{ number_format($this->stats['total']) }}

Aprobados

{{ number_format($this->stats['aprobados']) }}

Pendientes

{{ number_format($this->stats['pendientes']) }}

Ingresos Totales

Lista de Pagos

Administra los pagos registrados en el sistema

@can('create pagos') @endcan
@forelse($pagos as $pago) @empty @endforelse
Documento @if($sortBy === 'serie') @endif Estudiante Método Pago Total @if($sortBy === 'total') @endif Fecha @if($sortBy === 'fecha') @endif Estado @if($sortBy === 'estado') @endif Acciones
{{ $pago->numero_completo }}
@if($pago->matricula && $pago->matricula->student)
{{ substr($pago->matricula->student->nombres ?? '', 0, 1) }}
{{ $pago->matricula->student->nombres ?? '' }} {{ $pago->matricula->student->apellidos ?? '' }}
{{ $pago->matricula->student->documento_identidad ?? '' }}
@else
Estudiante no disponible
@endif
@php $iconClass = match($pago->metodo_pago) { 'efectivo' => 'ri-user-line text-success', 'transferencia' => 'ri-user-line text-info', 'tarjeta' => 'ri-user-line text-primary', default => 'ri-user-line text-muted' }; @endphp
{{ ucfirst($pago->metodo_pago ?? 'N/A') }}
@if($pago->referencia) Ref: {{ $pago->referencia }} @endif
@if($pago->descuento > 0) Desc: @endif
{{ format_date($pago->fecha) }}
{{ $pago->created_at->format('H:i') }}
estado === 'aprobado' ? 'checked' : '' }} @can('edit pagos') wire:click="toggleStatus({{ $pago->id }})" @endcan>
No se encontraron pagos que coincidan con los filtros