diff --git a/public/userarea/employees.php b/public/userarea/employees.php index 93b0fd2..a2f2307 100644 --- a/public/userarea/employees.php +++ b/public/userarea/employees.php @@ -319,11 +319,7 @@ $users = $stmtUsers->fetchAll(PDO::FETCH_ASSOC); - - - No employees found - - + fetchAll(PDO::FETCH_ASSOC); + @@ -558,10 +555,12 @@ $users = $stmtUsers->fetchAll(PDO::FETCH_ASSOC); ], pageLength: 25, language: { - url: 'https://cdn.datatables.net/plug-ins/1.13.6/i18n/it-IT.json' + url: 'https://cdn.datatables.net/plug-ins/1.13.6/i18n/it-IT.json', + emptyTable: 'Nessun dipendente presente' } }); + // Select2 on user selects $('#addAuthUserId, #editAuthUserId').select2({ theme: 'bootstrap-5',