Commit a1c0c6ebff1c5725b71f4b20edf55dbb3e60e9c4
1 parent
d7023a735c
Exists in
master
and in
2 other branches
si el remito excede la capacidad devuelve true
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -36,7 +36,7 @@ angular.module('focaModalDetalleCisternas') |
36 | 36 | if (idRemito !== -1 && !validarCargas(res[1].data, res[2].data)) { |
37 | 37 | focaModalService.alert('Los artículos del remito exceden ' + |
38 | 38 | 'la cantidad disponible del vehiculo'); |
39 | - $uibModalInstance.close(); | |
39 | + $uibModalInstance.close(true); | |
40 | 40 | return; |
41 | 41 | } |
42 | 42 | $scope.cargandoDatos = false; |