@extends('dashboard.layouts.app') @section('title', 'Detalles del Comprobante') @section('content')
{{ session('success') }}
{{ session('error') }}
{{ $comprobante->tipoComprobante->descripcion ?? 'N/A' }}
{{ $comprobante->fecha_emision ? $comprobante->fecha_emision->format('d/m/Y H:i') : 'N/A' }}
S/ {{ number_format($comprobante->total_venta ?? 0, 2) }}
{{ $comprobante->cliente->razon_social ?? 'N/A' }}
{{ $comprobante->cliente->numero_documento ?? 'N/A' }}
{{ $comprobante->cliente->direccion ?? 'N/A' }}
{{ $comprobante->cliente->email ?? 'N/A' }}
| Producto | Cantidad | Precio Unit. | Subtotal |
|---|---|---|---|
|
{{ $detalle->descripcion ?? $detalle->producto->nombre ?? 'N/A' }}
|
{{ number_format($detalle->cantidad, 4) }}
|
S/ {{ number_format($detalle->precio_unitario, 4) }}
|
S/ {{ number_format($detalle->subtotal, 4) }}
|
|
No hay detalles disponibles |
|||
{{ $comprobante->codigo_respuesta_sunat }}
{{ $comprobante->estado_sunat }}
{{ $comprobante->mensaje_respuesta_sunat }}
{{ $comprobante->ticket_sunat }}
{{ $comprobante->fecha_respuesta_sunat->format('d/m/Y H:i:s') }}
{{ $comprobante->error_envio }}
{{ $comprobante->fecha_error->format('d/m/Y H:i:s') }}