Commit 9a35a84e5ad8537f2e07ba903bbaa07a5d6e0b2c

Authored by Jose Pinto
1 parent f497a70ebb
Exists in master and in 1 other branch develop

imagenes customizables

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
src/views/botonera-facturador.html
... ... @@ -5,10 +5,10 @@
5 5 <button
6 6 type="button"
7 7 class="btn btn-default btn-block btn-xs text-center py-1 rounded border border-light"
8   - ng-click="(boton != '') ? ejecutarFuncion(boton) : null"
  8 + ng-click="(boton != '') ? ejecutarFuncion(boton.label) : null"
9 9 ng-class="{'d-sm-block h-100': boton == ''}"
10 10 >
11   - <img src="../img/abmPrecios.png" alt="" ng-if="boton !== ''">
12   - <span>{{boton}}</span>
  11 + <img src="../img/{{boton.image}}" alt="" ng-if="boton !== ''">
  12 + <span>{{boton.label}}</span>
13 13 </button>
14 14 </div>