@php $ocultar_valores = isset($sin_valores) && $sin_valores; $tiene_productos = $registro->detail->contains(function ($d) { return $d->inv_producto_id; }); @endphp
@if($tiene_productos) @endif @if(in_array($registro->dc_orden_tipo_id, [14])) @endif @if(!in_array($registro->dc_orden_tipo_id, [4,5,6,8,9,17,18]) && !$ocultar_valores) @endif @if(in_array($registro->dc_orden_tipo_id, [4,9])) @endif @foreach($registro->detail as $key=> $datos) @if($tiene_productos) @endif @if(in_array($registro->dc_orden_tipo_id, [14])) @endif @if(!in_array($registro->dc_orden_tipo_id, [4,5,6,8,9,17,18]) && !$ocultar_valores) @endif @if(in_array($registro->dc_orden_tipo_id, [4,9])) @if($datos->dc_orden_origen_destino_id==1) @elseif($datos->dc_orden_origen_destino_id==2) @elseif($datos->dc_orden_origen_destino_id==3) @endif @endif @endforeach
Cant.CodigoDestinoDescripciónP Unit. Dto. IVA% IVA {{$registro->moneda->simbolo}} Sub Sin IVADestino
{{$datos->cantidades}}{{$datos->producto? $datos->producto->codigo_interno : "-"}}{{$datos->origendestinoable->nombre_transaccion}} Int:{{$datos->origendestinoable->interno}} Patente:{{$datos->origendestinoable->patente}} {{$datos->descripcion}} @if($datos->variant)
({{$datos->variant->descripcion_completa}}) @endif
{{$registro->moneda->simbolo}} {{ number_format($datos->neto, 2, ',', '.') }} @if($datos->descuento > 0) {{ number_format($datos->desc_porc, 2, ',', '.') }}% @else - @endif {{ $datos->system_tax->percent_iva }} % {{$registro->moneda->simbolo}} {{ number_format($datos->iva/$datos->cantidades, 2, ',', '.') }} {{$registro->moneda->simbolo}} {{ number_format($datos->precio_con_descuento, 2, ',', '.') }}{{ $datos->origendestinoable? "{$datos->origendestinoable->nombre_transaccion} {$datos->origendestinoable->numero}" : ''}} {{ $datos->origendestinoable? "{$datos->origendestinoable->nombre_transaccion} {$datos->origendestinoable->centro_de_costo->descripcion}" : ''}} {{ $datos->origendestinoable? "{$datos->origendestinoable->nombre_transaccion} {$datos->origendestinoable->descripcion}" : ''}}