@php
// $urlSegments = explode('/', url()->previous());
// $type = isset($urlSegments[count($urlSegments) - 2]) ? $urlSegments[count($urlSegments) - 2] : null;
// $val = end($urlSegments);
@endphp
{{ $dataTable->table(['class' => 'table table-bordered']) }}
@section('scripts')
{{ $dataTable->scripts(attributes: ['type' => 'module']) }}
@endsection