@extends('metronic.base') @section('titulo') inventario por requisiciones @endsection @section('content') @include('sessions') {{--

Ajuste de ventas

--}}

Picking con requisición


@if ($requisicion)


@endif @if ($inventario) @php $validador = 0; foreach ($inventario as $key => $in) { if ($in->contenedor->unidad_id == $detalle->unidad_id) { $validador = $validador + 1; } } @endphp
@if ($validador > 0) @php $carreo = 0; $class = ''; @endphp @foreach ($inventario as $key => $item) @php $class = ''; if ($carreo <= 0) { if ($key == 0) { $class = 'bg-warning'; } } else { $class = 'bg-warning'; } $carreo = $carreo + ($detalle->cantidad - $item->cantidad); @endphp @if ($class != '') @endif @endforeach
# Barcode Producto proveedor Lote Fecha vencimiento Cantidad Bodega Ubicaciones Unidad
{{ $key + 1 }} {{ $item->barcode }} {{ $item->productoProveedor->producto }} {{ $item->lote }} {{ $item->contenedor->fecha_vencimiento }} {{ $item->cantidad }} {{ $item->bodega->bodega }} {{ $item->locacion->ubicacion }} {{ $item->contenedor->unidad->unidad }}
@else @endif @if ($validador>0)
Ubicaciones sugeridas
@foreach ($localidadesSugeridas as $item)
{{ $item->ubicacion }}
@endforeach

@endif @endif @if ($inventarioEncontrado)
@if (count($inventarioEncontrado) > 0) @if ($detalle->producto->id == $inventarioEncontrado->first()->producto_id)
@else
{{ $inventarioEncontrado->first() }} @endif @else @endif @endif
@endsection