{{ csrf_field() }} @if(isset($venta) && is_object($venta)) @foreach($venta as $v) @if(!empty($dte)) @endif @endforeach @endif
@if(isset($v->usuario_nombre) && !empty($dte))
{{ $v->usuario_nombre }}
@else
@endif
@php $regiones = \FCR::getRegiones(); @endphp
@foreach($tipo as $t) {{ $t->dte_tipo_nombre }} @endforeach
@if(isset($documento) && $documento != 15)
@endif
@if(isset($documento) && $documento == 15) @php $tipos_traslado = \DTE::getTiposTrasladoDTE(); @endphp
@else
@if(isset($v->bodega_nombre) && !empty($dte)) {{ $v->bodega_nombre }} @else @endif
@endif @if(empty($dte))
@endif
@if(isset($productos) && is_object($productos)) @foreach($productos as $p) @php $num = $p->producto_detalle_id; $producto_detalle_id = $p->producto_detalle_id; $codigo = $p->producto_codigo_sku; if(!empty($p->dte_detalle_descripcion)) { $titulo = $p->dte_detalle_descripcion; } else { $titulo = $p->url_h1; } $cantidad = $p->dte_detalle_cantidad; $precio_normal = $p->dte_detalle_precio; $precio_oferta = $p->dte_detalle_oferta; $subtotal = $p->dte_detalle_total; $stock = (int)$p->producto_stock; $porcentaje = \FCR::porcentajeDscto($p->dte_detalle_precio, $p->dte_detalle_oferta); if($precio_oferta == $precio_normal) { $precio_oferta = 0; } $con_stock = 'true'; @endphp @include('dashboard.cotizaciones.table-producto') @endforeach @else @php $num = 1; $con_stock = 'true'; @endphp @include('dashboard.cotizaciones.table-producto') @endif
Código Producto * Descripción Cantidad * Precio Normal Descuento (%) Precio Oferta Stock Subtotal
@include('dashboard.cotizaciones.total-cotizacion')
@if($documento != 18)
@endif
@if(!isset($v->dte_id))
@endif