Commit 2e8fce4887c40174f00c91adf173c75c6422257c
1 parent
63cd9dcc69
Exists in
master
and in
1 other branch
todo
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/js/controller.js
| ... | ... | @@ -837,6 +837,7 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', |
| 837 | 837 | articulo.precio = parseFloat(articulo.precio); |
| 838 | 838 | }; |
| 839 | 839 | |
| 840 | + // TODO: quitar watch usar función de articulos pedido cuando se haga | |
| 840 | 841 | $scope.$watch('notaPedido.articulosNotaPedido', function() { |
| 841 | 842 | if ($scope.notaPedido.articulosNotaPedido.length) { |
| 842 | 843 | $filter('filter')($scope.botonera, |