@extends('layouts.admin.index') @section('content')
Search Products
@if(request()->hasAny(['search', 'temperature']))
Search results: {{ $products->total() }} product found
@endif
Data Products
@csrf @foreach($products as $index => $product) @endforeach
No Name Image Description Ingredient Temperature Update Images
{{ $products->firstItem() + $index }} {{ $product->name }} @if($product->image) {{ $product->name }} @else No image available @endif
{{ $products->links('pagination::bootstrap-4') }}
@endsection