@foreach([ ['Cargos', $statement['charges'], 'text-slate-900 dark:text-white', 'Importe acumulado'], ['Pagos', $statement['payments'], 'text-emerald-600', 'Pagos aplicados'], ['Saldo actual', $statement['balance'], $statement['balance'] > 0 ? 'text-rose-600' : 'text-emerald-600', 'Total por cubrir'], ['Saldo vencido', $statement['overdue'], $statement['overdue'] > 0 ? 'text-rose-600' : 'text-emerald-600', 'Importe fuera de fecha'], ] as [$label, $value, $color, $hint])

{{ $label }}

${{ number_format($value, 2) }}

{{ $hint }}

@endforeach

Movimientos

Historial cronológico de cargos, pagos y saldo resultante.

{{ $statement['movements']->count() }} movimientos
@forelse($statement['movements'] as $movement) @empty @endforelse
FechaFolio y conceptoVencimientoCargoPagoSaldo
{{ $movement['date']->format('d/m/Y') }}{{ $movement['description'] }}{{ $movement['folio'] }}{{ $movement['due_date']?->format('d/m/Y') ?? '—' }}{{ $movement['debit'] ? '$'.number_format($movement['debit'], 2) : '—' }}{{ $movement['credit'] ? '$'.number_format($movement['credit'], 2) : '—' }}${{ number_format($movement['balance'], 2) }}
La cuenta todavía no tiene movimientos.
@if($account->convenios->where('estatus', 'VIGENTE')->isNotEmpty())

Convenios vigentes

@foreach($account->convenios->where('estatus', 'VIGENTE') as $agreement)
{{ $agreement->folio }}

${{ number_format($agreement->importe_convenido, 2) }} en {{ $agreement->parcialidades }} parcialidades · Primer vencimiento {{ $agreement->primer_vencimiento->format('d/m/Y') }}

@endforeach
@endif