diff --git a/src/js/controller.js b/src/js/controller.js index 28cbc62..6cdd098 100644 --- a/src/js/controller.js +++ b/src/js/controller.js @@ -7,18 +7,24 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', notaPedidoBusinessService, $rootScope, focaSeguimientoService) { $scope.botonera = [ - {texto: 'Vendedor', accion: function() { + {texto: 'Vendedor', imagen: '../img/abmPrecios.png', accion: function() { validarNotaRemitada($scope.seleccionarVendedor);}}, - {texto: 'Cliente', accion: function() { + {texto: 'Cliente', imagen: '../img/abmPrecios.png', accion: function() { validarNotaRemitada($scope.seleccionarCliente);}}, - {texto: 'Proveedor', accion: function() { + {texto: 'Proveedor', imagen: '../img/abmPrecios.png', accion: function() { validarNotaRemitada($scope.seleccionarProveedor);}}, - {texto: 'Moneda', accion: function() { + {texto: 'Moneda', imagen: '../img/abmPrecios.png', accion: function() { validarNotaRemitada($scope.abrirModalMoneda);}}, - {texto: 'Precios y condiciones', accion: function() { + {texto: 'Precios y condiciones', imagen: '../img/abmPrecios.png', accion: function() { validarNotaRemitada($scope.abrirModalListaPrecio);}}, - {texto: 'Flete', accion: function() { + {texto: 'Flete', imagen: '../img/abmPrecios.png', accion: function() { validarNotaRemitada($scope.abrirModalFlete);}}, + {texto: 'Productos', imagen: '../img/abmPrecios.png', accion: function() { + $scope.seleccionarArticulo(); + }}, + {texto: '', accion: function() {}}, + {texto: '', accion: function() {}}, + {texto: '', accion: function() {}}, {texto: '', accion: function() {}}, {texto: '', accion: function() {}} ]; diff --git a/src/views/nota-pedido.html b/src/views/nota-pedido.html index 0a966c6..db3feab 100644 --- a/src/views/nota-pedido.html +++ b/src/views/nota-pedido.html @@ -1,28 +1,28 @@ -