@if (!empty($records))
@foreach ($records as $key => $value) @php $item = \App\Models\Tenant\Item::select('description') ->where('id', $value->item_id) ->first(); $state = ''; if ($value->state) { $state = \Modules\Item\Models\ItemLotsGroupState::select('description') ->where('id', $value->state_id) ->first()->description; } @endphp @endforeach
# Lote Producto Fecha de vencimiento Estado Stock
{{ $loop->iteration }} {{ $value->code }} {{ $item->description }} {{ $value->date_of_due }} {{ $state }} {{ $value->quantity }}
@else

No se encontraron registros.

@endif