Commit e300fd4becdccfb720f5da9adcc397683e5ba886

Authored by Marcelo Puebla
1 parent b323b10118
Exists in master

Cambio en los checkbox.

Showing 1 changed file with 7 additions and 7 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="(key, 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 <label class="checkbox"> 23 <input
24 <input
25 class="form-control-sm"
26 type="checkbox" 24 type="checkbox"
27 ng-model="notaPedido.checked"> 25 class="custom-control-input float-right"
28 <span class="checkmark"></span> 26 id="checkSelect{{key}}"
29 </label> 27 ng-model="notaPedido.checked"
28 >
29 <label class="custom-control-label float-right" for="checkSelect{{key}}"></label>
30 <button class="btn" type="button" ng-click="verNotaPedido()"> 30 <button class="btn" type="button" ng-click="verNotaPedido()">
31 <i class="fa fa-eye"></i> 31 <i class="fa fa-eye"></i>
32 </button> 32 </button>
33 </td> 33 </td>
34 </tr> 34 </tr>
35 </tbody> 35 </tbody>
36 <tfoot> 36 <tfoot>
37 <tr> 37 <tr>
38 <th colspan="2"> 38 <th colspan="2">
39 <button 39 <button
40 class="btn btn-primary" ng-click="autorizar()">Autorizar({{getSeleccionados()}})</button> 40 class="btn btn-primary" ng-click="autorizar()">Autorizar({{getSeleccionados()}})</button>
41 </th> 41 </th>
42 <th>Seleccionar todo</th> 42 <th>Seleccionar todo</th>
43 <th> 43 <th>
44 <input 44 <input
45 class="form-control-sm" 45 class="form-control-sm"
46 type="checkbox" 46 type="checkbox"
47 ng-model="checkedAll" 47 ng-model="checkedAll"
48 ng-click="seleccionarTodo()"> 48 ng-click="seleccionarTodo()">
49 </th> 49 </th>
50 </tr> 50 </tr>
51 </tfoot> 51 </tfoot>
52 </table> 52 </table>
53 <div> 53 <div>
54 <nav ng-show="notasPedido.length > 0" class="mr-auto paginador-abm"> 54 <nav ng-show="notasPedido.length > 0" class="mr-auto paginador-abm">
55 <ul class="pagination pagination-sm mb-0"> 55 <ul class="pagination pagination-sm mb-0">
56 <li class="page-item" ng-class="{'disabled': currentPage == 1}"> 56 <li class="page-item" ng-class="{'disabled': currentPage == 1}">
57 <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)">
58 <span aria-hidden="true">&laquo;</span> 58 <span aria-hidden="true">&laquo;</span>
59 <span class="sr-only">Anterior</span> 59 <span class="sr-only">Anterior</span>
60 </a> 60 </a>
61 </li> 61 </li>
62 <!-- TODO QUITAR HARDCODEO --> 62 <!-- TODO QUITAR HARDCODEO -->
63 <li 63 <li
64 class="page-item active"> 64 class="page-item active">
65 <a 65 <a
66 class="page-link" 66 class="page-link"
67 href="javascript:void()">1</a> 67 href="javascript:void()">1</a>
68 </li> 68 </li>
69 <li 69 <li
70 class="page-item" 70 class="page-item"
71 ng-repeat="pagina in paginas" 71 ng-repeat="pagina in paginas"
72 ng-class="{'active': pagina == currentPage}" 72 ng-class="{'active': pagina == currentPage}"
73 > 73 >
74 <a 74 <a
75 class="page-link" 75 class="page-link"
76 href="javascript:void()" 76 href="javascript:void()"
77 ng-click="selectPage(pagina)" 77 ng-click="selectPage(pagina)"
78 ng-bind="pagina" 78 ng-bind="pagina"
79 ></a> 79 ></a>
80 </li> 80 </li>
81 <li class="page-item" ng-class="{'disabled': currentPage == lastPage}"> 81 <li class="page-item" ng-class="{'disabled': currentPage == lastPage}">
82 <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)">
83 <span aria-hidden="true">&raquo;</span> 83 <span aria-hidden="true">&raquo;</span>
84 <span class="sr-only">Siguiente</span> 84 <span class="sr-only">Siguiente</span>
85 </a> 85 </a>
86 </li> 86 </li>
87 </ul> 87 </ul>