Ingreso Cotización

@if (session()->has('error'))
{{ session('error') }}
@endif
@csrf
Datos Cliente :
@error('rut')

{{ $message }}

@enderror
@error('nombre')

{{ $message }}

@enderror
@error('fono')

{{ $message }}

@enderror
@error('correo')

{{ $message }}

@enderror
@error('direccion')

{{ $message }}

@enderror
@error('costoEnvio')

{{ $message }}

@enderror
@error('descuento')

{{ $message }}

@enderror
{{-- @if(session('medioPago')) --}}
Productos Venta Tienda:
@if(count($productos) && !is_null($buscar))
    @foreach($productos as $item)
    SKU: {{$item->SKU}}
    {{Str::limit($item->Titulo,37)}}

    Stock : {{$item->STOCK_TOTAL}}

    Precio: {{Currency::currency("CLP")->format(round($item->PRECIO))}}

    @endforeach
@endif @if ($mostrar)
No existe producto a mostrar
@endif @if (session()->has('NoStock'))
{{ session('NoStock') }}
@endif @if(session('cartCotizacion')) @foreach ($carro as $index => $details) @endforeach @endif
# SKU Producto Precio Stock Cantidad Subtotal Accion
{{$details['code']}} {{$details['sku']}} {{$details['name']}} {{Currency::currency("CLP")->format(round($details['price']))}} {{$details['stock']}} @error("carro.$index.cantidad") {{ $message }} @enderror {{ Currency::currency("CLP")->format(round($details['price'] * max(1, (int) $details['cantidad']))) }}
Costo Envío: {{ Currency::currency("CLP")->format(round($this->totales['costoEnvio'])) ?? 0 }}
Total Neto: {{ Currency::currency("CLP")->format(round($this->totales['neto'])) }}
IVA (19%): {{ Currency::currency("CLP")->format(round($this->totales['iva'])) }}
Total Bruto: {{ Currency::currency("CLP")->format(round($this->totales['bruto'])) }}
Descuento: {{ Currency::currency("CLP")->format(round($this->totales['descuento'])) }}
Total a Pagar: {{ Currency::currency("CLP")->format(round($this->totales['totalPagar'])) }}
@if(session('cartCotizacion'))

@endif
@push('scripts') @endpush