@extends('metronic.base') @section('extracss') @endsection @section('extrajs') @endsection @section('titulo') Ajuste de ventas @endsection @section('content') @include('sessions') {{--

Ajuste de ventas

--}}
@if ($bodegaActual!=null)


@if ($ordenVenta!=null)


@endif
@if($ordenVentaDetalleId != null)
@php $bodega = Help::usuarioBodegaActiva()->bodega ; @endphp

{{ $ordenVentaDetalle->producto->producto }}

@if ($ordenVentaDetalle->combo_id != null)
{{ $ordenVentaDetalle->combo->combo }}
@endif
Disponibilidad en inventario en la bodega: {{ $bodega->bodega }} / {{ $bodega->direccion }}
Cantidad restante: {{ $ordenVentaDetalle->cantidad - $ordenVentaDetalle->cantidad_sacada }}
@if (count($inventario)>0) @foreach ($inventario as $key=> $inv) @endforeach
# Localidad Cantidad
{{ $key+1 }} {{ $inv->locacion->ubicacion }} {{ $inv->cantidad }}
@else @endif
@endif @if($barcode!=null)
@if($mensajeProductoInventario!="") @else
@php $cantidadASacar= $ordenVentaDetalle->cantidad - $ordenVentaDetalle->cantidad_sacada; @endphp @if ($cantidadASacar > $inventarioBarcode[0]->cantidad) @php $cantidadASacar = $inventarioBarcode[0]->cantidad; @endphp @endif
@endif @endif @else @endif
@endsection