Commit 090e2794604715ad847cc7354c04ea5200ffa845

Authored by Ronan Tavares Camargo
1 parent a4b343fb
Exists in master

Redmine Atendimento #4999

cit-almoxarifado-web/src/main/webapp/html/atendimentoRequisicaoConsumo/atendimentoRequisicaoConsumoEdit.html
@@ -61,12 +61,12 @@ @@ -61,12 +61,12 @@
61 ng-model="atendimentoRequisicaoConsumo.dataAtendimento" form="atendimentoRequisicaoConsumoForm" ng-obrigatorio="true" 61 ng-model="atendimentoRequisicaoConsumo.dataAtendimento" form="atendimentoRequisicaoConsumoForm" ng-obrigatorio="true"
62 ng-show="edit" ng-mode="day" ng-format="dd/MM/yyyy" /> 62 ng-show="edit" ng-mode="day" ng-format="dd/MM/yyyy" />
63 </div> 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 <p> 65 <p>
66 <small><span class="red" ><translate>ALMOXARIFADO.MSG.INFO_ATENDIMENTO_INICIADO</translate></span></small> 66 <small><span class="red" ><translate>ALMOXARIFADO.MSG.INFO_ATENDIMENTO_INICIADO</translate></span></small>
67 </p> 67 </p>
68 </div> 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 <p> 70 <p>
71 <small><span class="red"><translate>ALMOXARIFADO.MSG.INFO_ATENDIMENTOS_INICIADOS</translate></span></small> 71 <small><span class="red"><translate>ALMOXARIFADO.MSG.INFO_ATENDIMENTOS_INICIADOS</translate></span></small>
72 </p> 72 </p>
@@ -167,9 +167,13 @@ @@ -167,9 +167,13 @@
167 ng-custom-options="atendimentoRequisicaoConsumoItemEndereco as atendimentoRequisicaoConsumoItemEndereco.materialLocalEstoque.endereco.descricao for atendimentoRequisicaoConsumoItemEndereco"></label-select> 167 ng-custom-options="atendimentoRequisicaoConsumoItemEndereco as atendimentoRequisicaoConsumoItemEndereco.materialLocalEstoque.endereco.descricao for atendimentoRequisicaoConsumoItemEndereco"></label-select>
168 </td> 168 </td>
169 <td ng-show="atendimentoRequisicaoConsumoItem.atendimentoRequisicaoConsumoItemEnderecos.length > 1"> 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 </td> 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 <i class="fa fa-plus green" style="cursor: pointer;" 177 <i class="fa fa-plus green" style="cursor: pointer;"
174 ng-click="openModalEnderecosMaterial(atendimentoRequisicaoConsumoItem.$locaisEstoque, atendimentoRequisicaoConsumoItem.atendimentoRequisicaoConsumoItemEnderecos, atendimento, atendimentoRequisicaoConsumoItem)" 178 ng-click="openModalEnderecosMaterial(atendimentoRequisicaoConsumoItem.$locaisEstoque, atendimentoRequisicaoConsumoItem.atendimentoRequisicaoConsumoItemEnderecos, atendimento, atendimentoRequisicaoConsumoItem)"
175 tooltip="{{$translate.instant('ALMOXARIFADO.MSG.ATENDER_MAIS_DE_UM_ENDERECO')}}"/> 179 tooltip="{{$translate.instant('ALMOXARIFADO.MSG.ATENDER_MAIS_DE_UM_ENDERECO')}}"/>