@extends('layout') @section('content') @section('ventas-active', 'active') @section('documento-active', 'active')

Listado de Notas de @if(isset($nota_venta)) Devoluciones @else Crédito / Débito @endif

{{--
Nota de débito
--}} @if (!$pedido_facturado)
@if($documento->sunat == '1' && docValido($documento->id)) Nota de crédito @endif @if($documento->tipo_venta_id == '129' && docValido($documento->id)) Nota @endif
@else @if ($documento->tipo_doc_venta_pedido === "FACTURACION")
@if($documento->sunat == '1' && docValido($documento->id)) Nota de crédito @endif @if($documento->tipo_venta_id == '129' && docValido($documento->id)) Nota @endif
@else
@endif @endif
@csrf

Información del documento de venta:

{{ $documento->nombreDocumento() }}

{{ $documento->serie.'-'.$documento->correlativo }}

@if ($documento->pedido_id)

{{'PE-'.$documento->pedido_id.' ('.$documento->tipo_doc_venta_pedido.')' }}

@endif

{{ $documento->clienteEntidad->nombre }}

{{ $documento->clienteEntidad->documento }}

{{ $documento->clienteEntidad->direccion }}

{{ number_format($documento->total, 2) }}

{{ number_format($documento->total_igv, 2) }}

{{ number_format($documento->total_pagar, 2) }}

{{ $miQr = QrCode:: // format('png') size(200) //defino el tamaño ->backgroundColor(0, 0, 0) //defino el fondo ->color(255, 255, 255) ->margin(1) //defino el margen ->generate((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://" . $_SERVER['HTTP_HOST']."/ventas/documentos/comprobante/".$documento->id.'-100') /** genero el codigo qr **/ }}
DOC. AFECTADO FECHA EMISION CLIENTE EMPRESA MONTO NOTA SUNAT ACCIONES
@stop @push('styles') @endpush @push('scripts') @endpush