Commit afb7c9e6e6d4d5d682d0bd54922ce5a33eaf1d68
1 parent
c524383b8b
Exists in
master
and in
1 other branch
Arreglo de Alertas
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -498,13 +498,13 @@ angular.module('focaBusquedaCliente') |
498 | 498 | focaModalService.alert('Seleccione tipo de Factura'); |
499 | 499 | return; |
500 | 500 | } else if (!$scope.cliente.cuit1 && !$scope.cliente.cuit2 && !$scope.cliente.cuit3) { |
501 | - focaModalService.alert('Ingresar CUIT'); | |
501 | + focaModalService.alert('Ingrese CUIT'); | |
502 | 502 | return; |
503 | 503 | } else if (!$scope.cliente.cuit1 || !$scope.cliente.cuit2 || !$scope.cliente.cuit3){ |
504 | - focaModalService.alert('Cuit Incompleto'); | |
504 | + focaModalService.alert('Ingrese CUIT válido'); | |
505 | 505 | return; |
506 | 506 | } else if (!$scope.regexCuit.test($scope.cliente.cuit1 + $scope.cliente.cuit2 + $scope.cliente.cuit3) ) { |
507 | - focaModalService.alert('Debe ingresar CUIT con formato: XX-XXXXXXXX-X'); | |
507 | + focaModalService.alert('Ingrese CUIT con formato: XX-XXXXXXXX-X'); | |
508 | 508 | return; |
509 | 509 | } else if (!$scope.cliente.tipoComprobante.NOMBRE) { |
510 | 510 | focaModalService.alert('Seleccione un Comprobante'); |