Commit 31a343e21ad0935c40096e82848e4602e5e999da

Authored by Ronan Tavares Camargo
1 parent d94160fb
Exists in master

Redmine #4587

Showing 25 changed files with 176 additions and 49 deletions   Show diff stats
cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/ContratoController.js
@@ -1002,6 +1002,7 @@ citApp.controller('ContratoController', ['$scope', '$filter', 'FileUploader', 'C @@ -1002,6 +1002,7 @@ citApp.controller('ContratoController', ['$scope', '$filter', 'FileUploader', 'C
1002 1002
1003 $scope.contratoEmpenhoTemp = {}; 1003 $scope.contratoEmpenhoTemp = {};
1004 $scope.editEmpenho = true; 1004 $scope.editEmpenho = true;
  1005 + $scope.showButtonSalvarEmpenho = false;
1005 $scope.$openModal('modal-empenho.html', 'lg'); 1006 $scope.$openModal('modal-empenho.html', 'lg');
1006 } else { 1007 } else {
1007 $scope.showAlert('error', $translate.instant('CONTRATOS.VALIDACAO.NECESSARIO_VALOR_CONTRATO_INFO_EMPENHO')); 1008 $scope.showAlert('error', $translate.instant('CONTRATOS.VALIDACAO.NECESSARIO_VALOR_CONTRATO_INFO_EMPENHO'));
@@ -1173,6 +1174,7 @@ citApp.controller('ContratoController', ['$scope', '$filter', 'FileUploader', 'C @@ -1173,6 +1174,7 @@ citApp.controller('ContratoController', ['$scope', '$filter', 'FileUploader', 'C
1173 $scope.abrirEmpenho = function(edit) { 1174 $scope.abrirEmpenho = function(edit) {
1174 1175
1175 $scope.editEmpenho = edit; 1176 $scope.editEmpenho = edit;
  1177 + $scope.showButtonSalvarEmpenho = edit;
1176 1178
1177 $scope.contratoEmpenhoTemp = null; 1179 $scope.contratoEmpenhoTemp = null;
1178 1180
@@ -1231,6 +1233,7 @@ citApp.controller('ContratoController', ['$scope', '$filter', 'FileUploader', 'C @@ -1231,6 +1233,7 @@ citApp.controller('ContratoController', ['$scope', '$filter', 'FileUploader', 'C
1231 1233
1232 $scope.itemContratoTemp = {}; 1234 $scope.itemContratoTemp = {};
1233 $scope.editItemContrato = true; 1235 $scope.editItemContrato = true;
  1236 + $scope.showButtonSalvarItem = false;
1234 $scope.$openModal('modal-item-contrato.html', 'lg'); 1237 $scope.$openModal('modal-item-contrato.html', 'lg');
1235 } else { 1238 } else {
1236 $scope.showAlert('error', $translate.instant('CONTRATOS.VALIDACAO.NECESSARIO_VALOR_CONTRATO_INFO_ITENS_CONTRATO')); 1239 $scope.showAlert('error', $translate.instant('CONTRATOS.VALIDACAO.NECESSARIO_VALOR_CONTRATO_INFO_ITENS_CONTRATO'));
@@ -1370,6 +1373,7 @@ citApp.controller('ContratoController', ['$scope', '$filter', 'FileUploader', 'C @@ -1370,6 +1373,7 @@ citApp.controller('ContratoController', ['$scope', '$filter', 'FileUploader', 'C
1370 $scope.abrirItemContrato = function(edit) { 1373 $scope.abrirItemContrato = function(edit) {
1371 1374
1372 $scope.editItemContrato = edit; 1375 $scope.editItemContrato = edit;
  1376 + $scope.showButtonSalvarItem = edit;
1373 1377
1374 $scope.itemContratoTemp = null; 1378 $scope.itemContratoTemp = null;
1375 1379
@@ -1423,6 +1427,7 @@ citApp.controller('ContratoController', ['$scope', '$filter', 'FileUploader', 'C @@ -1423,6 +1427,7 @@ citApp.controller('ContratoController', ['$scope', '$filter', 'FileUploader', 'C
1423 $scope.openModalContratoEnvolvido = function() { 1427 $scope.openModalContratoEnvolvido = function() {
1424 1428
1425 $scope.editEnvolvido = true; 1429 $scope.editEnvolvido = true;
  1430 + $scope.showButtonSalvarEnvolvido = false;
1426 $scope.contratoEnvolvidoTemp = {justificativas : []}; 1431 $scope.contratoEnvolvidoTemp = {justificativas : []};
1427 $scope.contrato.ctrtEnvolvidos.forEach(function(item){ 1432 $scope.contrato.ctrtEnvolvidos.forEach(function(item){
1428 if(item.$checked){ 1433 if(item.$checked){
@@ -1603,6 +1608,7 @@ citApp.controller('ContratoController', ['$scope', '$filter', 'FileUploader', 'C @@ -1603,6 +1608,7 @@ citApp.controller('ContratoController', ['$scope', '$filter', 'FileUploader', 'C
1603 $scope.visualizarEditarContratoEnvolvido = function(edit) { 1608 $scope.visualizarEditarContratoEnvolvido = function(edit) {
1604 1609
1605 $scope.editEnvolvido = edit; 1610 $scope.editEnvolvido = edit;
  1611 + $scope.showButtonSalvarEnvolvido = edit;
1606 $scope.contratoEnvolvidoTemp = null; 1612 $scope.contratoEnvolvidoTemp = null;
1607 // recupera o item de contrato selecionado 1613 // recupera o item de contrato selecionado
1608 $scope.contratoEnvolvidoTemp = $scope.getCheckedContratoEnvolvido(); 1614 $scope.contratoEnvolvidoTemp = $scope.getCheckedContratoEnvolvido();
cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/CronogramaExecucaoController.js
@@ -107,6 +107,7 @@ citApp.controller('CronogramaExecucaoController', ['$scope', '$translate', '$tim @@ -107,6 +107,7 @@ citApp.controller('CronogramaExecucaoController', ['$scope', '$translate', '$tim
107 107
108 if ($scope.cronogramaExecucao.contrato) { 108 if ($scope.cronogramaExecucao.contrato) {
109 $scope.editItemCronograma = true; 109 $scope.editItemCronograma = true;
  110 + $scope.showButtonSalvarItem = false;
110 111
111 limparItemCronogramaExecucao(); 112 limparItemCronogramaExecucao();
112 113
@@ -264,6 +265,7 @@ citApp.controller('CronogramaExecucaoController', ['$scope', '$translate', '$tim @@ -264,6 +265,7 @@ citApp.controller('CronogramaExecucaoController', ['$scope', '$translate', '$tim
264 265
265 limparItemCronogramaExecucao(); 266 limparItemCronogramaExecucao();
266 $scope.editItemCronograma = edit; 267 $scope.editItemCronograma = edit;
  268 + $scope.showButtonSalvarItem = edit;
267 269
268 var lista = recuperarItensSelecionadas(); 270 var lista = recuperarItensSelecionadas();
269 if (lista.length === 0) { 271 if (lista.length === 0) {
cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/EstudoTecnicoController.js
@@ -546,7 +546,8 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository @@ -546,7 +546,8 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository
546 }); 546 });
547 547
548 $scope.editRequisitoNegocio = true; 548 $scope.editRequisitoNegocio = true;
549 - 549 + $scope.showButtonSalvar = false;
  550 +
550 $scope.reqNegocio = {}; 551 $scope.reqNegocio = {};
551 552
552 $timeout(function() { 553 $timeout(function() {
@@ -576,6 +577,7 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository @@ -576,6 +577,7 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository
576 577
577 $scope.openModalSolucao = function() { 578 $scope.openModalSolucao = function() {
578 $scope.editSolucao = true; 579 $scope.editSolucao = true;
  580 + $scope.showButtonSalvarSolucao = false;
579 581
580 resetModalSolucao(); 582 resetModalSolucao();
581 583
@@ -586,6 +588,7 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository @@ -586,6 +588,7 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository
586 588
587 $scope.openModalBensServico = function() { 589 $scope.openModalBensServico = function() {
588 $scope.editBemServico = true; 590 $scope.editBemServico = true;
  591 + $scope.showButtonSalvarBens = false;
589 592
590 $scope.bemServico = {}; 593 $scope.bemServico = {};
591 594
@@ -597,6 +600,7 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository @@ -597,6 +600,7 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository
597 $scope.openModalBeneficioEsperado = function() { 600 $scope.openModalBeneficioEsperado = function() {
598 601
599 $scope.editBeneficioEsperado = true; 602 $scope.editBeneficioEsperado = true;
  603 + $scope.showButtonSalvarBeneficio = false;
600 604
601 $scope.beneficioEsperado = {}; 605 $scope.beneficioEsperado = {};
602 606
@@ -613,7 +617,9 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository @@ -613,7 +617,9 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository
613 }; 617 };
614 618
615 $scope.editRecursoMaterial = true; 619 $scope.editRecursoMaterial = true;
616 - $scope.$openModal('modal-recurso-material.html', 'lg'); 620 + $scope.showButtonSalvarRMaterial = false;
  621 +
  622 + $scope.$openModal('modal-recurso-material.html', 'lg');
617 }; 623 };
618 624
619 // Responsavel por abrir modal de adicao de um recurso humano 625 // Responsavel por abrir modal de adicao de um recurso humano
@@ -621,11 +627,13 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository @@ -621,11 +627,13 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository
621 627
622 $scope.estudoTecnicoRecursoHumanoTemp = {}; 628 $scope.estudoTecnicoRecursoHumanoTemp = {};
623 $scope.editRecursoHumano = true; 629 $scope.editRecursoHumano = true;
  630 + $scope.showButtonSalvarRHumano = false;
624 $scope.$openModal('modal-recurso-humano.html', 'lg'); 631 $scope.$openModal('modal-recurso-humano.html', 'lg');
625 }; 632 };
626 633
627 $scope.openModalAcaoContingencia = function() { 634 $scope.openModalAcaoContingencia = function() {
628 $scope.editAcaoCont = true; 635 $scope.editAcaoCont = true;
  636 + $scope.showButtonSalvarAcaoCont = false;
629 637
630 $scope.acaoCont = {}; 638 $scope.acaoCont = {};
631 639
@@ -641,6 +649,7 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository @@ -641,6 +649,7 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository
641 }); 649 });
642 650
643 $scope.editRequisitoNegocio = edit; 651 $scope.editRequisitoNegocio = edit;
  652 + $scope.showButtonSalvar = edit;
644 653
645 $scope.reqNegocio = null; 654 $scope.reqNegocio = null;
646 // recupera a EstudoTecnico selecionada 655 // recupera a EstudoTecnico selecionada
@@ -668,6 +677,7 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository @@ -668,6 +677,7 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository
668 $scope.abrirSolucao = function(edit) { 677 $scope.abrirSolucao = function(edit) {
669 678
670 $scope.editSolucao = edit; 679 $scope.editSolucao = edit;
  680 + $scope.showButtonSalvarSolucao = edit;
671 681
672 $scope.solucao = null; 682 $scope.solucao = null;
673 683
@@ -701,6 +711,7 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository @@ -701,6 +711,7 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository
701 $scope.abrirBensServico = function(edit) { 711 $scope.abrirBensServico = function(edit) {
702 712
703 $scope.editBemServico = edit; 713 $scope.editBemServico = edit;
  714 + $scope.showButtonSalvarBens = edit;
704 715
705 $scope.bemServico = null; 716 $scope.bemServico = null;
706 717
@@ -726,6 +737,7 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository @@ -726,6 +737,7 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository
726 $scope.abrirBeneficioEsperado = function(edit) { 737 $scope.abrirBeneficioEsperado = function(edit) {
727 738
728 $scope.editBeneficioEsperado = edit; 739 $scope.editBeneficioEsperado = edit;
  740 + $scope.showButtonSalvarBeneficio = edit;
729 741
730 $scope.beneficioEsperado = null; 742 $scope.beneficioEsperado = null;
731 743
@@ -752,22 +764,23 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository @@ -752,22 +764,23 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository
752 $scope.abrirRecursoMaterial = function(edit) { 764 $scope.abrirRecursoMaterial = function(edit) {
753 765
754 $scope.editRecursoMaterial = edit; 766 $scope.editRecursoMaterial = edit;
  767 + $scope.showButtonSalvarRMaterial = edit;
755 768
756 $scope.estudoTecnicoRecursoMaterialTemp = null; 769 $scope.estudoTecnicoRecursoMaterialTemp = null;
757 770
758 - var recursosMateriaisSelecionados = $scope.getRecursoMaterialChecked(); 771 + var recursosMateriaisSelecionados = $scope.getRecursoMaterialChecked();
759 772
760 if (recursosMateriaisSelecionados.length > 1) { 773 if (recursosMateriaisSelecionados.length > 1) {
761 $scope.showAlert('warning', edit? $translate.instant('MSG.SELECIONE_APENAS_UM_ITEM_PARA_EDICAO') : $translate.instant('MSG.SELECIONE_APENAS_UM_ITEM_PARA_VISUALIZACAO')); 774 $scope.showAlert('warning', edit? $translate.instant('MSG.SELECIONE_APENAS_UM_ITEM_PARA_EDICAO') : $translate.instant('MSG.SELECIONE_APENAS_UM_ITEM_PARA_VISUALIZACAO'));
762 - return; 775 + return;
763 } 776 }
764 777
765 - if(recursosMateriaisSelecionados.length === 0) {  
766 - $scope.showAlert('warning', edit? $translate.instant('MSG.SELECIONE_UM_ITEM_PARA_EDICAO') : $translate.instant('MSG.SELECIONE_UM_ITEM_PARA_VISUALIZACAO'));  
767 - return;  
768 - } 778 + if(recursosMateriaisSelecionados.length === 0) {
  779 + $scope.showAlert('warning', edit? $translate.instant('MSG.SELECIONE_UM_ITEM_PARA_EDICAO') : $translate.instant('MSG.SELECIONE_UM_ITEM_PARA_VISUALIZACAO'));
  780 + return;
  781 + }
769 782
770 - $scope.estudoTecnicoRecursoMaterialTemp = recursosMateriaisSelecionados[0]; 783 + $scope.estudoTecnicoRecursoMaterialTemp = recursosMateriaisSelecionados[0];
771 784
772 $timeout(function() { 785 $timeout(function() {
773 $scope.$openModal('modal-recurso-material.html', 'lg'); 786 $scope.$openModal('modal-recurso-material.html', 'lg');
@@ -778,6 +791,7 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository @@ -778,6 +791,7 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository
778 $scope.abrirRecursoHumano = function(edit) { 791 $scope.abrirRecursoHumano = function(edit) {
779 792
780 $scope.editRecursoHumano = edit; 793 $scope.editRecursoHumano = edit;
  794 + $scope.showButtonSalvarRHumano = edit;
781 795
782 $scope.estudoTecnicoRecursoHumanoTemp = null; 796 $scope.estudoTecnicoRecursoHumanoTemp = null;
783 797
@@ -803,6 +817,7 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository @@ -803,6 +817,7 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository
803 $scope.abrirAcaoContingencia = function(edit) { 817 $scope.abrirAcaoContingencia = function(edit) {
804 818
805 $scope.editAcaoCont = edit; 819 $scope.editAcaoCont = edit;
  820 + $scope.showButtonSalvarAcaoCont = edit;
806 821
807 $scope.acaoCont = null; 822 $scope.acaoCont = null;
808 823
cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/EstudoTecnicoListController.js
@@ -75,7 +75,7 @@ citApp.controller('EstudoTecnicoListController', ['$scope', 'EstudoTecnicoReposi @@ -75,7 +75,7 @@ citApp.controller('EstudoTecnicoListController', ['$scope', 'EstudoTecnicoReposi
75 75
76 EstudoTecnicoRepository.remove(estudoTecnico).then(function(result) { 76 EstudoTecnicoRepository.remove(estudoTecnico).then(function(result) {
77 $scope.showAlert('success', $translate.instant('MSG.REGISTRO_EXCLUIDO')); 77 $scope.showAlert('success', $translate.instant('MSG.REGISTRO_EXCLUIDO'));
78 - $scope.atualizarLista('estudoTecnicoListControllerId'); 78 + angular.element('#EstudoTecnicoListControllerId').scope().fetchResult();
79 }); 79 });
80 80
81 }; 81 };
cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/ObjetivoEstrategicoController.js
@@ -35,6 +35,7 @@ citApp.controller('ObjetivoEstrategicoController', ['$scope', '$translate', '$ti @@ -35,6 +35,7 @@ citApp.controller('ObjetivoEstrategicoController', ['$scope', '$translate', '$ti
35 $scope.openModalNecessidade = function() { 35 $scope.openModalNecessidade = function() {
36 36
37 $scope.editNecessidade = true; 37 $scope.editNecessidade = true;
  38 + $scope.showButtonSalvar = false;
38 39
39 $scope.objetivoEstrategicoNecessidade = {}; 40 $scope.objetivoEstrategicoNecessidade = {};
40 41
@@ -193,6 +194,7 @@ citApp.controller('ObjetivoEstrategicoController', ['$scope', '$translate', '$ti @@ -193,6 +194,7 @@ citApp.controller('ObjetivoEstrategicoController', ['$scope', '$translate', '$ti
193 $scope.editarNecessidade = function(edit) { 194 $scope.editarNecessidade = function(edit) {
194 195
195 $scope.editNecessidade = edit; 196 $scope.editNecessidade = edit;
  197 + $scope.showButtonSalvar = true;
196 198
197 var lista = recuperarNecessidadesSelecionadas(); 199 var lista = recuperarNecessidadesSelecionadas();
198 if (lista.length === 0) { 200 if (lista.length === 0) {
cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/OrdemFornecimentoController.js
@@ -71,6 +71,7 @@ citApp.controller('OrdemFornecimentoController', ['$scope', 'OrdemFornecimentoRe @@ -71,6 +71,7 @@ citApp.controller('OrdemFornecimentoController', ['$scope', 'OrdemFornecimentoRe
71 $scope.openModalItensBensServicos = function() { 71 $scope.openModalItensBensServicos = function() {
72 72
73 $scope.editItem = true; 73 $scope.editItem = true;
  74 + $scope.showButtonSalvarItem = false;
74 75
75 $scope.item = {}; 76 $scope.item = {};
76 77
@@ -91,6 +92,7 @@ citApp.controller('OrdemFornecimentoController', ['$scope', 'OrdemFornecimentoRe @@ -91,6 +92,7 @@ citApp.controller('OrdemFornecimentoController', ['$scope', 'OrdemFornecimentoRe
91 $scope.abrirItensBensServicos = function(edit) { 92 $scope.abrirItensBensServicos = function(edit) {
92 93
93 $scope.editItem = edit; 94 $scope.editItem = edit;
  95 + $scope.showButtonSalvarItem = edit;
94 96
95 $scope.item = null; 97 $scope.item = null;
96 // recupera a EstudoTecnico selecionada 98 // recupera a EstudoTecnico selecionada
cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/ProgramaController.js
@@ -37,6 +37,7 @@ citApp.controller('ProgramaController', ['$scope', '$translate', '$timeout', 'Pr @@ -37,6 +37,7 @@ citApp.controller('ProgramaController', ['$scope', '$translate', '$timeout', 'Pr
37 $scope.openModalProgramaAcao = function() { 37 $scope.openModalProgramaAcao = function() {
38 38
39 $scope.editProgramaAcao = true; 39 $scope.editProgramaAcao = true;
  40 + $scope.showButtonSalvar = false;
40 41
41 $scope.programaAcao = {}; 42 $scope.programaAcao = {};
42 43
@@ -58,7 +59,7 @@ citApp.controller('ProgramaController', ['$scope', '$translate', '$timeout', 'Pr @@ -58,7 +59,7 @@ citApp.controller('ProgramaController', ['$scope', '$translate', '$timeout', 'Pr
58 } 59 }
59 60
60 $scope.limparProgramaAcao(); 61 $scope.limparProgramaAcao();
61 - 62 +
62 if (continuar) { 63 if (continuar) {
63 formDialogProgramaAcao.$submitted = false; 64 formDialogProgramaAcao.$submitted = false;
64 formDialogProgramaAcao.$setPristine(); 65 formDialogProgramaAcao.$setPristine();
@@ -189,6 +190,7 @@ citApp.controller('ProgramaController', ['$scope', '$translate', '$timeout', 'Pr @@ -189,6 +190,7 @@ citApp.controller('ProgramaController', ['$scope', '$translate', '$timeout', 'Pr
189 $scope.editAcao = function(edit) { 190 $scope.editAcao = function(edit) {
190 191
191 $scope.editProgramaAcao = edit; 192 $scope.editProgramaAcao = edit;
  193 + $scope.showButtonSalvar = true;
192 194
193 var lista = recuperarAcoesSelecionadas(); 195 var lista = recuperarAcoesSelecionadas();
194 if (lista.length === 0) { 196 if (lista.length === 0) {
cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/TermoReferenciaController.js
@@ -61,10 +61,12 @@ citApp.controller('TermoReferenciaController', ['$scope', @@ -61,10 +61,12 @@ citApp.controller('TermoReferenciaController', ['$scope',
61 //Dados da tabela de Justificativa de Contratacao 61 //Dados da tabela de Justificativa de Contratacao
62 $scope.headers = [{ 62 $scope.headers = [{
63 title : $translate.instant('LABEL.NECESSIDADE_NEGOCIO'), 63 title : $translate.instant('LABEL.NECESSIDADE_NEGOCIO'),
64 - value : 'objetivoEstrategicoNecessidade.descricao' 64 + value : 'objetivoEstrategicoNecessidade.descricao',
  65 + align : 'text-left'
65 },{ 66 },{
66 title : $translate.instant('LABEL.JUSTIFICATIVA'), 67 title : $translate.instant('LABEL.JUSTIFICATIVA'),
67 - value : 'justificativaNecessidade' 68 + value : 'justificativaNecessidade',
  69 + align : 'text-left'
68 }]; 70 }];
69 71
70 $scope.fields = [ 'id', 'objetivoEstrategicoNecessidade.descricao', 'justificativaNecessidade']; 72 $scope.fields = [ 'id', 'objetivoEstrategicoNecessidade.descricao', 'justificativaNecessidade'];
@@ -91,10 +93,12 @@ citApp.controller('TermoReferenciaController', ['$scope', @@ -91,10 +93,12 @@ citApp.controller('TermoReferenciaController', ['$scope',
91 //Dados da tabela de Beneficios Esperados 93 //Dados da tabela de Beneficios Esperados
92 $scope.headersBeneficios = [{ 94 $scope.headersBeneficios = [{
93 title : $translate.instant('LABEL.BENEFICIO'), 95 title : $translate.instant('LABEL.BENEFICIO'),
94 - value : 'beneficioEsperado' 96 + value : 'beneficioEsperado',
  97 + align : 'text-left'
95 },{ 98 },{
96 title : $translate.instant('LABEL.DESCRICAO'), 99 title : $translate.instant('LABEL.DESCRICAO'),
97 - value : 'descricaoBeneficioEsperado' 100 + value : 'descricaoBeneficioEsperado',
  101 + align : 'text-left'
98 }]; 102 }];
99 103
100 $scope.fieldsBeneficios = [ 'id', 'beneficioEsperado', 'descricaoBeneficioEsperado']; 104 $scope.fieldsBeneficios = [ 'id', 'beneficioEsperado', 'descricaoBeneficioEsperado'];
@@ -286,6 +290,7 @@ citApp.controller('TermoReferenciaController', ['$scope', @@ -286,6 +290,7 @@ citApp.controller('TermoReferenciaController', ['$scope',
286 290
287 $scope.openModalDetalhamentoSolucao = function() { 291 $scope.openModalDetalhamentoSolucao = function() {
288 $scope.edicao = false; 292 $scope.edicao = false;
  293 + $scope.showButtonSalvarDetalhamento = false;
289 $scope.termoReferenciaDetalhamentoSolucao = {}; 294 $scope.termoReferenciaDetalhamentoSolucao = {};
290 $scope.editDetalhamento = true; 295 $scope.editDetalhamento = true;
291 // $scope.atualizaListaEtBensServicos(); 296 // $scope.atualizaListaEtBensServicos();
@@ -300,6 +305,7 @@ citApp.controller('TermoReferenciaController', ['$scope', @@ -300,6 +305,7 @@ citApp.controller('TermoReferenciaController', ['$scope',
300 305
301 $scope.penalidade = {}; 306 $scope.penalidade = {};
302 $scope.editPenalidade = true; 307 $scope.editPenalidade = true;
  308 + $scope.showButtonSalvarPenalidade = false;
303 309
304 $timeout(function() { 310 $timeout(function() {
305 $scope.$openModal('modal-penalidade.html', 'lg'); 311 $scope.$openModal('modal-penalidade.html', 'lg');
@@ -310,6 +316,7 @@ citApp.controller('TermoReferenciaController', ['$scope', @@ -310,6 +316,7 @@ citApp.controller('TermoReferenciaController', ['$scope',
310 316
311 $scope.sancao = {}; 317 $scope.sancao = {};
312 $scope.editSancao = true; 318 $scope.editSancao = true;
  319 + $scope.showButtonSalvarSancao = false;
313 320
314 $timeout(function() { 321 $timeout(function() {
315 $scope.$openModal('modal-sancao.html', 'lg'); 322 $scope.$openModal('modal-sancao.html', 'lg');
@@ -755,6 +762,7 @@ citApp.controller('TermoReferenciaController', ['$scope', @@ -755,6 +762,7 @@ citApp.controller('TermoReferenciaController', ['$scope',
755 $scope.termoReferenciaDetalhamentoSolucao = clone($scope.getDetalhamentoSolucaoChecked()); 762 $scope.termoReferenciaDetalhamentoSolucao = clone($scope.getDetalhamentoSolucaoChecked());
756 $scope.edicao = true; 763 $scope.edicao = true;
757 $scope.editDetalhamento = edit; 764 $scope.editDetalhamento = edit;
  765 + $scope.showButtonSalvarDetalhamento = edit;
758 766
759 $scope.bemServicoSolucaoValidatorId = $scope.termoReferenciaDetalhamentoSolucao.bemServicoSolucao.id; 767 $scope.bemServicoSolucaoValidatorId = $scope.termoReferenciaDetalhamentoSolucao.bemServicoSolucao.id;
760 768
@@ -783,6 +791,7 @@ citApp.controller('TermoReferenciaController', ['$scope', @@ -783,6 +791,7 @@ citApp.controller('TermoReferenciaController', ['$scope',
783 $scope.penalidade = clone($scope.getPenalidadeChecked()); 791 $scope.penalidade = clone($scope.getPenalidadeChecked());
784 792
785 $scope.editPenalidade = edit; 793 $scope.editPenalidade = edit;
  794 + $scope.showButtonSalvarPenalidade = edit;
786 795
787 if(!edit && !$scope.penalidade) { 796 if(!edit && !$scope.penalidade) {
788 $scope.showAlert('warning', $translate.instant('MSG.SELECIONE_UM_ITEM_PARA_VISUALIZACAO')); 797 $scope.showAlert('warning', $translate.instant('MSG.SELECIONE_UM_ITEM_PARA_VISUALIZACAO'));
@@ -804,6 +813,7 @@ citApp.controller('TermoReferenciaController', ['$scope', @@ -804,6 +813,7 @@ citApp.controller('TermoReferenciaController', ['$scope',
804 $scope.sancao = clone($scope.getSancaoChecked()); 813 $scope.sancao = clone($scope.getSancaoChecked());
805 814
806 $scope.editSancao = edit; 815 $scope.editSancao = edit;
  816 + $scope.showButtonSalvarSancao = edit;
807 817
808 if(!edit && !$scope.sancao) { 818 if(!edit && !$scope.sancao) {
809 $scope.showAlert('warning', $translate.instant('MSG.SELECIONE_UM_ITEM_PARA_VISUALIZACAO')); 819 $scope.showAlert('warning', $translate.instant('MSG.SELECIONE_UM_ITEM_PARA_VISUALIZACAO'));
cit-contratos-web/src/main/webapp/html/contrato/dialog_empenho.html
1 <ng-form name="formDialogEmpenho" autocomplete="off"> 1 <ng-form name="formDialogEmpenho" autocomplete="off">
2 <div class="modal-header"> 2 <div class="modal-header">
3 <button title="{{$translate.instant('LABEL.ADICIONAR')}}" alt="{{$translate.instant('LABEL.ADICIONAR')}}" 3 <button title="{{$translate.instant('LABEL.ADICIONAR')}}" alt="{{$translate.instant('LABEL.ADICIONAR')}}"
4 - ng-click="adicionarEmpenho(formDialogEmpenho, false)" ng-if="editEmpenho" class="btn btn-clear" type="button"> 4 + ng-click="adicionarEmpenho(formDialogEmpenho, false)" ng-if="editEmpenho && !showButtonSalvarEmpenho" class="btn btn-clear" type="button">
5 <i class="fa fa-save green"></i> 5 <i class="fa fa-save green"></i>
6 <translate>LABEL.ADICIONAR</translate> 6 <translate>LABEL.ADICIONAR</translate>
7 </button> 7 </button>
8 8
  9 + <button title="{{$translate.instant('LABEL.SALVAR')}}" alt="{{$translate.instant('LABEL.SALVAR')}}"
  10 + ng-click="adicionarEmpenho(formDialogEmpenho, false)" ng-if="editEmpenho && showButtonSalvarEmpenho" class="btn btn-clear" type="button">
  11 + <i class="fa fa-save green"></i>
  12 + <translate>LABEL.SALVAR</translate>
  13 + </button>
  14 +
9 <button title="{{$translate.instant('LABEL.ADICIONAR_CONTINUAR')}}" alt="{{$translate.instant('LABEL.ADICIONAR_CONTINUAR')}}" 15 <button title="{{$translate.instant('LABEL.ADICIONAR_CONTINUAR')}}" alt="{{$translate.instant('LABEL.ADICIONAR_CONTINUAR')}}"
10 - ng-click="adicionarEmpenho(formDialogEmpenho, true)" ng-if="editEmpenho" class="btn btn-clear" type="button"> 16 + ng-click="adicionarEmpenho(formDialogEmpenho, true)" ng-if="editEmpenho && !showButtonSalvarEmpenho" class="btn btn-clear" type="button">
11 <i class="fa fa-save green"></i> 17 <i class="fa fa-save green"></i>
12 <translate>LABEL.ADICIONAR_CONTINUAR</translate> 18 <translate>LABEL.ADICIONAR_CONTINUAR</translate>
13 </button> 19 </button>
cit-contratos-web/src/main/webapp/html/contrato/dialog_envolvido.html
1 <ng-form name="formDialogEnvolvido" autocomplete="off"> 1 <ng-form name="formDialogEnvolvido" autocomplete="off">
2 <div class="modal-header"> 2 <div class="modal-header">
3 <button title="{{$translate.instant('LABEL.ADICIONAR')}}" alt="{{$translate.instant('LABEL.ADICIONAR')}}" 3 <button title="{{$translate.instant('LABEL.ADICIONAR')}}" alt="{{$translate.instant('LABEL.ADICIONAR')}}"
4 - ng-click="adicionarContratoEnvolvido(formDialogEnvolvido, false)" ng-if="editEnvolvido" class="btn btn-clear" type="button"> 4 + ng-click="adicionarContratoEnvolvido(formDialogEnvolvido, false)" ng-if="editEnvolvido && !showButtonSalvarEnvolvido" class="btn btn-clear" type="button">
5 <i class="fa fa-save green"></i> 5 <i class="fa fa-save green"></i>
6 <translate>LABEL.ADICIONAR</translate> 6 <translate>LABEL.ADICIONAR</translate>
7 </button> 7 </button>
  8 + <button title="{{$translate.instant('LABEL.SALVAR')}}" alt="{{$translate.instant('LABEL.SALVAR')}}"
  9 + ng-click="adicionarContratoEnvolvido(formDialogEnvolvido, false)" ng-if="editEnvolvido && showButtonSalvarEnvolvido" class="btn btn-clear" type="button">
  10 + <i class="fa fa-save green"></i>
  11 + <translate>LABEL.SALVAR</translate>
  12 + </button>
8 <button title="{{$translate.instant('LABEL.ADICIONAR_NOVO')}}" alt="{{$translate.instant('LABEL.ADICIONAR_NOVO')}}" 13 <button title="{{$translate.instant('LABEL.ADICIONAR_NOVO')}}" alt="{{$translate.instant('LABEL.ADICIONAR_NOVO')}}"
9 - ng-click="adicionarContratoEnvolvido(formDialogEnvolvido, true)" ng-show="editEnvolvido && !hasAlteracaoEnvolvido" class="btn btn-clear" type="button"> 14 + ng-click="adicionarContratoEnvolvido(formDialogEnvolvido, true)" ng-show="editEnvolvido && !hasAlteracaoEnvolvido && !showButtonSalvarEnvolvido" class="btn btn-clear" type="button">
10 <i class="fa fa-save green"></i> 15 <i class="fa fa-save green"></i>
11 <translate>LABEL.ADICIONAR_CONTINUAR</translate> 16 <translate>LABEL.ADICIONAR_CONTINUAR</translate>
12 </button> 17 </button>
cit-contratos-web/src/main/webapp/html/contrato/dialog_item_contrato.html
1 <ng-form name="formDialogItemContrato" autocomplete="off"> 1 <ng-form name="formDialogItemContrato" autocomplete="off">
2 <div class="modal-header"> 2 <div class="modal-header">
3 <button title="{{$translate.instant('LABEL.ADICIONAR')}}" alt="{{$translate.instant('LABEL.ADICIONAR')}}" 3 <button title="{{$translate.instant('LABEL.ADICIONAR')}}" alt="{{$translate.instant('LABEL.ADICIONAR')}}"
4 - ng-click="adicionarItemContrato(formDialogItemContrato, false)" ng-if="editItemContrato" class="btn btn-clear" type="button"> 4 + ng-click="adicionarItemContrato(formDialogItemContrato, false)" ng-if="editItemContrato && !showButtonSalvarItem" class="btn btn-clear" type="button">
5 <i class="fa fa-save green"></i> 5 <i class="fa fa-save green"></i>
6 <translate>LABEL.ADICIONAR</translate> 6 <translate>LABEL.ADICIONAR</translate>
7 </button> 7 </button>
8 8
  9 + <button title="{{$translate.instant('LABEL.SALVAR')}}" alt="{{$translate.instant('LABEL.SALVAR')}}"
  10 + ng-click="adicionarItemContrato(formDialogItemContrato, false)" ng-if="editItemContrato && showButtonSalvarItem" class="btn btn-clear" type="button">
  11 + <i class="fa fa-save green"></i>
  12 + <translate>LABEL.SALVAR</translate>
  13 + </button>
  14 +
9 <button title="{{$translate.instant('LABEL.ADICIONAR_CONTINUAR')}}" alt="{{$translate.instant('LABEL.ADICIONAR_CONTINUAR')}}" 15 <button title="{{$translate.instant('LABEL.ADICIONAR_CONTINUAR')}}" alt="{{$translate.instant('LABEL.ADICIONAR_CONTINUAR')}}"
10 - ng-click="adicionarItemContrato(formDialogItemContrato, true)" ng-if="editItemContrato" class="btn btn-clear" type="button"> 16 + ng-click="adicionarItemContrato(formDialogItemContrato, true)" ng-if="editItemContrato && !showButtonSalvarItem" class="btn btn-clear" type="button">
11 <i class="fa fa-save green"></i> 17 <i class="fa fa-save green"></i>
12 <translate>LABEL.ADICIONAR_CONTINUAR</translate> 18 <translate>LABEL.ADICIONAR_CONTINUAR</translate>
13 </button> 19 </button>
cit-contratos-web/src/main/webapp/html/cronogramaExecucao/dialog_itens_cronograma.html
1 <ng-form name="formDialogItemCronogramaExecucao" autocomplete="off"> 1 <ng-form name="formDialogItemCronogramaExecucao" autocomplete="off">
2 <div class="modal-header"> 2 <div class="modal-header">
3 - <button class="btn btn-clear" type="button" ng-if="editItemCronograma" ng-click="addItemCronogramaExecucao(formDialogItemCronogramaExecucao, false)"> 3 + <button class="btn btn-clear" type="button" ng-if="editItemCronograma && !showButtonSalvarItem" ng-click="addItemCronogramaExecucao(formDialogItemCronogramaExecucao, false)">
4 <i class="fa fa-save green"></i> 4 <i class="fa fa-save green"></i>
5 <translate>LABEL.ADICIONAR</translate> 5 <translate>LABEL.ADICIONAR</translate>
6 </button> 6 </button>
7 7
8 - <button class="btn btn-clear" type="button" ng-if="editItemCronograma" ng-click="addItemCronogramaExecucao(formDialogItemCronogramaExecucao, true)"> 8 + <button class="btn btn-clear" type="button" ng-if="editItemCronograma && showButtonSalvarItem" ng-click="addItemCronogramaExecucao(formDialogItemCronogramaExecucao, false)">
  9 + <i class="fa fa-save green"></i>
  10 + <translate>LABEL.SALVAR</translate>
  11 + </button>
  12 +
  13 + <button class="btn btn-clear" type="button" ng-if="editItemCronograma && !showButtonSalvarItem" ng-click="addItemCronogramaExecucao(formDialogItemCronogramaExecucao, true)">
9 <i class="fa fa-save green"></i> 14 <i class="fa fa-save green"></i>
10 <translate>LABEL.ADICIONAR_CONTINUAR</translate> 15 <translate>LABEL.ADICIONAR_CONTINUAR</translate>
11 </button> 16 </button>
cit-contratos-web/src/main/webapp/html/estudoTecnico/dialog_acao_contingencia.html
1 <ng-form name="formDialogAcaoContingencia" autocomplete="off"> 1 <ng-form name="formDialogAcaoContingencia" autocomplete="off">
2 <div class="modal-header"> 2 <div class="modal-header">
3 - <button class="btn btn-clear" type="button" ng-if="editAcaoCont" ng-click="salvaAcaoCont(formDialogAcaoContingencia, false)"> 3 + <button class="btn btn-clear" type="button" ng-if="editAcaoCont && !showButtonSalvarAcaoCont" ng-click="salvaAcaoCont(formDialogAcaoContingencia, false)">
  4 + <i class="fa fa-save green"></i>
  5 + <translate>LABEL.ADICIONAR</translate>
  6 + </button>
  7 +
  8 + <button class="btn btn-clear" type="button" ng-if="editAcaoCont && showButtonSalvarAcaoCont" ng-click="salvaAcaoCont(formDialogAcaoContingencia, false)">
4 <i class="fa fa-save green"></i> 9 <i class="fa fa-save green"></i>
5 <translate>LABEL.SALVAR</translate> 10 <translate>LABEL.SALVAR</translate>
6 </button> 11 </button>
7 12
8 - <button class="btn btn-clear" type="button" ng-if="editAcaoCont" ng-click="salvaAcaoCont(formDialogAcaoContingencia, true)"> 13 + <button class="btn btn-clear" type="button" ng-if="editAcaoCont && !showButtonSalvarAcaoCont" ng-click="salvaAcaoCont(formDialogAcaoContingencia, true)">
9 <i class="fa fa-save green"></i> 14 <i class="fa fa-save green"></i>
10 <translate>LABEL.ADICIONAR_CONTINUAR</translate> 15 <translate>LABEL.ADICIONAR_CONTINUAR</translate>
11 </button> 16 </button>
cit-contratos-web/src/main/webapp/html/estudoTecnico/dialog_beneficio_esperado.html
1 <ng-form name="formDialogBeneficioEsperado" autocomplete="off"> 1 <ng-form name="formDialogBeneficioEsperado" autocomplete="off">
2 <div class="modal-header"> 2 <div class="modal-header">
3 - <button class="btn btn-clear" type="button" ng-if="editBeneficioEsperado" ng-click="salvaBeneficioEsperado(formDialogBeneficioEsperado, false)"> 3 + <button class="btn btn-clear" type="button" ng-if="editBeneficioEsperado && !showButtonSalvarBeneficio" ng-click="salvaBeneficioEsperado(formDialogBeneficioEsperado, false)">
  4 + <i class="fa fa-save green"></i>
  5 + <translate>LABEL.ADICIONAR</translate>
  6 + </button>
  7 +
  8 + <button class="btn btn-clear" type="button" ng-if="editBeneficioEsperado && showButtonSalvarBeneficio" ng-click="salvaBeneficioEsperado(formDialogBeneficioEsperado, false)">
4 <i class="fa fa-save green"></i> 9 <i class="fa fa-save green"></i>
5 <translate>LABEL.SALVAR</translate> 10 <translate>LABEL.SALVAR</translate>
6 </button> 11 </button>
7 12
8 - <button class="btn btn-clear" type="button" ng-if="editBeneficioEsperado" ng-click="salvaBeneficioEsperado(formDialogBeneficioEsperado, true)"> 13 + <button class="btn btn-clear" type="button" ng-if="editBeneficioEsperado && !showButtonSalvarBeneficio" ng-click="salvaBeneficioEsperado(formDialogBeneficioEsperado, true)">
9 <i class="fa fa-save green"></i> 14 <i class="fa fa-save green"></i>
10 <translate>LABEL.ADICIONAR_CONTINUAR</translate> 15 <translate>LABEL.ADICIONAR_CONTINUAR</translate>
11 </button> 16 </button>
cit-contratos-web/src/main/webapp/html/estudoTecnico/dialog_bens_servico.html
1 <ng-form name="formDialogBensServico" autocomplete="off"> 1 <ng-form name="formDialogBensServico" autocomplete="off">
2 <div class="modal-header"> 2 <div class="modal-header">
3 - <button class="btn btn-clear" type="button" ng-if="editBemServico" ng-click="salvaBemServico(formDialogBensServico, false)"> 3 + <button class="btn btn-clear" type="button" ng-if="editBemServico && !showButtonSalvarBens" ng-click="salvaBemServico(formDialogBensServico, false)">
  4 + <i class="fa fa-save green"></i>
  5 + <translate>LABEL.ADICIONAR</translate>
  6 + </button>
  7 +
  8 + <button class="btn btn-clear" type="button" ng-if="editBemServico && showButtonSalvarBens" ng-click="salvaBemServico(formDialogBensServico, false)">
4 <i class="fa fa-save green"></i> 9 <i class="fa fa-save green"></i>
5 <translate>LABEL.SALVAR</translate> 10 <translate>LABEL.SALVAR</translate>
6 </button> 11 </button>
7 12
8 - <button class="btn btn-clear" type="button" ng-if="editBemServico" ng-click="salvaBemServico(formDialogBensServico, true)"> 13 + <button class="btn btn-clear" type="button" ng-if="editBemServico && !showButtonSalvarBens" ng-click="salvaBemServico(formDialogBensServico, true)">
9 <i class="fa fa-save green"></i> 14 <i class="fa fa-save green"></i>
10 <translate>LABEL.ADICIONAR_CONTINUAR</translate> 15 <translate>LABEL.ADICIONAR_CONTINUAR</translate>
11 </button> 16 </button>
cit-contratos-web/src/main/webapp/html/estudoTecnico/dialog_recurso_humano.html
1 <ng-form name="formDialogRecursoHumano" autocomplete="off"> 1 <ng-form name="formDialogRecursoHumano" autocomplete="off">
2 <div class="modal-header"> 2 <div class="modal-header">
3 - <button class="btn btn-clear" type="button" ng-if="editRecursoHumano" ng-click="salvaRecursoHumano(formDialogRecursoHumano, false)"> 3 + <button class="btn btn-clear" type="button" ng-if="editRecursoHumano && !showButtonSalvarRHumano" ng-click="salvaRecursoHumano(formDialogRecursoHumano, false)">
  4 + <i class="fa fa-save green"></i>
  5 + <translate>LABEL.ADICIONAR</translate>
  6 + </button>
  7 +
  8 + <button class="btn btn-clear" type="button" ng-if="editRecursoHumano && showButtonSalvarRHumano" ng-click="salvaRecursoHumano(formDialogRecursoHumano, false)">
4 <i class="fa fa-save green"></i> 9 <i class="fa fa-save green"></i>
5 <translate>LABEL.SALVAR</translate> 10 <translate>LABEL.SALVAR</translate>
6 </button> 11 </button>
7 12
8 - <button class="btn btn-clear" type="button" ng-if="editRecursoHumano" ng-click="salvaRecursoHumano(formDialogRecursoHumano, true)"> 13 + <button class="btn btn-clear" type="button" ng-if="editRecursoHumano && !showButtonSalvarRHumano" ng-click="salvaRecursoHumano(formDialogRecursoHumano, true)">
9 <i class="fa fa-save green"></i> 14 <i class="fa fa-save green"></i>
10 <translate>LABEL.ADICIONAR_CONTINUAR</translate> 15 <translate>LABEL.ADICIONAR_CONTINUAR</translate>
11 </button> 16 </button>
cit-contratos-web/src/main/webapp/html/estudoTecnico/dialog_recurso_material.html
1 <ng-form name="formDialogRecursoMaterial" autocomplete="off"> 1 <ng-form name="formDialogRecursoMaterial" autocomplete="off">
2 <div class="modal-header"> 2 <div class="modal-header">
3 - <button class="btn btn-clear" type="button" ng-if="editRecursoMaterial" ng-click="salvaRecursoMaterial(formDialogRecursoMaterial, false)"> 3 + <button class="btn btn-clear" type="button" ng-if="editRecursoMaterial && !showButtonSalvarRMaterial" ng-click="salvaRecursoMaterial(formDialogRecursoMaterial, false)">
  4 + <i class="fa fa-save green"></i>
  5 + <translate>LABEL.ADICIONAR</translate>
  6 + </button>
  7 +
  8 + <button class="btn btn-clear" type="button" ng-if="editRecursoMaterial && showButtonSalvarRMaterial" ng-click="salvaRecursoMaterial(formDialogRecursoMaterial, false)">
4 <i class="fa fa-save green"></i> 9 <i class="fa fa-save green"></i>
5 <translate>LABEL.SALVAR</translate> 10 <translate>LABEL.SALVAR</translate>
6 </button> 11 </button>
7 12
8 - <button class="btn btn-clear" type="button" ng-if="editRecursoMaterial" ng-click="salvaRecursoMaterial(formDialogRecursoMaterial, true)"> 13 + <button class="btn btn-clear" type="button" ng-if="editRecursoMaterial && !showButtonSalvarRMaterial" ng-click="salvaRecursoMaterial(formDialogRecursoMaterial, true)">
9 <i class="fa fa-save green"></i> 14 <i class="fa fa-save green"></i>
10 <translate>LABEL.ADICIONAR_CONTINUAR</translate> 15 <translate>LABEL.ADICIONAR_CONTINUAR</translate>
11 </button> 16 </button>
cit-contratos-web/src/main/webapp/html/estudoTecnico/dialog_requisito_negocio.html
1 <ng-form name="formDialogRequisitoNegocio" autocomplete="off"> 1 <ng-form name="formDialogRequisitoNegocio" autocomplete="off">
2 <div class="modal-header"> 2 <div class="modal-header">
3 - <button class="btn btn-clear" type="button" ng-if="editRequisitoNegocio" ng-click="salvaRequisitoNegocio(formDialogRequisitoNegocio, false)"> 3 + <button class="btn btn-clear" type="button" ng-if="editRequisitoNegocio && !showButtonSalvar" ng-click="salvaRequisitoNegocio(formDialogRequisitoNegocio, false)">
4 <i class="fa fa-save green"></i> 4 <i class="fa fa-save green"></i>
5 <translate>LABEL.ADICIONAR</translate> 5 <translate>LABEL.ADICIONAR</translate>
6 </button> 6 </button>
7 - <button class="btn btn-clear" type="button" ng-if="editRequisitoNegocio" ng-click="salvaRequisitoNegocio(formDialogRequisitoNegocio, true)"> 7 +
  8 + <button class="btn btn-clear" type="button" ng-if="editRequisitoNegocio && showButtonSalvar" ng-click="salvaRequisitoNegocio(formDialogRequisitoNegocio, false)">
  9 + <i class="fa fa-save green"></i>
  10 + <translate>LABEL.SALVAR</translate>
  11 + </button>
  12 +
  13 + <button class="btn btn-clear" type="button" ng-if="editRequisitoNegocio && !showButtonSalvar" ng-click="salvaRequisitoNegocio(formDialogRequisitoNegocio, true)">
8 <i class="fa fa-save green"></i> 14 <i class="fa fa-save green"></i>
9 <translate>LABEL.ADICIONAR_CONTINUAR</translate> 15 <translate>LABEL.ADICIONAR_CONTINUAR</translate>
10 </button> 16 </button>
cit-contratos-web/src/main/webapp/html/estudoTecnico/dialog_solucao.html
1 <ng-form name="formDialogSolucao" autocomplete="off"> 1 <ng-form name="formDialogSolucao" autocomplete="off">
2 <div class="modal-header"> 2 <div class="modal-header">
3 - <button class="btn btn-clear" type="button" ng-if="editSolucao" ng-click="salvaSolucao(formDialogSolucao, false)"> 3 + <button class="btn btn-clear" type="button" ng-if="editSolucao && !showButtonSalvarSolucao" ng-click="salvaSolucao(formDialogSolucao, false)">
  4 + <i class="fa fa-save green"></i>
  5 + <translate>LABEL.ADICIONAR</translate>
  6 + </button>
  7 +
  8 + <button class="btn btn-clear" type="button" ng-if="editSolucao && showButtonSalvarSolucao" ng-click="salvaSolucao(formDialogSolucao, false)">
4 <i class="fa fa-save green"></i> 9 <i class="fa fa-save green"></i>
5 <translate>LABEL.SALVAR</translate> 10 <translate>LABEL.SALVAR</translate>
6 </button> 11 </button>
7 12
8 - <button class="btn btn-clear" type="button" ng-if="editSolucao" ng-click="salvaSolucao(formDialogSolucao, true)"> 13 + <button class="btn btn-clear" type="button" ng-if="editSolucao && !showButtonSalvarSolucao" ng-click="salvaSolucao(formDialogSolucao, true)">
9 <i class="fa fa-save green"></i> 14 <i class="fa fa-save green"></i>
10 <translate>LABEL.ADICIONAR_CONTINUAR</translate> 15 <translate>LABEL.ADICIONAR_CONTINUAR</translate>
11 </button> 16 </button>
cit-contratos-web/src/main/webapp/html/objetivoEstrategico/dialog_necessidade.html
1 <ng-form name="formDialogNecessidade" autocomplete="off"> 1 <ng-form name="formDialogNecessidade" autocomplete="off">
2 <div class="modal-header"> 2 <div class="modal-header">
3 - <button class="btn btn-clear" type="button" ng-if="editNecessidade" ng-click="addNecessidade(formDialogNecessidade, false)"> 3 + <button class="btn btn-clear" type="button" ng-if="editNecessidade && !showButtonSalvar" ng-click="addNecessidade(formDialogNecessidade, false)">
4 <i class="fa fa-save green"></i> 4 <i class="fa fa-save green"></i>
5 <translate>LABEL.ADICIONAR</translate> 5 <translate>LABEL.ADICIONAR</translate>
6 </button> 6 </button>
7 7
8 - <button class="btn btn-clear" type="button" ng-if="editNecessidade" ng-click="addNecessidade(formDialogNecessidade, true)"> 8 + <button class="btn btn-clear" type="button" ng-if="editNecessidade && showButtonSalvar" ng-click="addNecessidade(formDialogNecessidade, false)">
  9 + <i class="fa fa-save green"></i>
  10 + <translate>LABEL.SALVAR</translate>
  11 + </button>
  12 +
  13 + <button class="btn btn-clear" type="button" ng-if="editNecessidade && !showButtonSalvar" ng-click="addNecessidade(formDialogNecessidade, true)">
9 <i class="fa fa-save green"></i> 14 <i class="fa fa-save green"></i>
10 <translate>LABEL.ADICIONAR_CONTINUAR</translate> 15 <translate>LABEL.ADICIONAR_CONTINUAR</translate>
11 </button> 16 </button>
cit-contratos-web/src/main/webapp/html/ordemFornecimento/dialog_itens_bens_servicos.html
1 <ng-form name="formDialogItem" autocomplete="off"> 1 <ng-form name="formDialogItem" autocomplete="off">
2 <div class="modal-header"> 2 <div class="modal-header">
3 - <button class="btn btn-clear" type="button" ng-if="editItem" ng-click="salvaItem(formDialogItem, false)"> 3 + <button class="btn btn-clear" type="button" ng-if="editItem && !showButtonSalvarItem" ng-click="salvaItem(formDialogItem, false)">
  4 + <i class="fa fa-save green"></i>
  5 + <translate>LABEL.ADICIONAR</translate>
  6 + </button>
  7 +
  8 + <button class="btn btn-clear" type="button" ng-if="editItem && showButtonSalvarItem" ng-click="salvaItem(formDialogItem, false)">
4 <i class="fa fa-save green"></i> 9 <i class="fa fa-save green"></i>
5 <translate>LABEL.SALVAR</translate> 10 <translate>LABEL.SALVAR</translate>
6 </button> 11 </button>
7 12
8 - <button class="btn btn-clear" type="button" ng-if="editItem" ng-click="salvaItem(formDialogItem, true)"> 13 + <button class="btn btn-clear" type="button" ng-if="editItem && !showButtonSalvarItem" ng-click="salvaItem(formDialogItem, true)">
9 <i class="fa fa-save green"></i> 14 <i class="fa fa-save green"></i>
10 <translate>LABEL.ADICIONAR_CONTINUAR</translate> 15 <translate>LABEL.ADICIONAR_CONTINUAR</translate>
11 </button> 16 </button>
cit-contratos-web/src/main/webapp/html/programa/dialog_programa_acao.html
1 <ng-form name="formDialogProgramaAcao" autocomplete="off"> 1 <ng-form name="formDialogProgramaAcao" autocomplete="off">
2 <div class="modal-header"> 2 <div class="modal-header">
3 - <button class="btn btn-clear" type="button" ng-if="editProgramaAcao" ng-click="addAcao(formDialogProgramaAcao, false)"> 3 + <button class="btn btn-clear" type="button" ng-if="editProgramaAcao && !showButtonSalvar" ng-click="addAcao(formDialogProgramaAcao, false)">
4 <i class="fa fa-save green"></i> 4 <i class="fa fa-save green"></i>
5 <translate>LABEL.ADICIONAR</translate> 5 <translate>LABEL.ADICIONAR</translate>
6 </button> 6 </button>
7 7
8 - <button class="btn btn-clear" type="button" ng-if="editProgramaAcao" ng-click="addAcao(formDialogProgramaAcao, true)"> 8 + <button class="btn btn-clear" type="button" ng-if="editProgramaAcao && showButtonSalvar" ng-click="addAcao(formDialogProgramaAcao, false)">
  9 + <i class="fa fa-save green"></i>
  10 + <translate>LABEL.SALVAR</translate>
  11 + </button>
  12 +
  13 + <button class="btn btn-clear" type="button" ng-if="editProgramaAcao && !showButtonSalvar" ng-click="addAcao(formDialogProgramaAcao, true)">
9 <i class="fa fa-save green"></i> 14 <i class="fa fa-save green"></i>
10 <translate>LABEL.ADICIONAR_CONTINUAR</translate> 15 <translate>LABEL.ADICIONAR_CONTINUAR</translate>
11 </button> 16 </button>
cit-contratos-web/src/main/webapp/html/termoReferencia/dialog_detalhamento_solucao.html
1 <ng-form name="formDetalhamentoSolucao" autocomplete="off"> 1 <ng-form name="formDetalhamentoSolucao" autocomplete="off">
2 <div class="modal-header"> 2 <div class="modal-header">
3 - <button class="btn btn-clear" type="button" ng-click="addDetalhamentoSolucao(formDetalhamentoSolucao, false)" ng-show="editDetalhamento"> 3 + <button class="btn btn-clear" type="button" ng-click="addDetalhamentoSolucao(formDetalhamentoSolucao, false)" ng-show="editDetalhamento && !showButtonSalvarDetalhamento">
  4 + <i class="fa fa-save green"></i>
  5 + <translate>LABEL.ADICIONAR</translate>
  6 + </button>
  7 +
  8 + <button class="btn btn-clear" type="button" ng-click="addDetalhamentoSolucao(formDetalhamentoSolucao, false)" ng-show="editDetalhamento && showButtonSalvarDetalhamento">
4 <i class="fa fa-save green"></i> 9 <i class="fa fa-save green"></i>
5 <translate>LABEL.SALVAR</translate> 10 <translate>LABEL.SALVAR</translate>
6 </button> 11 </button>
7 12
8 - <button class="btn btn-clear" type="button" ng-click="addDetalhamentoSolucao(formDetalhamentoSolucao, true)" ng-show="editDetalhamento"> 13 + <button class="btn btn-clear" type="button" ng-click="addDetalhamentoSolucao(formDetalhamentoSolucao, true)" ng-show="editDetalhamento && !showButtonSalvarDetalhamento">
9 <i class="fa fa-save green"></i> 14 <i class="fa fa-save green"></i>
10 <translate>LABEL.ADICIONAR_CONTINUAR</translate> 15 <translate>LABEL.ADICIONAR_CONTINUAR</translate>
11 </button> 16 </button>
cit-contratos-web/src/main/webapp/html/termoReferencia/dialog_penalidade.html
1 <ng-form name="formPenalidade" autocomplete="off"> 1 <ng-form name="formPenalidade" autocomplete="off">
2 <div class="modal-header"> 2 <div class="modal-header">
3 - <button class="btn btn-clear" type="button" ng-click="addPenalidade(formPenalidade, false)" ng-show="editPenalidade"> 3 + <button class="btn btn-clear" type="button" ng-click="addPenalidade(formPenalidade, false)" ng-show="editPenalidade && !showButtonSalvarPenalidade">
  4 + <i class="fa fa-save green"></i>
  5 + <translate>LABEL.ADICIONAR</translate>
  6 + </button>
  7 +
  8 + <button class="btn btn-clear" type="button" ng-click="addPenalidade(formPenalidade, false)" ng-show="editPenalidade && showButtonSalvarPenalidade">
4 <i class="fa fa-save green"></i> 9 <i class="fa fa-save green"></i>
5 <translate>LABEL.SALVAR</translate> 10 <translate>LABEL.SALVAR</translate>
6 </button> 11 </button>
7 12
8 - <button class="btn btn-clear" type="button" ng-click="addPenalidade(formPenalidade, true)" ng-show="editPenalidade"> 13 + <button class="btn btn-clear" type="button" ng-click="addPenalidade(formPenalidade, true)" ng-show="editPenalidade && !showButtonSalvarPenalidade">
9 <i class="fa fa-save green"></i> 14 <i class="fa fa-save green"></i>
10 <translate>LABEL.ADICIONAR_CONTINUAR</translate> 15 <translate>LABEL.ADICIONAR_CONTINUAR</translate>
11 </button> 16 </button>
cit-contratos-web/src/main/webapp/html/termoReferencia/dialog_sancao.html
1 <ng-form name="formSancao" autocomplete="off"> 1 <ng-form name="formSancao" autocomplete="off">
2 <div class="modal-header"> 2 <div class="modal-header">
3 - <button class="btn btn-clear" type="button" ng-click="addSancao(formSancao, false)" ng-show="editSancao"> 3 + <button class="btn btn-clear" type="button" ng-click="addSancao(formSancao, false)" ng-show="editSancao && !showButtonSalvarSancao">
  4 + <i class="fa fa-save green"></i>
  5 + <translate>LABEL.ADICIONAR</translate>
  6 + </button>
  7 +
  8 + <button class="btn btn-clear" type="button" ng-click="addSancao(formSancao, false)" ng-show="editSancao && showButtonSalvarSancao">
4 <i class="fa fa-save green"></i> 9 <i class="fa fa-save green"></i>
5 <translate>LABEL.SALVAR</translate> 10 <translate>LABEL.SALVAR</translate>
6 </button> 11 </button>
7 12
8 - <button class="btn btn-clear" type="button" ng-click="addSancao(formSancao, true)" ng-show="editSancao"> 13 + <button class="btn btn-clear" type="button" ng-click="addSancao(formSancao, true)" ng-show="editSancao && !showButtonSalvarSancao">
9 <i class="fa fa-save green"></i> 14 <i class="fa fa-save green"></i>
10 <translate>LABEL.ADICIONAR_CONTINUAR</translate> 15 <translate>LABEL.ADICIONAR_CONTINUAR</translate>
11 </button> 16 </button>