Commit 8a3fb80e1200a4a1a5dc316e717c5e3c72c3ef30
Exists in
master
Merge branch 'master' of https://debo.suite.repo/modulos-npm/foca-hoja-ruta
Showing
1 changed file
Show diff stats
src/views/lista-hoja-ruta.html
1 | <div> | 1 | <div> |
2 | <div class="col-md-10 offset-md-1 col-lg-8 offset-lg-2"> | 2 | <div class="col-md-10 offset-md-1 col-lg-8 offset-lg-2"> |
3 | <div class="row p-1 panel-informativo"> | 3 | <div class="row p-1 panel-informativo"> |
4 | <div class="col-12"> | 4 | <div class="col-12"> |
5 | <div class="row"> | 5 | <div class="row"> |
6 | <div class="col-12 col-sm-4 nota-pedido"> | 6 | <div class="col-12 col-sm-4 nota-pedido"> |
7 | <h5>Hojas de ruta</h5> | 7 | <h5>Hojas de ruta</h5> |
8 | </div> | 8 | </div> |
9 | <div class="col-5 col-sm-4 numero-pedido" | 9 | <div class="col-5 col-sm-4 numero-pedido" |
10 | >Nº {{puntoVenta}}-{{comprobante}} | 10 | >Nº {{puntoVenta}}-{{comprobante}} |
11 | </div> | 11 | </div> |
12 | <div class="col-7 col-sm-4 text-right"> | 12 | <div class="col-7 col-sm-4 text-right"> |
13 | Fecha: | 13 | Fecha: |
14 | <span | 14 | <span |
15 | ng-show="!datepickerAbierto" | 15 | ng-show="!datepickerAbierto" |
16 | ng-bind="now | date:'dd/MM/yyyy HH:mm'" | 16 | ng-bind="now | date:'dd/MM/yyyy HH:mm'" |
17 | ng-click="datepickerAbierto = true" | 17 | ng-click="datepickerAbierto = true" |
18 | > | 18 | > |
19 | </span> | 19 | </span> |
20 | <input | 20 | <input |
21 | ng-show="datepickerAbierto" | 21 | ng-show="datepickerAbierto" |
22 | type="date" | 22 | type="date" |
23 | ng-model="now" | 23 | ng-model="now" |
24 | ng-change="datepickerAbierto = false" | 24 | ng-change="datepickerAbierto = false" |
25 | ng-blur="datepickerAbierto = false" | 25 | ng-blur="datepickerAbierto = false" |
26 | class="form-control form-control-sm col-8 float-right" | 26 | class="form-control form-control-sm col-8 float-right" |
27 | foca-focus="datepickerAbierto" | 27 | foca-focus="datepickerAbierto" |
28 | hasta-hoy | 28 | hasta-hoy |
29 | /> | 29 | /> |
30 | </div> | 30 | </div> |
31 | </div> | 31 | </div> |
32 | <div class="row"> | 32 | <div class="row"> |
33 | <div class="col-auto" ng-repeat="cab in cabecera" ng-show="showCabecera"> | 33 | <div class="col-auto" ng-repeat="cab in cabecera" ng-show="showCabecera"> |
34 | <span class="label" ng-bind="cab.label"></span> | 34 | <span class="label" ng-bind="cab.label"></span> |
35 | <span class="valor" ng-bind="cab.valor"></span> | 35 | <span class="valor" ng-bind="cab.valor"></span> |
36 | </div> | 36 | </div> |
37 | <a | ||
38 | class="btn col-12 btn-secondary d-sm-none" | ||
39 | ng-show="cabecera.length > 0" | ||
40 | ng-click="showCabecera = !showCabecera" | ||
41 | > | ||
42 | <i | ||
43 | class="fa fa-chevron-down" | ||
44 | ng-hide="showCabecera" | ||
45 | aria-hidden="true" | ||
46 | > | ||
47 | </i> | ||
48 | <i | ||
49 | class="fa fa-chevron-up" | ||
50 | ng-show="showCabecera" | ||
51 | aria-hidden="true"> | ||
52 | </i> | ||
53 | </a> | ||
54 | </div> | 37 | </div> |
55 | </div> | 38 | </div> |
56 | </div> | 39 | </div> |
57 | <div class="row p-1 botonera-secundaria"> | 40 | <div class="row p-1 botonera-secundaria"> |
58 | <div class="col-12"> | 41 | <div class="col-12"> |
59 | <div class="row"> | 42 | <div class="row"> |
60 | <div class="col-6 col-sm-3 px-0 py-0" ng-repeat="boton in botonera"> | 43 | <div class="col-6 col-sm-3 px-0 py-0" ng-repeat="boton in botonera"> |
61 | <button | 44 | <button |
62 | type="button" | 45 | type="button" |
63 | class="btn btn-default btn-block btn-xs text-left py-2" | 46 | class="btn btn-default btn-block btn-xs text-left py-2" |
64 | ng-click="boton.accion()" | 47 | ng-click="boton.accion()" |
65 | ng-class="{'d-none d-sm-block': boton.texto == ''}" | 48 | ng-class="{'d-none d-sm-block': boton.texto == ''}" |
66 | > | 49 | > |
67 | <i | 50 | <i |
68 | class="fa fa-arrow-circle-right" | 51 | class="fa fa-arrow-circle-right" |
69 | ng-show="boton.texto != ''" | 52 | ng-show="boton.texto != ''" |
70 | ></i> | 53 | ></i> |
71 | | 54 | |
72 | {{boton.texto}} | 55 | {{boton.texto}} |
73 | </button> | 56 | </button> |
74 | </div> | 57 | </div> |
75 | </div> | 58 | </div> |
76 | </div> | 59 | </div> |
77 | </div> | 60 | </div> |
78 | </div> | 61 | </div> |
79 | <div class="col-12 col-md-10 col-lg-8 offset-md-1 offset-lg-2"> | 62 | <div class="col-12 col-md-10 col-lg-8 offset-md-1 offset-lg-2"> |
80 | <div class="row grilla-articulo d-sm-flex"> | 63 | <div class="row grilla-articulo d-sm-flex"> |
81 | <table class="table tabla-articulo table-striped table-sm table-dark"> | 64 | <table class="table tabla-articulo table-striped table-sm table-dark"> |
82 | <thead> | 65 | <thead> |
83 | <tr class="d-flex"> | 66 | <tr class="d-flex"> |
84 | <th>#</th> | 67 | <th>#</th> |
85 | <th>Razon Social</th> | 68 | <th>Razon Social</th> |
86 | <th>Domicilio</th> | 69 | <th>Domicilio</th> |
87 | <th>#Remito</th> | 70 | <th>#Remito</th> |
88 | <th>Litros</th> | 71 | <th>Litros</th> |
89 | <th></th> | 72 | <th></th> |
90 | </tr> | 73 | </tr> |
91 | </thead> | 74 | </thead> |
92 | <tbody class="tabla-articulo-body"> | 75 | <tbody class="tabla-articulo-body"> |
93 | <tr | 76 | <tr |
94 | ng-repeat="(key, remito) in hojasRuta.remito" class="d-flex" | 77 | ng-repeat="(key, remito) in hojasRuta.remito" class="d-flex" |
95 | > | 78 | > |
96 | <td ng-bind="key + 1"></td> | 79 | <td ng-bind="key + 1"></td> |
97 | <td ng-bind="remito.nombreCliente"></td> | 80 | <td ng-bind="remito.nombreCliente"></td> |
98 | <td ng-bind="remito.domicilioStamp"></td> | 81 | <td ng-bind="remito.domicilioStamp"></td> |
99 | <td ng-bind="remito.numeroRemito"></td> | 82 | <td ng-bind="remito.numeroRemito"></td> |
100 | <td ng-bind="remito.remitoCarga"></td> | 83 | <td ng-bind="remito.remitoCarga"></td> |
101 | <td> | 84 | <td> |
102 | <button | 85 | <button |
103 | class="btn btn-secondary" | 86 | class="btn btn-secondary" |
104 | type="button" | 87 | type="button" |
105 | ng-click="verDetalle(remito)" | 88 | ng-click="verDetalle(remito)" |
106 | ><i class="fa fa-search" aria-hidden="true"></i> | 89 | ><i class="fa fa-search" aria-hidden="true"></i> |
107 | </button> | 90 | </button> |
108 | </td> | 91 | </td> |
109 | </tr> | 92 | </tr> |
110 | </tbody> | 93 | </tbody> |
111 | </table> | 94 | </table> |
112 | </div> | 95 | </div> |
113 | </div> | 96 | </div> |
114 | </div> | 97 | </div> |
115 | 98 |