Commit bfa10e54a30d5c5647bdfeff7079478ed0951685

Authored by Luigi
1 parent 1083a8005e
Exists in master and in 1 other branch develop

Actualizacion tipo de moneda en TOTAL

src/js/controller.js
... ... @@ -571,7 +571,7 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl',
571 571 total += arrayTempArticulos[i].precio * arrayTempArticulos[i].cantidad;
572 572 }
573 573 }
574   -
  574 +
575 575 return parseFloat(total.toFixed(2));
576 576 };
577 577  
src/views/nota-pedido.html
... ... @@ -199,7 +199,7 @@
199 199 <h3>Total:</h3>
200 200 </td>
201 201 <td class="table-celda-total text-right no-border-top" colspan="1">
202   - <h3>{{getTotal() | currency: notaPedido.moneda.SIMBOLO}}</h3>
  202 + <h3>{{getTotal() | currency: notaPedido.cotizacion.moneda.SIMBOLO}}</h3>
203 203 </td>
204 204 <td class="text-right no-border-top">
205 205 <button
... ... @@ -389,7 +389,7 @@
389 389 <h3>Total:</h3>
390 390 </td>
391 391 <td class="table-celda-total text-right no-border-top">
392   - <h3>{{getTotal() | currency: notaPedido.moneda.SIMBOLO}}</h3>
  392 + <h3>{{getTotal() | currency: notaPedido.cotizacion.moneda.SIMBOLO}}</h3>
393 393 </td>
394 394 </tr>
395 395 </tfoot>