@extends('tenant.layouts.app') @section('content')

Consulta de inventarios

{{csrf_field()}} {{--
--}}
@if(!empty($reports) && $reports->count())
{{csrf_field()}}
@if(isset($reports))
{{csrf_field()}} {{-- --}}
{{csrf_field()}} {{-- --}}
@endif
@foreach($reports as $key => $value) @endforeach
# Descripción Categoria Inventario actual Precio de venta Costo Marca F. vencimiento Almacén
{{$loop->iteration}} {{$value->item->internal_id ?? ''}} {{$value->item->internal_id ? '-':''}} {{$value->item->description ?? ''}} {{optional($value->item->category)->name}} {{$value->stock}} {{$value->item->sale_unit_price}} {{$value->item->purchase_unit_price}} {{ $value->item->brand->name }} {{ $value->item->date_of_due }} {{$value->warehouse->description}}
Total {{$reports->total()}}
@else
No se encontraron registros
@endif
@endsection @push('scripts') @endpush