Commit 83a01b77437959758cd0574e8f1450811f5575f6
1 parent
5110038023
Exists in
master
and in
1 other branch
archivos innecesarios
Showing
2 changed files
with
0 additions
and
103 deletions
Show diff stats
src/views/foca-crear-remito-ficha-cliente.html
1 | <div class="modal-header"> | File was deleted | |
2 | <h3 class="modal-title"></h3> | ||
3 | </div> | ||
4 | <div class="modal-body" id="modal-body"> | ||
5 | <div class="input-group mb-3"> | ||
6 | <input | ||
7 | type="text" | ||
8 | class="form-control" | ||
9 | placeholder="Busqueda" | ||
10 | ng-model="filters" | ||
11 | ng-change="search()" | ||
12 | ng-keydown="busquedaDown($event.keyCode)" | ||
13 | ng-keypress="busquedaPress($event.keyCode)" | ||
14 | foca-focus="selectedVendedor == -1" | ||
15 | ng-focus="selectedVendedor = -1" | ||
16 | > | ||
17 | <table class="table table-striped table-sm"> | ||
18 | <thead> | ||
19 | <tr> | ||
20 | <th>Código</th> | ||
21 | <th>Nombre</th> | ||
22 | <th></th> | ||
23 | </tr> | ||
24 | </thead> | ||
25 | <tbody> | ||
26 | <tr ng-repeat="(key, vendedor) in currentPageVendedores"> | ||
27 | <td ng-bind="vendedor.CodVen"></td> | ||
28 | <td ng-bind="vendedor.NomVen"></td> | ||
29 | <td> | ||
30 | <button | ||
31 | type="button" | ||
32 | class="btn p-2 float-right btn-sm" | ||
33 | ng-class="{ | ||
34 | 'btn-secondary': selectedVendedor != key, | ||
35 | 'btn-primary': selectedVendedor == key | ||
36 | }" | ||
37 | ng-click="select(vendedor)" | ||
38 | foca-focus="selectedVendedor == {{key}}" | ||
39 | ng-keydown="itemVendedor($event.keyCode)"> | ||
40 | <i class="fa fa-arrow-right" aria-hidden="true"></i> | ||
41 | </button> | ||
42 | </td> | ||
43 | </tr> | ||
44 | </tbody> | ||
45 | </table> | ||
46 | <nav> | ||
47 | <ul class="pagination justify-content-end"> | ||
48 | <li class="page-item" ng-class="{'disabled': currentPage == 1}"> | ||
49 | <a class="page-link" href="#" ng-click="selectPage(currentPage - 1)"> | ||
50 | <span aria-hidden="true">«</span> | ||
51 | <span class="sr-only">Anterior</span> | ||
52 | </a> | ||
53 | </li> | ||
54 | <li | ||
55 | class="page-item" | ||
56 | ng-repeat="pagina in paginas" | ||
57 | ng-class="{'active': pagina == currentPage}" | ||
58 | > | ||
59 | <a | ||
60 | class="page-link" | ||
61 | href="#" | ||
62 | ng-click="selectPage(pagina)" | ||
63 | ng-bind="pagina" | ||
64 | ></a> | ||
65 | </li> | ||
66 | <li class="page-item" ng-class="{'disabled': currentPage == lastPage}"> | ||
67 | <a class="page-link" href="#" ng-click="selectPage(currentPage + 1)"> | ||
68 | <span aria-hidden="true">»</span> | ||
69 | <span class="sr-only">Siguiente</span> | ||
70 | </a> | ||
71 | </li> | ||
72 | </ul> | ||
73 | </nav> | ||
74 | </div> | ||
75 | </div> | ||
76 | <div class="modal-footer"> | ||
77 | <button class="btn btn-secondary" data-dismiss="modal">Cerrar</button> | ||
78 | </div> | ||
79 | 1 | <div class="modal-header"> |
src/views/remito-lista.html
1 | <table class="table table-sm table-hover table-nonfluid"> | File was deleted | |
2 | <thead> | ||
3 | <tr> | ||
4 | <th>Código</th> | ||
5 | <th>Vendedor</th> | ||
6 | <th>Cliente</th> | ||
7 | <th>Proveedor</th> | ||
8 | <th>Total</th> | ||
9 | <th><button class="btn btn-primary" ng-click="crearRemito()">Crear</button></th> | ||
10 | </tr> | ||
11 | </thead> | ||
12 | <tbody> | ||
13 | <tr ng-repeat="item in remitos"> | ||
14 | <td ng-bind="item.id"></td> | ||
15 | <td ng-bind="item.vendedor"></td> | ||
16 | <td ng-bind="item.cliente"></td> | ||
17 | <td ng-bind="item.proveedor"></td> | ||
18 | <td ng-bind="(item.total | 0) | currency"></td> | ||
19 | <td> | ||
20 | <button class="btn btn-info" ng-show="false" ng-click="editar(item)"><i class="fa fa-edit"></i></button> | ||
21 | <!-- <button class="btn btn-danger" ng-click="borrar(item.id)"><i class="fa fa-trash"></i></button> --> | ||
22 | </td> | ||
23 | </tr> | ||
24 | </tbody> | ||
25 | </table> | ||
26 | 1 | <table class="table table-sm table-hover table-nonfluid"> |