@extends('admin-panel::layouts.app') @section('header_title') Products @endsection @section('head_left_btn') Add Product @endsection @section('content') @if(isset($products[0]))
@foreach($products as $product) @endforeach
No Name Price Deposit Status Action
{{ $product->id }} {{ $product->title }} {{ $product->price }} {{ $product->deposit }} @if($product->is_published) @else @endif
@method('delete') @csrf
@if ($products->links()->paginator->hasPages())
{{ $products->links() }}
@endif
@else

You haven't added any products yet

@endif @vite('resources/css/app.css') @endsection