diff --git a/src/js/controller.js b/src/js/controller.js index 4872ab8..e6b6d54 100644 --- a/src/js/controller.js +++ b/src/js/controller.js @@ -229,7 +229,7 @@ angular.module('focaCrearNotaPedido') ); }; $scope.abrirModalFlete = function() { - if($scope.notaPedido.flete==='1') { + if($scope.notaPedido.flete === '1') { var modalInstance = $uibModal.open( { ariaLabelledBy: 'Busqueda de Flete', @@ -280,10 +280,10 @@ angular.module('focaCrearNotaPedido') $scope.editar = function(notaPedido) { crearNotaPedidoService.setNotaPedido(notaPedido); $location.path('/venta-nota-pedido/abm/'); - } + }; $scope.crearPedido = function() { crearNotaPedidoService.clearNotaPedido(); $location.path('/venta-nota-pedido/abm/'); - } + }; } ]);