diff --git a/src/js/controller.js b/src/js/controller.js index 3909787..bae4961 100644 --- a/src/js/controller.js +++ b/src/js/controller.js @@ -105,7 +105,8 @@ angular.module('focaCrearRemito') .controller('remitoController', }, { label: 'Cotizacion:', - valor: notaPedido.cotizacion.VENDEDOR + valor: $filter('number')(notaPedido.cotizacion.VENDEDOR, + '2') }, { label: 'Cliente:', @@ -215,7 +216,8 @@ angular.module('focaCrearRemito') .controller('remitoController', }, { label: 'Cotizacion:', - valor: remito.cotizacion.VENDEDOR + valor: $filter('number')(remito.cotizacion.VENDEDOR, + '2') }, { label: 'Cliente:', @@ -390,7 +392,7 @@ angular.module('focaCrearRemito') .controller('remitoController', }); $scope.$broadcast('addCabecera',{ label: 'Cotizacion:', - valor: $scope.remito.cotizacion.COTIZACION + valor: $filter('number')($scope.remito.cotizacion.COTIZACION, '2') }); $scope.remito.vendedor = {}; $scope.remito.cliente = {}; @@ -774,7 +776,7 @@ angular.module('focaCrearRemito') .controller('remitoController', }); $scope.$broadcast('addCabecera',{ label: 'Cotizacion:', - valor: cotizacion.COTIZACION + valor: $filter('number')(cotizacion.COTIZACION, '2') }); } }, function() { diff --git a/src/views/remito.html b/src/views/remito.html index 1624b4e..7f40ccb 100644 --- a/src/views/remito.html +++ b/src/views/remito.html @@ -96,12 +96,12 @@ class="selectable" ng-click="idLista == -1 && cambioEdit(articulo, 'precio')" ng-hide="articulo.editPrecio" - ng-bind="articulo.precio | currency: remito.moneda.SIMBOLO : 4"> + ng-bind="articulo.precio | number : 4">