From f1196a7b3462e55179838b5392b7bdde23792f8a Mon Sep 17 00:00:00 2001 From: efernandez Date: Tue, 13 Nov 2018 10:19:36 -0300 Subject: [PATCH] code review, fix simbolo --- src/js/controller.js | 2 +- src/views/nota-pedido.html | 23 ++++++++++++++++------- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/src/js/controller.js b/src/js/controller.js index 308f499..9f801b3 100644 --- a/src/js/controller.js +++ b/src/js/controller.js @@ -357,7 +357,7 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', parametroProducto: { idLista: $scope.idLista, cotizacion: $scope.notaPedido.cotizacion.VENDEDOR, - simbolo: $scope.notaPedido.moneda.simbolo + simbolo: $scope.notaPedido.moneda.SIMBOLO } }, size: 'lg' diff --git a/src/views/nota-pedido.html b/src/views/nota-pedido.html index 0a79e83..4a633a0 100644 --- a/src/views/nota-pedido.html +++ b/src/views/nota-pedido.html @@ -172,12 +172,14 @@ class="selectable" ng-click="idLista == -1 && cambioEdit(articulo, 'precio')" ng-hide="articulo.editPrecio" - ng-bind="articulo.precio | currency: notaPedido.moneda.SIMBOLO : 4"> + ng-bind="articulo.precio | + currency: notaPedido.moneda.SIMBOLO : 4"> + ng-bind="(articulo.precio * articulo.cantidad) | + currency: notaPedido.moneda.SIMBOLO">