Commit b323b1011812a8389437f4421e0685bc4b8daec3
1 parent
99e0be14ad
Exists in
master
Cambiado estilo de checkbox.
Showing
1 changed file
with
5 additions
and
3 deletions
Show diff stats
src/views/autorizar-nota-pedido.html
1 | <div class="row"> | 1 | <div class="row"> |
2 | <foca-cabecera-facturador | 2 | <foca-cabecera-facturador |
3 | titulo="'Autorizar Nota'" | 3 | titulo="'Autorizar Nota'" |
4 | fecha="now" | 4 | fecha="now" |
5 | class="mb-0 col-lg-12" | 5 | class="mb-0 col-lg-12" |
6 | ></foca-cabecera-facturador> | 6 | ></foca-cabecera-facturador> |
7 | </div> | 7 | </div> |
8 | <table class="table tabla-autorizar-nota-pedido table-striped table-sm col-10"> | 8 | <table class="table tabla-autorizar-nota-pedido table-striped table-sm col-10"> |
9 | <thead> | 9 | <thead> |
10 | <tr> | 10 | <tr> |
11 | <th>Nota de pedido</th> | 11 | <th>Nota de pedido</th> |
12 | <th>Cliente</th> | 12 | <th>Cliente</th> |
13 | <th>Vendedor</th> | 13 | <th>Vendedor</th> |
14 | <th></th> | 14 | <th></th> |
15 | </tr> | 15 | </tr> |
16 | </thead> | 16 | </thead> |
17 | <tbody> | 17 | <tbody> |
18 | <tr ng-repeat="notaPedido in notasPedido"> | 18 | <tr ng-repeat="notaPedido in notasPedido"> |
19 | <td ng-bind="[notaPedido.sucursal, notaPedido.numeroNotaPedido] | comprobante"></td> | 19 | <td ng-bind="[notaPedido.sucursal, notaPedido.numeroNotaPedido] | comprobante"></td> |
20 | <td ng-bind="notaPedido.nombreCliente"></td> | 20 | <td ng-bind="notaPedido.nombreCliente"></td> |
21 | <td ng-bind="notaPedido.vendedor.NOM"></td> | 21 | <td ng-bind="notaPedido.vendedor.NOM"></td> |
22 | <td> | 22 | <td> |
23 | <input | 23 | <label class="checkbox"> |
24 | <input | ||
24 | class="form-control-sm" | 25 | class="form-control-sm" |
25 | type="checkbox" | 26 | type="checkbox" |
26 | ng-model="notaPedido.checked"> | 27 | ng-model="notaPedido.checked"> |
27 | 28 | <span class="checkmark"></span> | |
28 | <button class="btn mb-4" type="button" ng-click="verNotaPedido()"> | 29 | </label> |
30 | <button class="btn" type="button" ng-click="verNotaPedido()"> | ||
29 | <i class="fa fa-eye"></i> | 31 | <i class="fa fa-eye"></i> |
30 | </button> | 32 | </button> |
31 | </td> | 33 | </td> |
32 | </tr> | 34 | </tr> |
33 | </tbody> | 35 | </tbody> |
34 | <tfoot> | 36 | <tfoot> |
35 | <tr> | 37 | <tr> |
36 | <th colspan="2"> | 38 | <th colspan="2"> |
37 | <button | 39 | <button |
38 | class="btn btn-primary" ng-click="autorizar()">Autorizar({{getSeleccionados()}})</button> | 40 | class="btn btn-primary" ng-click="autorizar()">Autorizar({{getSeleccionados()}})</button> |
39 | </th> | 41 | </th> |
40 | <th>Seleccionar todo</th> | 42 | <th>Seleccionar todo</th> |
41 | <th> | 43 | <th> |
42 | <input | 44 | <input |
43 | class="form-control-sm" | 45 | class="form-control-sm" |
44 | type="checkbox" | 46 | type="checkbox" |
45 | ng-model="checkedAll" | 47 | ng-model="checkedAll" |
46 | ng-click="seleccionarTodo()"> | 48 | ng-click="seleccionarTodo()"> |
47 | </th> | 49 | </th> |
48 | </tr> | 50 | </tr> |
49 | </tfoot> | 51 | </tfoot> |
50 | </table> | 52 | </table> |
51 | <div> | 53 | <div> |
52 | <nav ng-show="notasPedido.length > 0" class="mr-auto paginador-abm"> | 54 | <nav ng-show="notasPedido.length > 0" class="mr-auto paginador-abm"> |
53 | <ul class="pagination pagination-sm mb-0"> | 55 | <ul class="pagination pagination-sm mb-0"> |
54 | <li class="page-item" ng-class="{'disabled': currentPage == 1}"> | 56 | <li class="page-item" ng-class="{'disabled': currentPage == 1}"> |
55 | <a class="page-link" href="javascript:void()" ng-click="selectPage(currentPage - 1)"> | 57 | <a class="page-link" href="javascript:void()" ng-click="selectPage(currentPage - 1)"> |
56 | <span aria-hidden="true">«</span> | 58 | <span aria-hidden="true">«</span> |
57 | <span class="sr-only">Anterior</span> | 59 | <span class="sr-only">Anterior</span> |
58 | </a> | 60 | </a> |
59 | </li> | 61 | </li> |
60 | <!-- TODO QUITAR HARDCODEO --> | 62 | <!-- TODO QUITAR HARDCODEO --> |
61 | <li | 63 | <li |
62 | class="page-item active"> | 64 | class="page-item active"> |
63 | <a | 65 | <a |
64 | class="page-link" | 66 | class="page-link" |
65 | href="javascript:void()">1</a> | 67 | href="javascript:void()">1</a> |
66 | </li> | 68 | </li> |
67 | <li | 69 | <li |
68 | class="page-item" | 70 | class="page-item" |
69 | ng-repeat="pagina in paginas" | 71 | ng-repeat="pagina in paginas" |
70 | ng-class="{'active': pagina == currentPage}" | 72 | ng-class="{'active': pagina == currentPage}" |
71 | > | 73 | > |
72 | <a | 74 | <a |
73 | class="page-link" | 75 | class="page-link" |
74 | href="javascript:void()" | 76 | href="javascript:void()" |
75 | ng-click="selectPage(pagina)" | 77 | ng-click="selectPage(pagina)" |
76 | ng-bind="pagina" | 78 | ng-bind="pagina" |
77 | ></a> | 79 | ></a> |
78 | </li> | 80 | </li> |
79 | <li class="page-item" ng-class="{'disabled': currentPage == lastPage}"> | 81 | <li class="page-item" ng-class="{'disabled': currentPage == lastPage}"> |
80 | <a class="page-link" href="javascript:void()" ng-click="selectPage(currentPage + 1)"> | 82 | <a class="page-link" href="javascript:void()" ng-click="selectPage(currentPage + 1)"> |
81 | <span aria-hidden="true">»</span> | 83 | <span aria-hidden="true">»</span> |
82 | <span class="sr-only">Siguiente</span> | 84 | <span class="sr-only">Siguiente</span> |
83 | </a> | 85 | </a> |
84 | </li> | 86 | </li> |
85 | </ul> | 87 | </ul> |
86 | </nav> | 88 | </nav> |
87 | </div> | 89 | </div> |