{{ $empresa->nomEmpresa ?? 'POSCLOUD ENTERPRISE' }}
NIT: {{ $empresa->nit ?? 'N/A' }} | Régimen Común / Responsable de IVA
Dirección: {{ $empresa->direccion ?? '' }} | Tel: {{ $empresa->telefono ?? '' }}
COMPROBANTE DE CIERRE CONTABLE Y FISCAL - AÑO {{ $cierre->ano_ejercicio }}
Número Comprobante: {{ $cierre->comprobante_cierre }} Fecha de Cierre: {{ date('d/m/Y H:i:s', strtotime($cierre->fecha_cierre)) }}
Sucursal / Bodega: {{ $cierre->bodega == 0 ? 'CONSOLIDADO GENERAL' : ($bodega->nombreBodega ?? 'Bodega ' . $cierre->bodega) }} Usuario Generador: {{ $cierre->usuario }}
Cuenta Patrimonio: {{ $cierre->cuenta_resultado }} - {{ $cierre->utilidad_neta >= 0 ? 'Utilidad del Ejercicio' : 'Pérdida del Ejercicio' }} Estado: {{ strtoupper($cierre->estado) }}
TOTAL INGRESOS (4) TOTAL GASTOS (5) TOTAL COSTOS (6 y 7) RESULTADO NETO DEL EJERCICIO
${{ number_format($cierre->total_ingresos, 2, ',', '.') }} ${{ number_format($cierre->total_gastos, 2, ',', '.') }} ${{ number_format($cierre->total_costos, 2, ',', '.') }} ${{ number_format($cierre->utilidad_neta, 2, ',', '.') }} ({{ $cierre->utilidad_neta >= 0 ? 'UTILIDAD' : 'PÉRDIDA' }})
@php $totalDeb = 0; $totalCre = 0; @endphp @foreach($asientos as $a) @php $totalDeb += $a->egreso; $totalCre += $a->ingreso; @endphp @endforeach
Cuenta Nombre de Cuenta Detalle / Observación Débito Crédito
{{ $a->cuentaNum }} {{ $a->NombreCuenta ?? 'CUENTA CANCELACIÓN' }} {{ $a->observacion }} {{ $a->egreso > 0 ? number_format($a->egreso, 2, ',', '.') : '-' }} {{ $a->ingreso > 0 ? number_format($a->ingreso, 2, ',', '.') : '-' }}
SUMAS IGUALES (PARTIDA DOBLE): ${{ number_format($totalDeb, 2, ',', '.') }} ${{ number_format($totalCre, 2, ',', '.') }}
REPRESENTANTE LEGAL
C.C. ___________________
CONTADOR PÚBLICO
T.P. No. _________________
REVISOR FISCAL / AUDITOR
T.P. No. _________________