Commit 84fa27de20fb907870b0387340fd41dd43bf061a
1 parent
2d1ef9bd21
Exists in
master
and in
1 other branch
Return en IF de validacion Email
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -496,7 +496,8 @@ angular.module('focaBusquedaCliente') |
496 | 496 | focaModalService.alert('Seleccione un cobrador'); |
497 | 497 | return; |
498 | 498 | } else if ($scope.cliente.MAIL && !validateEmails($scope.cliente.MAIL)) { |
499 | - focaModalService.alert('Ingrese un formato de email válido') | |
499 | + focaModalService.alert('Ingrese un formato de email válido'); | |
500 | + return; | |
500 | 501 | } else if (!$scope.cliente.TEL) { |
501 | 502 | focaModalService.alert('Ingrese un numero de telefono'); |
502 | 503 | return; |