Commit ee34395a29d4fe3a04141e9bd9dd2bd968aa92ea

Authored by Marcelo Puebla
1 parent 25a16b22f1
Exists in master

Agregado boton de busqueda de productos.

Showing 2 changed files with 10 additions and 7 deletions   Show diff stats
src/js/controller.js
... ... @@ -471,11 +471,6 @@ angular.module('focaCrearFactura').controller('facturaController', [
471 471 crearFuncionesProductos(producto);
472 472  
473 473 });
474   - $scope.botoneraProductos.push({
475   - label: 'Busqueda Productos',
476   - image: 'buscarProductos.png',
477   - imageDefault: 'productoDefault.png'
478   - });
479 474 });
480 475 }
481 476  
... ... @@ -32,12 +32,20 @@ angular.module('focaCrearFactura')
32 32 label: 'Vendedor',
33 33 image: 'vendedor.png'
34 34 };
35   -
  35 + // $scope.botoneraProductos.push({
  36 + // label: 'Busqueda Productos',
  37 + // image: 'buscarProductos.png',
  38 + // imageDefault: 'productoDefault.png'
  39 + // });
36 40 var botones = [
37 41 {
38 42 label: 'Cliente',
39 43 image: 'cliente.png'
40 44 },
  45 + {
  46 + label: 'Busqueda Productos',
  47 + image: 'productos.png'
  48 + }
41 49 // {
42 50 // label: 'Moneda',
43 51 // image: 'moneda.png'
... ... @@ -48,7 +56,7 @@ angular.module('focaCrearFactura')
48 56 // }
49 57 ];
50 58  
51   - if (APP != 'facturador') {
  59 + if (APP !== 'facturador') {
52 60 botones.unshift(vendedor);
53 61 }
54 62