@if ($formato === 'ticket') @else @endif
RIF/NIF: {{ $negocio->nif }}
@endif @if ($negocio->direccion){{ $negocio->direccion }}
@endif@if ($negocio->telefono) Tel: {{ $negocio->telefono }} @endif @if ($negocio->email) | {{ $negocio->email }} @endif
Factura N°: {{ $factura->numeroFormateado() }}
Fecha: {{ $factura->created_at->format('d/m/Y H:i') }}
Cliente: {{ $factura->cliente->nombre }}
Cédula/RIF: {{ $factura->cliente->cedula }}
Subtotal{{ number_format($factura->subtotal + $factura->descuento_monto, 2) }}
@if ($factura->descuento_monto > 0)Descuento{{ $factura->descuento_porcentaje > 0 ? ' ('.number_format($factura->descuento_porcentaje, 2).'%)' : '' }}@if ($factura->cupon) {{ $factura->cupon->codigo }}@endif-{{ number_format($factura->descuento_monto, 2) }}
@endif @foreach ($factura->impuestos_desglose ?? [] as $grupo){{ $grupo['nombre'] }} ({{ number_format($grupo['porcentaje'], 2) }}%){{ number_format($grupo['monto'], 2) }}
@endforeachTOTAL{{ number_format($factura->total, 2) }}
Efectivo{{ number_format($factura->efectivo, 2) }}
Débito{{ number_format($factura->debito, 2) }}
Crédito{{ number_format($factura->credito, 2) }}
Cheque{{ number_format($factura->cheque, 2) }}
Vuelto{{ number_format($factura->vuelto, 2) }}
Obs: {{ $factura->observaciones }}
@endif @if ($factura->esNotaCredito())NOTA DE CRÉDITO PENDIENTE
@endif @else|
Factura N°: {{ $factura->numeroFormateado() }} Fecha: {{ $factura->created_at->format('d/m/Y H:i') }} |
Cliente: {{ $factura->cliente->nombre }} Cédula/RIF: {{ $factura->cliente->cedula }} Teléfono: {{ $factura->cliente->telefono }} |
| Descripción | Cant. | Precio unit. | Impuesto | Subtotal |
|---|---|---|---|---|
| {{ $detalle->descripcion }} | {{ $detalle->cantidad }} | {{ number_format($detalle->precio_unitario, 2) }} | {{ $detalle->tipoImpuesto->nombre }} ({{ number_format($detalle->impuesto_porcentaje, 2) }}%) | {{ number_format($detalle->subtotal, 2) }} |
| Subtotal | {{ number_format($factura->subtotal + $factura->descuento_monto, 2) }} |
| Descuento{{ $factura->descuento_porcentaje > 0 ? ' ('.number_format($factura->descuento_porcentaje, 2).'%)' : '' }}@if ($factura->cupon) - {{ $factura->cupon->codigo }}@endif | -{{ number_format($factura->descuento_monto, 2) }} |
| {{ $grupo['nombre'] }} ({{ number_format($grupo['porcentaje'], 2) }}%) | {{ number_format($grupo['monto'], 2) }} |
| Total | {{ number_format($factura->total, 2) }} |
| Efectivo | {{ number_format($factura->efectivo, 2) }} |
| Débito | {{ number_format($factura->debito, 2) }} |
| Crédito | {{ number_format($factura->credito, 2) }} |
| Cheque | {{ number_format($factura->cheque, 2) }} |
| Vuelto | {{ number_format($factura->vuelto, 2) }} |
Observaciones: {{ $factura->observaciones }}
@endif @if ($factura->esNotaCredito())NOTA DE CRÉDITO PENDIENTE DE PAGO
@endif @endif