@extends('layouts.app') @section('content') @include('user.header') @include('user.create_modal') @include('user.edit_modal')
@if(auth()->user()->hasRole(1))
@endif
{{ $dataTable->table() }}
@endsection @push('scripts') {{ $dataTable->scripts(attributes: ['type' => 'module']) }} {{-- reload table --}} {{-- close modal --}} {{-- check if role != superadmin, client select enable --}} {{-- create function --}} {{-- delete function --}} {{-- edit function --}} {{-- update funtion --}} {{-- CHANGE STATUS function --}} @endpush