Commit d7ef6cf02930a60f15987ea065d9e9d8723e4439
Exists in
master
and in
1 other branch
Merge branch 'master' of https://debo.suite.repo/modulos-npm/foca-modal-busqueda-productos
Showing
1 changed file
Show diff stats
src/views/modal-busqueda-productos.html
| 1 | -<div class="modal-header py-1"> | |
| 2 | - <h5 class="modal-title">Busqueda de Productos</h5> | |
| 1 | +<div class="modal-header"> | |
| 2 | + <h5 class="modal-title my-1">Busqueda de Productos</h5> | |
| 3 | 3 | </div> |
| 4 | 4 | <div class="modal-body" id="modal-body"> |
| 5 | 5 | <div class="input-group"> |
| ... | ... | @@ -29,10 +29,9 @@ |
| 29 | 29 | <table ng-show="primerBusqueda" class="table table-striped table-sm"> |
| 30 | 30 | <thead> |
| 31 | 31 | <tr> |
| 32 | - <th>Sec.</th> | |
| 33 | - <th>Cod.</th> | |
| 32 | + <th>Código</th> | |
| 34 | 33 | <th>Descripción</th> |
| 35 | - <th>P. Base</th> | |
| 34 | + <th class="text-right">P. Base</th> | |
| 36 | 35 | <th></th> |
| 37 | 36 | </tr> |
| 38 | 37 | </thead> |
| ... | ... | @@ -45,11 +44,13 @@ |
| 45 | 44 | <tr class="selectable" |
| 46 | 45 | ng-repeat="(key,producto) in currentPageProductos" |
| 47 | 46 | ng-click="select(producto)"> |
| 48 | - <td ng-bind="producto.sector"></td> | |
| 49 | - <td ng-bind="producto.codigo"></td> | |
| 47 | + <td ng-bind="producto.sector + '-' + producto.codigo"></td> | |
| 50 | 48 | <td ng-bind="producto.descripcion"></td> |
| 51 | - <td ng-bind="producto.precio | currency: simbolo : 4"></td> | |
| 52 | - <td> | |
| 49 | + <td class="text-right" ng-bind="producto.precio | currency: simbolo : 4"></td> | |
| 50 | + <td class="d-md-none text-primary"> | |
| 51 | + <i class="fa fa-arrow-right" aria-hidden="true"></i> | |
| 52 | + </td> | |
| 53 | + <td class="d-none d-md-table-cell"> | |
| 53 | 54 | <button |
| 54 | 55 | type="button" |
| 55 | 56 | class="btn btn-xs p-1 float-right" |
| ... | ... | @@ -58,8 +59,7 @@ |
| 58 | 59 | 'btn-primary': selectedProducto == key |
| 59 | 60 | }" |
| 60 | 61 | foca-focus="selectedProducto == {{key}}" |
| 61 | - ng-keydown="itemProducto($event.keyCode)" | |
| 62 | - > | |
| 62 | + ng-keydown="itemProducto($event.keyCode)"> | |
| 63 | 63 | <i class="fa fa-arrow-right" aria-hidden="true"></i> |
| 64 | 64 | </button> |
| 65 | 65 | </td> |
| ... | ... | @@ -95,6 +95,6 @@ |
| 95 | 95 | </ul> |
| 96 | 96 | </nav> |
| 97 | 97 | </div> |
| 98 | -<div class="modal-footer py-1"> | |
| 99 | - <button class="btn btn-sm btn-secondary" type="button" ng-click="cancel()">Cancelar</button> | |
| 98 | +<div class="modal-footer"> | |
| 99 | + <button class="btn btn-sm btn-secondary my-1" type="button" ng-click="cancel()">Cancelar</button> | |
| 100 | 100 | </div> |