Skip to content

Commit

Permalink
refactor: provide access to alterar_situacao orcamento
Browse files Browse the repository at this point in the history
- super Admin have access to list of alterar_situação_orc
  • Loading branch information
elfiservice committed Aug 3, 2017
1 parent 5e21f57 commit 885fb1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modulos/tecnico/orcamento/editar_orcamento.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
</a>
</li>
<?php
if ($situacao_orc == "Aguardando aprovação" || $_SESSION['id'] == $id_colab && $situacao_orc != "concluido") {
if (($situacao_orc == "Aguardando aprovação" || $_SESSION['id'] == $id_colab || $_SESSION['id'] == 1 ) && $situacao_orc != "concluido") {
?>
<li>
<form name="alterar_situcao_orc" action="?ano_orc=<?php echo date('Y'); ?>&id_orc=<?php echo $id; ?>&id_menu=orcamento/editar_orcamento&itens_situcao_orc=" method="POST" enctype="multipart/form-data">
Expand Down

0 comments on commit 885fb1c

Please sign in to comment.