Administra los pagos registrados en el sistema
| 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 ?? '' }}
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
|
|
{{ 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 | ||||||