feat: enhance vacation approval process by adding notification system for employees, including email alerts and in-app notifications; improve error handling and user feedback during vacation management
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
import ExcelJS from 'exceljs';
|
||||
import logoGovPE from '$lib/assets/logo_governo_PE.png';
|
||||
import { toast } from 'svelte-sonner';
|
||||
import UserAvatar from '$lib/components/chat/UserAvatar.svelte';
|
||||
|
||||
const client = useConvexClient();
|
||||
const currentUser = useQuery(api.auth.getCurrentUser, {});
|
||||
@@ -673,17 +672,8 @@
|
||||
<tbody>
|
||||
{#each ausenciasFiltradas as ausencia}
|
||||
<tr>
|
||||
<td>
|
||||
<div class="flex items-center gap-3">
|
||||
<UserAvatar
|
||||
fotoPerfilUrl={ausencia.funcionario?.fotoPerfilUrl}
|
||||
nome={ausencia.funcionario?.nome || 'N/A'}
|
||||
size="sm"
|
||||
/>
|
||||
<span class="font-semibold">
|
||||
{ausencia.funcionario?.nome || 'N/A'}
|
||||
</span>
|
||||
</div>
|
||||
<td class="font-semibold">
|
||||
{ausencia.funcionario?.nome || 'N/A'}
|
||||
</td>
|
||||
<td>
|
||||
{#if ausencia.time}
|
||||
|
||||
Reference in New Issue
Block a user