@extends('layouts.tecnico.app') @section('content')
{{-- HEADER --}}

Gestão de Stock

Controle de entradas e saídas de produtos
{{-- FILTRO --}}
{{-- LISTAGEM --}}
@forelse($products as $product) @php $category = $product->category->name ?? '-'; $mainImage = $product->images->where('is_primary',1)->first() ?? $product->images->first(); @endphp
{{-- IMAGEM --}}
@if($product->is_featured) ⭐ Destaque @endif
{{-- CONTEÚDO --}}
{{ $product->name }}
{{ $category }}
Marca: {{ $product->brand ?? '-' }}
{{-- STOCK --}}
Stock atual {{ $product->quantity }}
{{-- FORM --}}
@csrf @method('PATCH')
@empty

Nenhum produto encontrado.

@endforelse
{{-- EMPTY STATE --}}

Nenhum produto corresponde à pesquisa.

{{-- JS FILTRO --}} {{-- ESTILO PREMIUM --}} @endsection