@extends('admin.layouts.app') @push('styles') @include('datatable.css.data_table_css') @endpush @section('container')
@if(auth()->user()->can('supplier_create')) Create Supplier @endif

Supplier List

@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
{{--

Striped rows

Use .table-striped to add zebra-striping to any table row within the <tbody>.

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