@extends('adminlte::page') @section('title', 'Product Management') @section('content_header')

Product Management

@stop @section('content')

Product List

@can('product-create') Create New Product @endcan
@if ($message = Session::get('success'))
@endif
@foreach ($products as $product) @endforeach
No Name Details Action
{{ ++$i }} {{ $product->name }} {{ Str::limit($product->detail, 50) }}
Show @can('product-edit') Edit @endcan @csrf @method('DELETE') @can('product-delete') @endcan
@endsection