@extends('pdf.base') @section('title', 'Estado de Cuenta - ' . $user->name) @section('styles') @endsection @section('content')
{{ $user->name }} · Generado el {{ now()->format('d/m/Y') }}
| Nombre: | {{ $user->name }} |
| Email: | {{ $user->email }} |
| Teléfono: | {{ $user->phone }} |
| Cuenta desde: | {{ $user->created_at->format('d/m/Y') }} |
| Fecha | Descripción | Tipo | Monto | Saldo |
|---|---|---|---|---|
| {{ $transaction->created_at->format('d/m/Y') }} | {{ $transaction->description }} | {{ $transaction->type === 'credit' ? 'Ingreso' : 'Egreso' }} | {{ $transaction->type === 'credit' ? '+' : '-' }}${{ number_format($transaction->amount, 2) }} | ${{ number_format($transaction->balance_after ?? 0, 2) }} |
No hay transacciones registradas en este período.
| Número | Fecha | Concepto | Estado | Total |
|---|---|---|---|---|
| {{ $invoice->invoice_number }} | {{ $invoice->created_at->format('d/m/Y') }} | {{ $invoice->subscription?->plan?->name ?? 'Servicio' }} | {{ $invoice->status === 'paid' ? 'Pagada' : ($invoice->status === 'pending' ? 'Pendiente' : 'Cancelada') }} | ${{ number_format($invoice->total, 2) }} |