Commit 7b348d3bbe23403bfd8b1576407e8c97a4ca1f95

Authored by Jose Pinto
Exists in master

Merge branch 'master' into 'develop'

Master(efernandez)

See merge request !44
src/js/controllerCerrarVehiculo.js
... ... @@ -40,7 +40,11 @@ angular.module('focaLogisticaPedidoRuta')
40 40 };
41 41 focaLogisticaPedidoRutaService.cerrarDistribuicion(cierreDistribuicion)
42 42 .then(function() {
43   - focaModalService.alert('Vehículo cerrado con éxito');
  43 + focaModalService
  44 + .alert('Vehículo cerrado con éxito')
  45 + .then(function() {
  46 + $scope.cancelar();
  47 + });
44 48 }
45 49 );
46 50 };