diff --git a/src/js/controller.js b/src/js/controller.js index 0699fc5..3b72234 100644 --- a/src/js/controller.js +++ b/src/js/controller.js @@ -7,21 +7,28 @@ angular.module('focaCrearRemito') .controller('remitoController', remitoBusinessService, $rootScope) { $scope.botonera = [ - {texto: 'Nota Pedido', accion: function() { + {texto: 'Nota Pedido', imagen: '../img/abmPrecios.png', accion: function() { varlidarRemitoFacturado($scope.seleccionarNotaPedido);}}, - {texto: 'Vendedor', accion: function() { + {texto: 'Vendedor', imagen: '../img/abmPrecios.png', accion: function() { varlidarRemitoFacturado($scope.seleccionarVendedor);}}, - {texto: 'Cliente', accion: function() { + {texto: 'Cliente', imagen: '../img/abmPrecios.png', accion: function() { varlidarRemitoFacturado($scope.seleccionarCliente);}}, - {texto: 'Proveedor', accion: function() { + {texto: 'Proveedor', imagen: '../img/abmPrecios.png', accion: function() { varlidarRemitoFacturado($scope.seleccionarProveedor);}}, - {texto: 'Moneda', accion: function() { + {texto: 'Moneda', imagen: '../img/abmPrecios.png', accion: function() { varlidarRemitoFacturado($scope.abrirModalMoneda);}}, - {texto: 'Precios y condiciones', accion: function() { + {texto: 'Precios y condiciones', imagen: '../img/abmPrecios.png', accion: function() { varlidarRemitoFacturado($scope.abrirModalListaPrecio);}}, - {texto: 'Flete', accion: function() { + {texto: 'Flete', imagen: '../img/abmPrecios.png', accion: function() { varlidarRemitoFacturado($scope.abrirModalFlete);}}, + {texto: 'Productos', imagen: '../img/abmPrecios.png', accion: function() { + $scope.seleccionarArticulo(); + }}, + {texto: '', accion: function() {}}, + {texto: '', accion: function() {}}, + {texto: '', accion: function() {}}, {texto: '', accion: function() {}} + ]; $scope.isNumber = angular.isNumber; $scope.datepickerAbierto = false; diff --git a/src/views/remito.html b/src/views/remito.html index 046411e..034e8e1 100644 --- a/src/views/remito.html +++ b/src/views/remito.html @@ -1,29 +1,29 @@ -