Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Administrador consulta agenda e confirma entrada #115

Merged
merged 17 commits into from
Jul 20, 2024

Conversation

thalytalima211
Copy link
Contributor

@thalytalima211 thalytalima211 commented Jul 18, 2024

Introdução

Adminstrador agora pode consultar uma lista de visitantes cadastrados com filtros por data para monitorar as entradas
Adminstrador agora pode, a partir da lista de visitantes, confirmar a entrada de um vistante no condominio para que seja criado o registro de entrada do visitante

Objetivos

  • Administrador pode acessar Agenda de visitantes a partir do dashboard de condo
  • Na agenda o administrador pode navegar pelos dias futuros e voltar os dias ate o dia presente
  • Na agenda o administrador pode confirmar a entrada de um visitante, gerando assim um registro da entrada daquele visitante
  • As telas e rotas referentes a Agenda e confirmacao possuem autenticacao e autorizacao para o administrador super e administrador do condominio
  • As telas possuem breadcrumb

Detalhes

O dashboard agora tem um botao para acesso a agenda de visitantes
Botao para acesso a Agenda

É possivel navegar entre as datas futuras e atual, e registrar a entrada do morador
navegaçao na agenda e click de confirm

Após confirmado o visitante recebe o registro da sua entrada na lista ja existente
Lista de registro de entrada

thalytalima211 and others added 11 commits July 17, 2024 20:53
Co-authored-by: Rafael Salgado <[email protected]>
Co-authored-by: thalyta lima <[email protected]>
…artir da listagem, implementado testes de autenticacao e autorizacao alem de validacoes para que somente possa confirmar visitantes com a data de hoje

Co-authored-by: thalyta lima <[email protected]>
@RyanOxon RyanOxon changed the title Administrador consulta agenda e lista completa de visitantes/funcionários Administrador consulta agenda e confirma entrada Jul 19, 2024
@thalytalima211 thalytalima211 marked this pull request as ready for review July 19, 2024 11:43
@RyanOxon RyanOxon force-pushed the administrador-consulta-visitantes branch from 0fc395f to dc6ecaa Compare July 20, 2024 04:17
Copy link
Contributor

@ruliancruz ruliancruz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gostei do visual das listas. Aprovado, mas deixei algumas sugestões de melhoria de código.

app/controllers/visitors_controller.rb Outdated Show resolved Hide resolved
app/models/visitor.rb Show resolved Hide resolved
app/views/condos/show.html.erb Outdated Show resolved Hide resolved
app/views/visitors/find.html.erb Outdated Show resolved Hide resolved
app/views/visitors/find.html.erb Show resolved Hide resolved
app/views/visitors/index.html.erb Outdated Show resolved Hide resolved
config/locales/models/visitor.pt-br.yml Show resolved Hide resolved
Copy link
Contributor

@Vinigperuzzi Vinigperuzzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excelente

@RyanOxon RyanOxon merged commit 501dab1 into main Jul 20, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants