From 00908d6e7242275c876a3bb81874a5782400f1b1 Mon Sep 17 00:00:00 2001 From: mpuebla Date: Mon, 30 Mar 2020 09:54:36 -0300 Subject: [PATCH] Fix Nombre de metodo con acento --- src/js/controller.js | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/js/controller.js b/src/js/controller.js index 2686367..e41604b 100644 --- a/src/js/controller.js +++ b/src/js/controller.js @@ -8,8 +8,8 @@ angular.module('focaLogisticaPedidoRuta').controller('focaLogisticaPedidoRutaCon //Datos Pantalla $scope.titulo = 'Logistica de Pedidos'; - const transportista = { label: 'Vehículo', image: 'abmChofer.png' }; - const fecha = { label: 'Fecha Reparto', image: 'FechaEntrega.png' }; + var transportista = { label: 'Vehículo', image: 'abmChofer.png' }; + var fecha = { label: 'Fecha Reparto', image: 'FechaEntrega.png' }; $scope.botonera = [fecha, transportista]; var cabecera = ''; $scope.now = new Date(); @@ -42,7 +42,13 @@ angular.module('focaLogisticaPedidoRuta').controller('focaLogisticaPedidoRutaCon $scope.cargar = function (idVehiculo, punto) { if (!eligioFecha()) return; - const idRemito = (punto === -1) ? -1 : JSON.parse(punto).notaPedido.remito.id; + var idRemito; + if (punto === -1) { + idRemito = -1; + } else { + idRemito = JSON.parse(punto).notaPedido.remito.id; + } + $uibModal.open( { ariaLabelledBy: 'Busqueda de Vehiculo', @@ -115,7 +121,7 @@ angular.module('focaLogisticaPedidoRuta').controller('focaLogisticaPedidoRutaCon getSeguimiento(); }; - $scope.seleccionarVehículo = function () { + $scope.seleccionarVehiculo = function () { var parametrosModal = { titulo: 'Búsqueda de Transportista', query: '/transportista', -- 1.9.1