Fecha de Emisión: {{ date('d/m/Y h:i A') }}
Reporte de Facturación
Empresa: {{ $targetEntity->name }}
NIT: {{ $targetEntity->nit }}
@if($targetEntity->address)Dirección: {{ $targetEntity->address }}
@endif @if($targetEntity->phone)Teléfono: {{ $targetEntity->phone }}
@endif @elseCliente: {{ $targetEntity->name }}
Cédula/NIT: {{ $targetEntity->document }}
@if($targetEntity->phone)Teléfono: {{ $targetEntity->phone }}
@endif @if($targetEntity->email)Email: {{ $targetEntity->email }}
@endif @endifBúsqueda: {{ request('search', 'Todas las facturas') }}
@if(request('statuses') && is_array(request('statuses')))Estados: {{ implode(', ', request('statuses')) }}
@endif| Emisión | Factura No. | Cliente / Empresa | Monto Total | Abonos | Saldo Pendiente | Estado |
|---|---|---|---|---|---|---|
| {{ $invoice->issue_date->format('d/m/Y') }} | {{ $invoice->document_number }} | {{ $clientName }} | ${{ number_format($invoice->total_amount, 2) }} | ${{ number_format($paid, 2) }} | ${{ number_format($balance, 2) }} | {{ $displayStatus }} |
| No se encontraron facturas con los filtros aplicados. | ||||||
| Total Facturado: | ${{ number_format($totalInvoiced, 2) }} |
|---|---|
| Total Abonado / Pagado: | ${{ number_format($totalPaid, 2) }} |
| Saldo Pendiente Total: | ${{ number_format($totalPending, 2) }} |