Skip to content

Commit

Permalink
Merge pull request #2318 from juliolobo/Ajuste-Permissão-Menu
Browse files Browse the repository at this point in the history
Ajuste de permissão no menu e no card do painel
  • Loading branch information
willph authored Jan 20, 2024
2 parents d88fe78 + 03748ad commit aaa9f01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion application/views/mapos/painel.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
</li>
<?php endif ?>

<?php if ($this->permission->checkPermission($this->session->userdata('permissao'), 'vGarantia')) : ?>
<?php if ($this->permission->checkPermission($this->session->userdata('permissao'), 'vLancamento')) : ?>
<li class="card">
<div class="grid-blak">
<a href="<?= site_url('financeiro/lancamentos') ?>">
Expand Down
2 changes: 1 addition & 1 deletion application/views/tema/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
</a>
</li>
<?php } ?>
<?php if ($this->permission->checkPermission($this->session->userdata('permissao'), 'vLancamento')) { ?>
<?php if ($this->permission->checkPermission($this->session->userdata('permissao'), 'vCobranca')) { ?>
<li class="<?php if (isset($menuCobrancas)) {
echo 'active';
}; ?>">
Expand Down

0 comments on commit aaa9f01

Please sign in to comment.