Commit d3d637d20806d88659051191df5d71f169642dac
Exists in
master
and in
2 other branches
Merge branch 'master' into 'master'
imagenes customizables See merge request !2
Showing
1 changed file
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> |