diff --git a/citgrp-patrimonio-web/src/main/webapp/assets/js/angular/custom/controller/EntradaController.js b/citgrp-patrimonio-web/src/main/webapp/assets/js/angular/custom/controller/EntradaController.js index a84bc9e..5a8d4df 100644 --- a/citgrp-patrimonio-web/src/main/webapp/assets/js/angular/custom/controller/EntradaController.js +++ b/citgrp-patrimonio-web/src/main/webapp/assets/js/angular/custom/controller/EntradaController.js @@ -2109,6 +2109,10 @@ citApp.controller('EntradaController', ['$scope', '$timeout', 'FileUploader', 'E $scope.stepValid = false; $scope.permitidoAvancar = false; + } else if($scope.entrada.valorTotalNota < $scope.valorTotalLancado) { + + $scope.showAlert('error', $translate.instant('ALMOXARIFADO.VALIDACAO.NOTA_FISCAL_IGUAL_VALOR_INFORMADO')); + $scope.permitidoAvancar = false; } return $scope.stepValid; -- libgit2 0.21.2