Commit 090e2794604715ad847cc7354c04ea5200ffa845
1 parent
a4b343fb
Exists in
master
Redmine Atendimento #4999
Showing
1 changed file
with
8 additions
and
4 deletions
Show diff stats
cit-almoxarifado-web/src/main/webapp/html/atendimentoRequisicaoConsumo/atendimentoRequisicaoConsumoEdit.html
| ... | ... | @@ -61,12 +61,12 @@ |
| 61 | 61 | ng-model="atendimentoRequisicaoConsumo.dataAtendimento" form="atendimentoRequisicaoConsumoForm" ng-obrigatorio="true" |
| 62 | 62 | ng-show="edit" ng-mode="day" ng-format="dd/MM/yyyy" /> |
| 63 | 63 | </div> |
| 64 | - <div class="col-md-6" ng-if="atendimentos.length == 1"> | |
| 64 | + <div class="col-md-6" ng-if="atendimentos.length == 1 && edit"> | |
| 65 | 65 | <p> |
| 66 | 66 | <small><span class="red" ><translate>ALMOXARIFADO.MSG.INFO_ATENDIMENTO_INICIADO</translate></span></small> |
| 67 | 67 | </p> |
| 68 | 68 | </div> |
| 69 | - <div class="col-md-6" ng-if="atendimentos.length > 1"> | |
| 69 | + <div class="col-md-6" ng-if="atendimentos.length > 1 && edit"> | |
| 70 | 70 | <p> |
| 71 | 71 | <small><span class="red"><translate>ALMOXARIFADO.MSG.INFO_ATENDIMENTOS_INICIADOS</translate></span></small> |
| 72 | 72 | </p> |
| ... | ... | @@ -167,9 +167,13 @@ |
| 167 | 167 | ng-custom-options="atendimentoRequisicaoConsumoItemEndereco as atendimentoRequisicaoConsumoItemEndereco.materialLocalEstoque.endereco.descricao for atendimentoRequisicaoConsumoItemEndereco"></label-select> |
| 168 | 168 | </td> |
| 169 | 169 | <td ng-show="atendimentoRequisicaoConsumoItem.atendimentoRequisicaoConsumoItemEnderecos.length > 1"> |
| 170 | - <translate>ALMOXARIFADO.LABEL.MULTIPLOS_ENDERECOS</translate> | |
| 170 | + <a style="cursor: pointer;" | |
| 171 | + ng-click="openModalEnderecosMaterial(atendimentoRequisicaoConsumoItem.$locaisEstoque, atendimentoRequisicaoConsumoItem.atendimentoRequisicaoConsumoItemEnderecos, atendimento, atendimentoRequisicaoConsumoItem)"> | |
| 172 | + <translate>ALMOXARIFADO.LABEL.MULTIPLOS_ENDERECOS</translate> | |
| 173 | + </a> | |
| 171 | 174 | </td> |
| 172 | - <td style="padding-left: 8px; text-align: right;"> | |
| 175 | + <td style="padding-left: 8px; text-align: right;" | |
| 176 | + ng-show="atendimentoRequisicaoConsumoItem.atendimentoRequisicaoConsumoItemEnderecos.length <= 1 && edit"> | |
| 173 | 177 | <i class="fa fa-plus green" style="cursor: pointer;" |
| 174 | 178 | ng-click="openModalEnderecosMaterial(atendimentoRequisicaoConsumoItem.$locaisEstoque, atendimentoRequisicaoConsumoItem.atendimentoRequisicaoConsumoItemEnderecos, atendimento, atendimentoRequisicaoConsumoItem)" |
| 175 | 179 | tooltip="{{$translate.instant('ALMOXARIFADO.MSG.ATENDER_MAIS_DE_UM_ENDERECO')}}"/> | ... | ... |