@if (session('success')) @endif
@if(request('search')) Clear @endif
@if(auth()->check() && auth()->user()->hasRole('Admin')) @if(request('trashed') === 'only') View Active @else View Deleted @endif @endif @can('products.add') Add vehicles @endcan
@if(request('trashed') === 'only')
Showing Soft Deleted Vehicles / Products.
@endif
@forelse($products as $product) @empty @endforelse
# Product Name Actions
{{ $product->id }} {{ $product->name }}
@can('products.edit') Edit @endcan @can('products.delete')
@csrf @method('DELETE')
@endcan
No vehicles found.
{{ $products->appends(request()->query())->links('pagination::bootstrap-5') }}