Commit f8af67032a8f8c6725d9c57beccc4e5c3a9e7256
1 parent
a9fd099a59
Exists in
master
and in
1 other branch
limpia cisternas al salir de un vehiculo
Showing
2 changed files
with
5 additions
and
0 deletions
Show diff stats
src/js/controller.js
src/js/service.js
| ... | ... | @@ -45,6 +45,9 @@ angular.module('focaAbmVehiculo') |
| 45 | 45 | deleteCisterna: function(idx) { |
| 46 | 46 | cisternas[idx].desactivado = true; |
| 47 | 47 | }, |
| 48 | + cleanCisternas: function() { | |
| 49 | + cisternas = []; | |
| 50 | + }, | |
| 48 | 51 | getVehiculosPorTransportista: function(id) { |
| 49 | 52 | return $http.get(API_ENDPOINT.URL + '/vehiculo/transportista/' + id); |
| 50 | 53 | }, |