Commit 9a35a84e5ad8537f2e07ba903bbaa07a5d6e0b2c
1 parent
f497a70ebb
Exists in
master
and in
1 other branch
imagenes customizables
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
src/views/botonera-facturador.html
1 | <div | 1 | <div |
2 | class="col-6 col-sm-2 px-1 py-1 m-auto m-md-0" | 2 | class="col-6 col-sm-2 px-1 py-1 m-auto m-md-0" |
3 | ng-repeat="boton in botones track by $index" | 3 | ng-repeat="boton in botones track by $index" |
4 | ng-class="{'d-none d-md-grid': boton == ''}"> | 4 | ng-class="{'d-none d-md-grid': boton == ''}"> |
5 | <button | 5 | <button |
6 | type="button" | 6 | type="button" |
7 | class="btn btn-default btn-block btn-xs text-center py-1 rounded border border-light" | 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 | ng-class="{'d-sm-block h-100': boton == ''}" | 9 | ng-class="{'d-sm-block h-100': boton == ''}" |
10 | > | 10 | > |
11 | <img src="../img/abmPrecios.png" alt="" ng-if="boton !== ''"> | 11 | <img src="../img/{{boton.image}}" alt="" ng-if="boton !== ''"> |
12 | <span>{{boton}}</span> | 12 | <span>{{boton.label}}</span> |
13 | </button> | 13 | </button> |
14 | </div> | 14 | </div> |
15 | 15 |