From 2e6999d1342da82b594d517b27ebbf94aa103088 Mon Sep 17 00:00:00 2001 From: Jose Pinto Date: Wed, 26 Dec 2018 15:07:08 -0300 Subject: [PATCH] fuera simbolos moneda --- src/js/controller.js | 7 ++++--- src/views/nota-pedido.html | 9 ++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/js/controller.js b/src/js/controller.js index ffe33dc..a845a9a 100644 --- a/src/js/controller.js +++ b/src/js/controller.js @@ -176,7 +176,7 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', }); $scope.$broadcast('addCabecera', { label: 'Cotizacion:', - valor: $scope.notaPedido.cotizacion.VENDEDOR + valor: $filter('number')($scope.notaPedido.cotizacion.VENDEDOR, '2') }); crearNotaPedidoService.getNumeroNotaPedido().then( function(res) { @@ -236,7 +236,8 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', }, { label: 'Cotizacion:', - valor: notaPedido.cotizacion.VENDEDOR + valor: $filter('number')(notaPedido.cotizacion.VENDEDOR, + '2') }, { label: 'Cliente:', @@ -648,7 +649,7 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', }); $scope.$broadcast('addCabecera', { label: 'Cotizacion:', - valor: cotizacion.VENDEDOR + valor: $filter('number')(cotizacion.VENDEDOR, '2') }); } }, function() { diff --git a/src/views/nota-pedido.html b/src/views/nota-pedido.html index 9299b74..1095c18 100644 --- a/src/views/nota-pedido.html +++ b/src/views/nota-pedido.html @@ -98,13 +98,13 @@ ng-click="idLista == -1 && cambioEdit(articulo, 'precio')" ng-hide="articulo.editPrecio" ng-bind="articulo.precio | - currency: notaPedido.moneda.SIMBOLO : 4"> + number : 4"> + number: 2">