From f7cc758d33002724017759e56e5f01ff0b669fed Mon Sep 17 00:00:00 2001 From: deyvisonwanderley Date: Tue, 4 Nov 2025 06:31:28 -0300 Subject: [PATCH] refactor: improve UI and functionality in employee registration and audit pages - Enhanced the employee registration form by adding a dependents management section, allowing users to input details such as relationship, name, CPF, and birth date. - Updated the layout and styling of the audit page, including improved statistics display and user feedback elements. - Refined the handling of user actions in the audit logs, providing clearer labels and better organization of information. - Improved the overall user experience by ensuring consistent design patterns and responsive elements across the registration and audit interfaces. --- .../atestados-licencas/+page.svelte | 158 +- .../funcionarios/cadastro/+page.svelte | 3080 ++++++++--------- .../(dashboard)/ti/auditoria/+page.svelte | 318 +- 3 files changed, 1848 insertions(+), 1708 deletions(-) diff --git a/apps/web/src/routes/(dashboard)/recursos-humanos/atestados-licencas/+page.svelte b/apps/web/src/routes/(dashboard)/recursos-humanos/atestados-licencas/+page.svelte index 31c1a52..a3ff1ad 100644 --- a/apps/web/src/routes/(dashboard)/recursos-humanos/atestados-licencas/+page.svelte +++ b/apps/web/src/routes/(dashboard)/recursos-humanos/atestados-licencas/+page.svelte @@ -702,71 +702,51 @@ {/if} - -
-
-

Filtros

-
-
- - -
+ +
-
- - -
+
+ +
-
- - -
+
+ +
-
- -
- - -
-
+
+ +
+ +
+
+ {#if eventosQuery?.data} @@ -1136,8 +1116,8 @@ : "Declaração"} - {formatarData(atestado.dataInicio)} - {formatarData(atestado.dataFim)} + {formatarData(atestado.dataInicio)} + {formatarData(atestado.dataFim)} {atestado.dias} - {formatarData(licenca.dataInicio)} - {formatarData(licenca.dataFim)} + {formatarData(licenca.dataInicio)} + {formatarData(licenca.dataFim)} {licenca.dias}
-