Bug perfil #26

Merged
deyvisonwanderley merged 4 commits from bug-perfil into master 2025-11-17 14:46:25 +00:00
25 changed files with 1636 additions and 1606 deletions
Showing only changes of commit 731f95d0b5 - Show all commits

View File

@@ -1307,11 +1307,18 @@
class="flex flex-col items-start justify-between gap-4 md:flex-row md:items-center" class="flex flex-col items-start justify-between gap-4 md:flex-row md:items-center"
> >
<h2 class="card-title text-lg">Filtros</h2> <h2 class="card-title text-lg">Filtros</h2>
{#if funcionario}
<button <button
type="button" type="button"
class="btn btn-primary gap-2" class="btn btn-primary gap-2"
onclick={() => (mostrarWizard = true)} onclick={() => {
if (funcionarioIdDisponivel) {
mostrarWizard = true;
}
}}
disabled={!funcionarioIdDisponivel}
title={funcionarioIdDisponivel
? 'Clique para agendar suas férias'
: 'Estamos validando seus dados de funcionário...'}
> >
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
@@ -1329,7 +1336,6 @@
</svg> </svg>
Agendar Férias Agendar Férias
</button> </button>
{/if}
</div> </div>
<div class="mt-4 grid grid-cols-1 gap-4 md:grid-cols-1"> <div class="mt-4 grid grid-cols-1 gap-4 md:grid-cols-1">
<div class="form-control"> <div class="form-control">