Commit 11b61c336fd203f10929470afb81f2b6a89c944b
1 parent
5747f366df
Exists in
master
se selecciona precio condicion al selecionar cualquier lugar de la fila
Showing
1 changed file
with
7 additions
and
6 deletions
Show diff stats
src/views/modal-precio-condicion.html
... | ... | @@ -24,19 +24,20 @@ |
24 | 24 | </tr> |
25 | 25 | </thead> |
26 | 26 | <tbody> |
27 | - <tr ng-repeat="(key,precioCondicion) in currentPagePrecioCondicion"> | |
27 | + <tr class="selectable" | |
28 | + ng-repeat="(key,precioCondicion) in currentPagePrecioCondicion" | |
29 | + ng-click="select(precioCondicion)"> | |
28 | 30 | <td ng-bind="precioCondicion.codigo"></td> |
29 | 31 | <td ng-bind="precioCondicion.nombre"></td> |
30 | 32 | <td ng-bind="precioCondicion.vigencia"></td> |
31 | 33 | <td> |
32 | - <button | |
33 | - type="button" | |
34 | + <button | |
35 | + type="button" | |
34 | 36 | class="btn p-2 float-right" |
35 | - ng-class="{ | |
36 | - 'btn-secondary': selectedPrecioCondicion != key, | |
37 | + ng-class="{ | |
38 | + 'btn-secondary': selectedPrecioCondicion != key, | |
37 | 39 | 'btn-primary': selectedPrecioCondicion == key |
38 | 40 | }" |
39 | - ng-click="select(precioCondicion)" | |
40 | 41 | foca-focus="selectedPrecioCondicion == {{key}}" |
41 | 42 | ng-keydown="itemProducto($event.keyCode)" |
42 | 43 | > |