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


Articulos Registrados con Poca Existencia

@foreach($articulos as $art) @if ($art->stock < $art->min_stock) {{$total ++}} @endif @endforeach
Nombre Descripcion Categoria Precio Venta Precio Costo Stock
{{$art->nombre}} {{$art->descripcion}} {{$art->nomCat}} {{$art->p_venta}} {{$art->p_costo}} {{$art->stock}}

Total de Articulos: {{$total}}

@endsection @section('scripts') @endsection