Commit 6016af2682cb7eccb7ce5355d850d87377b57bab
1 parent
421d701642
Exists in
master
and in
1 other branch
ok espacios
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/views/modal-cotizacion.html
1 | <div class="modal-header py-1"> | 1 | <div class="modal-header py-1"> |
2 | <h5 class="modal-title">Seleccione Cotización <span ng-bind="moneda.SIMBOLO"></span></h5> | 2 | <h5 class="modal-title">Seleccione Cotización <span ng-bind="moneda.SIMBOLO"></span></h5> |
3 | </div> | 3 | </div> |
4 | <div class="modal-body" id="modal-body"> | 4 | <div class="modal-body" id="modal-body"> |
5 | <div class="input-group"> | 5 | <div class="input-group"> |
6 | <table class="table table-striped table-sm"> | 6 | <table class="table table-striped table-sm"> |
7 | <thead> | 7 | <thead> |
8 | <tr> | 8 | <tr> |
9 | <th>Fecha</th> | 9 | <th>Fecha</th> |
10 | <th class="text-right">Compra</th> | 10 | <th class="text-right">Compra</th> |
11 | <th class="text-right">Venta</th> | 11 | <th class="text-right">Venta</th> |
12 | <th></th> | 12 | <th></th> |
13 | </tr> | 13 | </tr> |
14 | </thead> | 14 | </thead> |
15 | <tbody> | 15 | <tbody> |
16 | <tr | 16 | <tr |
17 | class="selectable" | 17 | class="selectable" |
18 | ng-repeat="(key,cotizacion) in currentPageCotizacion" | 18 | ng-repeat="(key,cotizacion) in currentPageCotizacion" |
19 | ng-click="select(cotizacion)" | 19 | ng-click="select(cotizacion)" |
20 | > | 20 | > |
21 | <td ng-bind="cotizacion.FECHA | date:'dd/MM/yyyy HH:mm'"></td> | 21 | <td ng-bind="cotizacion.FECHA | date:'dd/MM/yyyy HH:mm'"></td> |
22 | <td ng-bind="cotizacion.COTIZACION | number:2" class="text-right"></td> | 22 | <td ng-bind="cotizacion.COTIZACION | number: 2" class="text-right"></td> |
23 | <td ng-bind="cotizacion.VENDEDOR | number:2" class="text-right"></td> | 23 | <td ng-bind="cotizacion.VENDEDOR | number: 2" class="text-right"></td> |
24 | <td> | 24 | <td> |
25 | <button | 25 | <button |
26 | type="button" | 26 | type="button" |
27 | class="btn btn-xs p-1 float-right" | 27 | class="btn btn-xs p-1 float-right" |
28 | ng-class="{ | 28 | ng-class="{ |
29 | 'btn-secondary': selectedCotizacion != key, | 29 | 'btn-secondary': selectedCotizacion != key, |
30 | 'btn-primary': selectedCotizacion == key | 30 | 'btn-primary': selectedCotizacion == key |
31 | }" | 31 | }" |
32 | foca-focus="selectedCotizacion == {{key}}" | 32 | foca-focus="selectedCotizacion == {{key}}" |
33 | ng-keydown="itemProducto($event.keyCode)" | 33 | ng-keydown="itemProducto($event.keyCode)" |
34 | > | 34 | > |
35 | <i class="fa fa-circle-thin" aria-hidden="true"></i> | 35 | <i class="fa fa-circle-thin" aria-hidden="true"></i> |
36 | </button> | 36 | </button> |
37 | </td> | 37 | </td> |
38 | </tr> | 38 | </tr> |
39 | </tbody> | 39 | </tbody> |
40 | </table> | 40 | </table> |
41 | 41 | ||
42 | </div> | 42 | </div> |
43 | </div> | 43 | </div> |
44 | <div class="modal-footer py-1"> | 44 | <div class="modal-footer py-1"> |
45 | <nav class="mr-auto"> | 45 | <nav class="mr-auto"> |
46 | <ul class="pagination pagination-sm justify-content-end mb-0"> | 46 | <ul class="pagination pagination-sm justify-content-end mb-0"> |
47 | <li class="page-item" ng-class="{'disabled': currentPage == 1}"> | 47 | <li class="page-item" ng-class="{'disabled': currentPage == 1}"> |
48 | <a class="page-link" href="javascript:void()" ng-click="selectPage(currentPage - 1)"> | 48 | <a class="page-link" href="javascript:void()" ng-click="selectPage(currentPage - 1)"> |
49 | <span aria-hidden="true">«</span> | 49 | <span aria-hidden="true">«</span> |
50 | <span class="sr-only">Anterior</span> | 50 | <span class="sr-only">Anterior</span> |
51 | </a> | 51 | </a> |
52 | </li> | 52 | </li> |
53 | <li | 53 | <li |
54 | class="page-item" | 54 | class="page-item" |
55 | ng-repeat="pagina in paginas" | 55 | ng-repeat="pagina in paginas" |
56 | ng-class="{'active': pagina == currentPage}" | 56 | ng-class="{'active': pagina == currentPage}" |
57 | > | 57 | > |
58 | <a | 58 | <a |
59 | class="page-link" | 59 | class="page-link" |
60 | href="javascript:void()" | 60 | href="javascript:void()" |
61 | ng-click="selectPage(pagina)" | 61 | ng-click="selectPage(pagina)" |
62 | ng-bind="pagina" | 62 | ng-bind="pagina" |
63 | ></a> | 63 | ></a> |
64 | </li> | 64 | </li> |
65 | <li class="page-item" ng-class="{'disabled': currentPage == lastPage}"> | 65 | <li class="page-item" ng-class="{'disabled': currentPage == lastPage}"> |
66 | <a class="page-link" href="javascript:void()" ng-click="selectPage(currentPage + 1)"> | 66 | <a class="page-link" href="javascript:void()" ng-click="selectPage(currentPage + 1)"> |
67 | <span aria-hidden="true">»</span> | 67 | <span aria-hidden="true">»</span> |
68 | <span class="sr-only">Siguiente</span> | 68 | <span class="sr-only">Siguiente</span> |
69 | </a> | 69 | </a> |
70 | </li> | 70 | </li> |
71 | </ul> | 71 | </ul> |
72 | </nav> | 72 | </nav> |
73 | <button class="btn btn-sm btn-secondary" type="button" ng-click="cancel()">Cancelar</button> | 73 | <button class="btn btn-sm btn-secondary" type="button" ng-click="cancel()">Cancelar</button> |
74 | </div> | 74 | </div> |
75 | 75 |