Commit 545359b418a3aa9084576b771a9ec3ee292a1ccf
Exists in
master
Merge branch 'master' into 'master'
validacion flete See merge request modulos-npm/foca-crear-nota-pedido!50
Showing
2 changed files
Show diff stats
src/js/businessService.js
src/js/controller.js
... | ... | @@ -128,7 +128,7 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', |
128 | 128 | } else if(!$scope.plazosPagos) { |
129 | 129 | focaModalService.alert('Ingrese Precios y Condiciones'); |
130 | 130 | return; |
131 | - } else if(!$scope.notaPedido.flete) { | |
131 | + } else if($scope.notaPedido.flete === undefined) { | |
132 | 132 | focaModalService.alert('Ingrese Flete'); |
133 | 133 | return; |
134 | 134 | } else if(!$scope.notaPedido.domicilio.id) { |