Commit dc10f0eefed91e15601f1d23fcf9bcc4b8e8eab2
1 parent
39a9112fe4
Exists in
master
Code styling.
Showing
2 changed files
with
4 additions
and
4 deletions
Show diff stats
gulpfile.js
src/js/controller.js
... | ... | @@ -574,7 +574,7 @@ angular.module('focaCrearRemito') .controller('remitoController', |
574 | 574 | if(key === 13) { |
575 | 575 | if($scope.articuloACargar.cantidad === undefined || |
576 | 576 | $scope.articuloACargar.cantidad === 0 || |
577 | - $scope.articuloACargar.cantidad === null ){ | |
577 | + $scope.articuloACargar.cantidad === null ) { | |
578 | 578 | focaModalService.alert('El valor debe ser al menos 1'); |
579 | 579 | return; |
580 | 580 | } |
... | ... | @@ -591,7 +591,7 @@ angular.module('focaCrearRemito') .controller('remitoController', |
591 | 591 | $scope.editarArticulo = function(key, articulo) { |
592 | 592 | if(key === 13) { |
593 | 593 | if(articulo.cantidad === null || articulo.cantidad === 0 || |
594 | - articulo.cantidad === undefined){ | |
594 | + articulo.cantidad === undefined) { | |
595 | 595 | focaModalService.alert('El valor debe ser al menos 1'); |
596 | 596 | return; |
597 | 597 | } |
... | ... | @@ -654,7 +654,7 @@ angular.module('focaCrearRemito') .controller('remitoController', |
654 | 654 | |
655 | 655 | function removeCabecera(label) { |
656 | 656 | var propiedad = $filter('filter')($scope.cabecera, {label: label}, true); |
657 | - if(propiedad.length === 1){ | |
657 | + if(propiedad.length === 1) { | |
658 | 658 | $scope.cabecera.splice($scope.cabecera.indexOf(propiedad[0]), 1); |
659 | 659 | } |
660 | 660 | } |