Commit 044d46dbfe25afa591afba30e21eb9c3125e8635
Exists in
master
and in
1 other branch
Merge branch 'master' into 'master'
Master(efernandez) See merge request !22
Showing
3 changed files
Show diff stats
src/js/controller.js
| ... | ... | @@ -269,8 +269,9 @@ angular.module('focaLogisticaPedidoRuta') .controller('focaLogisticaPedidoRutaCo |
| 269 | 269 | } |
| 270 | 270 | }); |
| 271 | 271 | } |
| 272 | - $interval(function() { | |
| 273 | - getSeguimiento(); | |
| 274 | - }, 5000); | |
| 272 | + // TODO: descomentar en produccion | |
| 273 | + // $interval(function() { | |
| 274 | + // getSeguimiento(); | |
| 275 | + // }, 5000); | |
| 275 | 276 | } |
| 276 | 277 | ]); |
src/js/osm-directive.js
| ... | ... | @@ -70,7 +70,9 @@ angular.module('focaLogisticaPedidoRuta').directive('focaLogistica', function() |
| 70 | 70 | }); |
| 71 | 71 | } |
| 72 | 72 | $scope.markers.push( |
| 73 | - L.marker([marcador.latitud, marcador.longitud], {icon: icon}) | |
| 73 | + L.marker( | |
| 74 | + [marcador.latitud, marcador.longitud], | |
| 75 | + {icon: icon, draggable: true}) | |
| 74 | 76 | .addTo($scope.map) |
| 75 | 77 | .bindPopup(observacion) |
| 76 | 78 | ); |
src/js/service.js
| ... | ... | @@ -54,8 +54,7 @@ angular.module('focaLogisticaPedidoRuta') |
| 54 | 54 | .length; k++) |
| 55 | 55 | { |
| 56 | 56 | if(cisterna.cisternasCarga[j].fechaReparto.substring(0, 10) === |
| 57 | - fecha.substring(0, 10) && !cisterna.cisternasCarga[j] | |
| 58 | - .confirmado) | |
| 57 | + fecha.substring(0, 10)) | |
| 59 | 58 | { |
| 60 | 59 | procesoMovimiento(cisterna.cisternasCarga[j] |
| 61 | 60 | .cisternaMovimientos[k]); |
| ... | ... | @@ -88,6 +87,6 @@ angular.module('focaLogisticaPedidoRuta') |
| 88 | 87 | }, |
| 89 | 88 | setFechaReparto: function(fechaReparto) { |
| 90 | 89 | this.fecha = fechaReparto; |
| 91 | - }, | |
| 90 | + } | |
| 92 | 91 | }; |
| 93 | 92 | }]); |