Commit bf8590a3c9cb2045baf7b16e0c1f18fc7df6d6d1

Authored by Jose Pinto
1 parent 9b127f6630
Exists in master

fuera simbolos moneda

Showing 2 changed files with 10 additions and 8 deletions   Show diff stats
src/js/controller.js
... ... @@ -105,7 +105,8 @@ angular.module('focaCrearRemito') .controller('remitoController',
105 105 },
106 106 {
107 107 label: 'Cotizacion:',
108   - valor: notaPedido.cotizacion.VENDEDOR
  108 + valor: $filter('number')(notaPedido.cotizacion.VENDEDOR,
  109 + '2')
109 110 },
110 111 {
111 112 label: 'Cliente:',
... ... @@ -215,7 +216,8 @@ angular.module('focaCrearRemito') .controller('remitoController',
215 216 },
216 217 {
217 218 label: 'Cotizacion:',
218   - valor: remito.cotizacion.VENDEDOR
  219 + valor: $filter('number')(remito.cotizacion.VENDEDOR,
  220 + '2')
219 221 },
220 222 {
221 223 label: 'Cliente:',
... ... @@ -390,7 +392,7 @@ angular.module('focaCrearRemito') .controller('remitoController',
390 392 });
391 393 $scope.$broadcast('addCabecera',{
392 394 label: 'Cotizacion:',
393   - valor: $scope.remito.cotizacion.COTIZACION
  395 + valor: $filter('number')($scope.remito.cotizacion.COTIZACION, '2')
394 396 });
395 397 $scope.remito.vendedor = {};
396 398 $scope.remito.cliente = {};
... ... @@ -774,7 +776,7 @@ angular.module('focaCrearRemito') .controller('remitoController',
774 776 });
775 777 $scope.$broadcast('addCabecera',{
776 778 label: 'Cotizacion:',
777   - valor: cotizacion.COTIZACION
  779 + valor: $filter('number')(cotizacion.COTIZACION, '2')
778 780 });
779 781 }
780 782 }, function() {
src/views/remito.html
... ... @@ -96,12 +96,12 @@
96 96 class="selectable"
97 97 ng-click="idLista == -1 && cambioEdit(articulo, 'precio')"
98 98 ng-hide="articulo.editPrecio"
99   - ng-bind="articulo.precio | currency: remito.moneda.SIMBOLO : 4">
  99 + ng-bind="articulo.precio | number : 4">
100 100 </i>
101 101 </td>
102 102 <td
103 103 class="col text-right"
104   - ng-bind="(articulo.precio * articulo.cantidad) | currency: remito.moneda.SIMBOLO">
  104 + ng-bind="(articulo.precio * articulo.cantidad) | number:2">
105 105 </td>
106 106 <td class="text-center">
107 107 <button
... ... @@ -148,7 +148,7 @@
148 148 <td class="col text-right">
149 149 <input
150 150 class="form-control"
151   - ng-value="articuloACargar.precio | currency: remito.moneda.SIMBOLO : 4"
  151 + ng-value="articuloACargar.precio | number : 4"
152 152 ng-show="idLista != -1"
153 153 readonly
154 154 >
... ... @@ -166,7 +166,7 @@
166 166 <td class="col text-right">
167 167 <input
168 168 class="form-control"
169   - ng-value="getSubTotal() | currency: remito.moneda.SIMBOLO"
  169 + ng-value="getSubTotal() | number:2"
170 170 readonly
171 171 ></td>
172 172 <td class="text-center align-middle">