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

DETALLE DEL DOCUMENTO DE VENTA: # {{$documento->id}}

@if($documento->empresa->ruta_logo) @else @endif
{{$documento->empresa->razon_social}}
RUC:{{$documento->empresa->ruc}}
{{$documento->empresa->direccion_fiscal}}

DOCUMENTO DE VENTA
N°: DV - 0{{ $documento->id }}
FECHA DOCUMENTO {{ Carbon\Carbon::parse($documento->fecha_documento)->format('d/m/y') }}
FECHA ATENCION {{ Carbon\Carbon::parse($documento->fecha_atencion)->format('d/m/y') }}
CONTACTO
{{$nombre_completo}}
{{$documento->user->empleado->persona->telefono_movil}}
{{$documento->user->empleado->persona->correo_electronico}}

DATOS DEL CLIENTE
TIPO DE DOCUMENTO: {{$documento->cliente->tipo_documento}}
RUC: {{$documento->cliente->documento}}
NOMBRE: {{$documento->cliente->nombre}}
DIRECCION: {{$documento->cliente->direccion}}
CELULAR: @if($documento->cliente->telefono_movil) {{$documento->cliente->telefono_movil}} @else - @endif
TELEFONO: @if($documento->cliente->telefono_fijo) {{$documento->cliente->telefono_fijo}} @else - @endif
CORREO: {{$documento->cliente->correo_electronico}}

@foreach($detalles as $detalle) @endforeach
CANTIDAD UNIDAD DE MEDIDA DESCRIPCION DEL PRODUCTO PRECIO TOTAL
{{$detalle->cantidad}} {{$detalle->producto->tabladetalle->simbolo.' - '.$detalle->producto->tabladetalle->descripcion}}
{{$detalle->producto->codigo.' - '.$detalle->producto->nombre}}
{{$detalle->precio}} {{$detalle->importe}}
Sub Total {{'S/. '.$documento->sub_total}}
IGV @if($documento->igv) {{$documento->igv}}% @else 18% @endif {{'S/. '.$documento->total_igv}}
SON: {{$cadena_valor}}. Total {{'S/. '.$documento->total}}

TIPO DE DOCUMENTO: {{$documento->tipo_venta}}
OBSERVACION: {{$documento->observacion}}
@stop @push('styles') @endpush @push('scripts') @endpush