From 06fee1aa7d27b365b1799f4f000777232407a9c5 Mon Sep 17 00:00:00 2001 From: mpuebla Date: Tue, 16 Jul 2019 16:26:46 -0300 Subject: [PATCH] Arreglo en la cabecera cuando se crea un remito a partir de una nota de pedido. --- src/js/controller.js | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/js/controller.js b/src/js/controller.js index a2abbdc..130c78f 100644 --- a/src/js/controller.js +++ b/src/js/controller.js @@ -132,20 +132,6 @@ angular.module('focaCrearRemito').controller('remitoController', }); $scope.cabeceras = [ { - label: 'Moneda:', - valor: notaPedido.cotizacion.moneda.DETALLE - }, - { - label: 'Fecha cotizacion:', - valor: $filter('date')(notaPedido.cotizacion.FECHA, - 'dd/MM/yyyy') - }, - { - label: 'Cotizacion:', - valor: $filter('number')(notaPedido.cotizacion.VENDEDOR, - '2') - }, - { label: 'Cliente:', valor: $filter('rellenarDigitos')(notaPedido.cliente.COD, 3) + ' - ' + notaPedido.cliente.NOM @@ -179,6 +165,7 @@ angular.module('focaCrearRemito').controller('remitoController', getCabeceraPuntoDescarga(puntosDescarga)) } ]; + actualizarCabeceraMoneda(notaPedido.cotizacion); valorPrecioCondicion(); // Seteo checked en cabeceras $filter('filter')($scope.botonera, -- 1.9.1