diff --git a/gulpfile.js b/gulpfile.js index dd5a19a..2c95ba3 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -45,7 +45,7 @@ gulp.task('uglify', ['templates'], function() { uglify(), replace('"ngRoute","ui.bootstrap","focaModalVendedores","focaBusquedaProductos",'+ '"focaModalPetroleras","focaBusquedaCliente","focaModalPrecioCondicion",'+ - '"focaModalFlete","focaDirectivas","focaModal"', ''), + '"focaModalFlete","focaDirectivas","focaModal","focaModalDomicilio"', ''), gulp.dest(paths.dist) ] ); diff --git a/package.json b/package.json index d22ff4b..608143e 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "compile": "gulp uglify", "gulp-pre-commit": "gulp pre-commit", "postinstall": "npm run compile && gulp clean-post-install", - "install-dev": "npm install -D jasmine-core pre-commit angular angular-route bootstrap ui-bootstrap4 font-awesome gulp gulp-angular-templatecache gulp-connect gulp-clean gulp-htmlmin gulp-jshint gulp-rename gulp-replace gulp-sequence gulp-uglify-es gulp-uglify jquery jshint pump git+https://debo.suite.repo/modulos-npm/foca-directivas.git git+https://debo.suite.repo/modulos-npm/foca-modal-vendedores.git git+https://debo.suite.repo/modulos-npm/foca-modal-petroleras.git git+https://debo.suite.repo/modulos-npm/foca-modal-busqueda-productos git+https://debo.suite.repo/modulos-npm/foca-busqueda-cliente.git git+https://debo.suite.repo/modulos-npm/foca-modal-precio-condiciones.git git+https://debo.suite.repo/modulos-npm/foca-modal-flete git+https://debo.suite.repo/modulos-npm/foca-modal.git" + "install-dev": "npm install -D jasmine-core pre-commit angular angular-route bootstrap ui-bootstrap4 font-awesome gulp gulp-angular-templatecache gulp-connect gulp-clean gulp-htmlmin gulp-jshint gulp-rename gulp-replace gulp-sequence gulp-uglify-es gulp-uglify jquery jshint pump git+https://debo.suite.repo/modulos-npm/foca-directivas.git git+https://debo.suite.repo/modulos-npm/foca-modal-vendedores.git git+https://debo.suite.repo/modulos-npm/foca-modal-petroleras.git git+https://debo.suite.repo/modulos-npm/foca-modal-busqueda-productos git+https://debo.suite.repo/modulos-npm/foca-busqueda-cliente.git git+https://debo.suite.repo/modulos-npm/foca-modal-precio-condiciones.git git+https://debo.suite.repo/modulos-npm/foca-modal-flete git+https://debo.suite.repo/modulos-npm/foca-modal.git git+https://debo.suite.repo/modulos-npm/foca-modal-domicilio.git" }, "pre-commit": [ "gulp-pre-commit" @@ -34,6 +34,7 @@ "foca-directivas": "git+https://debo.suite.repo/modulos-npm/foca-directivas.git", "foca-modal": "git+https://debo.suite.repo/modulos-npm/foca-modal.git", "foca-modal-busqueda-productos": "git+https://debo.suite.repo/modulos-npm/foca-modal-busqueda-productos", + "foca-modal-domicilio": "git+https://debo.suite.repo/modulos-npm/foca-modal-domicilio.git", "foca-modal-flete": "git+https://debo.suite.repo/modulos-npm/foca-modal-flete", "foca-modal-petroleras": "git+https://debo.suite.repo/modulos-npm/foca-modal-petroleras.git", "foca-modal-precio-condiciones": "git+https://debo.suite.repo/modulos-npm/foca-modal-precio-condiciones.git", diff --git a/src/js/controller.js b/src/js/controller.js index 0ed48e7..5d6bb67 100644 --- a/src/js/controller.js +++ b/src/js/controller.js @@ -247,13 +247,13 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', }, function() { $scope.notaPedido.cliente.nombre = ''; $scope.notaPedido.cliente.id = ''; + removeCabecera('Cliente:'); $scope.seleccionarCliente(); return; } ); } ); - addCabecera('Cliente:', cliente.nom); }, function() {