Commit f1196a7b3462e55179838b5392b7bdde23792f8a
1 parent
ef9fbbac36
Exists in
master
code review, fix simbolo
Showing
2 changed files
with
17 additions
and
8 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -357,7 +357,7 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', |
357 | 357 | parametroProducto: { |
358 | 358 | idLista: $scope.idLista, |
359 | 359 | cotizacion: $scope.notaPedido.cotizacion.VENDEDOR, |
360 | - simbolo: $scope.notaPedido.moneda.simbolo | |
360 | + simbolo: $scope.notaPedido.moneda.SIMBOLO | |
361 | 361 | } |
362 | 362 | }, |
363 | 363 | size: 'lg' |
src/views/nota-pedido.html
... | ... | @@ -172,12 +172,14 @@ |
172 | 172 | class="selectable" |
173 | 173 | ng-click="idLista == -1 && cambioEdit(articulo, 'precio')" |
174 | 174 | ng-hide="articulo.editPrecio" |
175 | - ng-bind="articulo.precio | currency: notaPedido.moneda.SIMBOLO : 4"> | |
175 | + ng-bind="articulo.precio | | |
176 | + currency: notaPedido.moneda.SIMBOLO : 4"> | |
176 | 177 | </i> |
177 | 178 | </td> |
178 | 179 | <td |
179 | 180 | class="col text-right" |
180 | - ng-bind="(articulo.precio * articulo.cantidad) | currency: notaPedido.moneda.SIMBOLO"> | |
181 | + ng-bind="(articulo.precio * articulo.cantidad) | | |
182 | + currency: notaPedido.moneda.SIMBOLO"> | |
181 | 183 | </td> |
182 | 184 | <td class="text-center"> |
183 | 185 | <button |
... | ... | @@ -232,7 +234,8 @@ |
232 | 234 | <td class="col text-right"> |
233 | 235 | <input |
234 | 236 | class="form-control" |
235 | - ng-value="articuloACargar.precio | currency: notaPedido.moneda.SIMBOLO : 4" | |
237 | + ng-value="articuloACargar.precio | | |
238 | + currency: notaPedido.moneda.SIMBOLO : 4" | |
236 | 239 | ng-show="idLista != -1" |
237 | 240 | readonly |
238 | 241 | > |
... | ... | @@ -344,11 +347,15 @@ |
344 | 347 | <span ng-bind="'x' + articulo.cantidad"></span> |
345 | 348 | </div> |
346 | 349 | <div class="col-3 px-1 text-right"> |
347 | - <span ng-bind="articulo.precio | currency: notaPedido.moneda.SIMBOLO : 4"></span> | |
350 | + <span | |
351 | + ng-bind="articulo.precio | | |
352 | + currency: notaPedido.moneda.SIMBOLO : 4" | |
353 | + ></span> | |
348 | 354 | </div> |
349 | 355 | <div class="col px-1 text-right"> |
350 | 356 | <span |
351 | - ng-bind="(articulo.precio * articulo.cantidad) | currency: notaPedido.moneda.SIMBOLO" | |
357 | + ng-bind="(articulo.precio * articulo.cantidad) | | |
358 | + currency: notaPedido.moneda.SIMBOLO" | |
352 | 359 | > |
353 | 360 | </span> |
354 | 361 | </div> |
... | ... | @@ -396,11 +403,13 @@ |
396 | 403 | > |
397 | 404 | </div> |
398 | 405 | <div class="col-3 px-1 text-right"> |
399 | - <span ng-bind="articuloACargar.precio | currency: notaPedido.moneda.SIMBOLO : 4"></span> | |
406 | + <span ng-bind="articuloACargar.precio | | |
407 | + currency: notaPedido.moneda.SIMBOLO : 4"></span> | |
400 | 408 | </div> |
401 | 409 | <div class="col px-1 text-right"> |
402 | 410 | <span |
403 | - ng-bind="getSubTotal() | currency: notaPedido.moneda.SIMBOLO" | |
411 | + ng-bind="getSubTotal() | | |
412 | + currency: notaPedido.moneda.SIMBOLO" | |
404 | 413 | > |
405 | 414 | </span> |
406 | 415 | </div> |