Commit dfa9935fd7a85add6468aa148422339fb9517e2d
1 parent
a328865de5
Exists in
master
Agregado seteo de imagen por defecto
Showing
1 changed file
with
7 additions
and
5 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -427,16 +427,18 @@ angular.module('focaCrearFactura').controller('facturaController', [ |
427 | 427 | |
428 | 428 | $scope.botoneraProductos.push({ |
429 | 429 | label: producto.DetArt, |
430 | - image: 'buscarProductos.png' | |
430 | + image: producto.nombreImagen, | |
431 | + imageDefault: 'productoDefault.png' | |
431 | 432 | }); |
432 | - | |
433 | - | |
433 | + | |
434 | + | |
434 | 435 | crearFuncionesProductos(producto); |
435 | - | |
436 | + | |
436 | 437 | }); |
437 | 438 | $scope.botoneraProductos.push({ |
438 | 439 | label: 'Busqueda Productos', |
439 | - image: 'buscarProductos.png' | |
440 | + image: 'buscarProductos.png', | |
441 | + imageDefault: 'productoDefault.png' | |
440 | 442 | }); |
441 | 443 | }); |
442 | 444 | } |