Skip to content

Commit

Permalink
Consertada funcionalidade de ocultação do módulo de contribuição
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielPintoSouza committed Sep 12, 2024
1 parent 08d36fb commit fc70a61
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion BD/wegia002.sql
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ INSERT INTO `recurso` (`id_recurso`, `descricao`) VALUES
('51', 'Criar ficha médica'),
('52', 'Ficha do paciente'),
('6', 'Módulo Pet'),
('7', 'Módulo Contribuição'),
('61', 'Cadastrar Pet'),
('62', 'Saúde Pet'),
('9', 'Configurações'),
Expand All @@ -119,7 +120,8 @@ INSERT INTO `modulos_visiveis` (`id_recurso`, `visivel`) VALUES
(3, 1),
(4, 1),
(5, 1),
(6, 1);
(6, 1),
(7, 1),

INSERT INTO `permissao` (`id_cargo`, `id_acao`, `id_recurso`) VALUES
(1, 7, 1),
Expand Down
2 changes: 1 addition & 1 deletion html/home.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ function openItem(id){
</div>
</a>

<a id="home7" class="visivel" href="#" >
<a id="home7" href="#" >
<div class="col-lg-2 col-md-8 i category-item" data-toggle="collapse" href="#contribuicao">
<i class="fa-solid fa-hand-holding-heart"></i>
<h4>Contribuição</h4>
Expand Down
4 changes: 2 additions & 2 deletions html/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -405,9 +405,9 @@ function verificar_modulos(){
</li>

<!--contribuiçao-->
<li class="nav-parent nav-active visivel">
<li class="nav-parent nav-active" id="7">
<a>
<i class="fa-solid fa-building" aria-hidden="true"></i>
<i class="fa-solid fa-hand-holding-heart" aria-hidden="true"></i>
<span>Contribuição</span>
</a>
<ul class="nav nav-children">
Expand Down

0 comments on commit fc70a61

Please sign in to comment.