Commit 534017d21c0281ce88450b9cd1f275dac1f46477
Exists in
master
Merge branch 'master' into 'master'
bug limpiar pantalla al dar al botón crear después de editar See merge request modulos-npm/foca-crear-nota-pedido!4
Showing
2 changed files
Show diff stats
src/js/controller.js
src/js/service.js
... | ... | @@ -12,6 +12,9 @@ angular.module('focaCrearNotaPedido') |
12 | 12 | setNotaPedido: function(notaPedido) { |
13 | 13 | this.notaPedido = notaPedido; |
14 | 14 | }, |
15 | + clearNotaPedido: function() { | |
16 | + this.notaPedido = undefined; | |
17 | + }, | |
15 | 18 | getNotaPedido: function() { |
16 | 19 | return this.notaPedido; |
17 | 20 | }, |