From bf919dbef4fe2e09c065add3c8ab720c0fa5c227 Mon Sep 17 00:00:00 2001 From: Eric Date: Tue, 26 Mar 2019 15:28:07 -0300 Subject: [PATCH] observaciones con marqe --- gulpfile.js | 4 +++- src/js/controller.js | 4 ---- src/views/nota-pedido.html | 5 +++++ 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 482982d..c97d0d4 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -21,7 +21,9 @@ var paths = { dist: 'dist/' }; -gulp.task('uglify', gulpSequence('clean', ['templates', 'uglify-spec'], 'uglify-app')); +gulp.task('uglify', function(callback) { + gulpSequence('clean', ['templates', 'uglify-spec'], 'uglify-app')(callback); +}); gulp.task('templates', function() { return pump( diff --git a/src/js/controller.js b/src/js/controller.js index aee181b..2b63280 100644 --- a/src/js/controller.js +++ b/src/js/controller.js @@ -673,10 +673,6 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', focaModalService .prompt(observacion) .then(function(observaciones) { - $scope.$broadcast('addCabecera', { - label: 'Observaciones:', - valor: observaciones - }); $scope.notaPedido.observaciones = observaciones; }); }; diff --git a/src/views/nota-pedido.html b/src/views/nota-pedido.html index 0c40bba..fb8e629 100644 --- a/src/views/nota-pedido.html +++ b/src/views/nota-pedido.html @@ -6,6 +6,11 @@ class="mb-0 col-lg-12" busqueda="seleccionarNotaPedido" > + {{notaPedido.observaciones}}
-- 1.9.1