{{ session('success') }}
@endif
Total de Facturas
{{ $facturas->total() }}
Todas las facturas
Procesadas
{{ $facturas->where('estado', 'procesada')->count() }}
Completadas
Pendientes
{{ $facturas->where('estado', 'pendiente')->count() }}
En proceso
Monto Total
${{ number_format($facturas->sum('monto'), 2) }}
Valor acumulado
Filtros de Búsqueda
Lista de Facturas
| Folio | Fecha | Emisor | Concepto | Monto | Estado | Subida | Acciones |
|---|---|---|---|---|---|---|---|
|
{{ $factura->folio }}
|
{{ $factura->fecha ? $factura->fecha->format('d/m/Y') : 'N/A' }}
|
@if($factura->emisor_nombre)
{{ $factura->emisor_nombre }}
{{ $factura->emisor_rfc }}
@else
{{ $factura->emisor_rfc ?: 'N/A' }}
@endif
|
{{ Str::limit($factura->concepto, 50) ?: 'Sin descripción' }}
|
${{ number_format($factura->monto, 2) }}
{{ $factura->moneda }}
|
@php $statusClasses = [ 'pendiente' => 'bg-yellow-100 text-yellow-800', 'procesada' => 'bg-green-100 text-green-800', 'rechazada' => 'bg-red-100 text-red-800', 'error' => 'bg-red-100 text-red-800' ]; @endphp {{ ucfirst($factura->estado) }} |
{{ $factura->created_at->format('d/m/Y') }}
{{ $factura->created_at->format('H:i') }}
|
{{ $facturas->appends(request()->query())->links() }}
@else
@endif