@extends('admin.layouts.app') @section('title', 'Product Types List') @push('styles') @include('datatable.css.data_table_css') @endpush @section('container')
@if(auth()->user()->can('product_create')) Create Product Type @endif

Product Types List

@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
{{ $dataTable->table() }}
@endsection @push('scripts') @include('datatable.js.data_table_js') {{-- {!! $dataTable->scripts() !!} --}} {{ $dataTable->scripts(attributes: ['type' => 'module']) }} @endpush