Commit 176cb5fe83b6bec31ff485415b499820e9f98027

Authored by Eric Fernandez

Merge branch 'develop' into 'master'

Develop

See merge request !12
src/views/activar-hoja-ruta.html
1 <div class="row"> 1 <div class="row">
2 <foca-cabecera-facturador 2 <foca-cabecera-facturador
3 titulo="'Activar Hoja de Ruta'" 3 titulo="'Activar Hoja de Ruta'"
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 <div class="row"> 8 <div class="row">
9 <div class="col-12 col-md-10 p-0 mt-4 border border-white rounded"> 9 <div class="col-12 col-md-10 p-0 mt-4 border border-white rounded">
10 <div class="row px-5 py-2 botonera-secundaria"> 10 <div class="row px-5 py-2 botonera-secundaria">
11 <div class="col-12"> 11 <div class="col-12">
12 <foca-botonera-facturador botones="botonera" max="6" class="row"></foca-botonera-facturador> 12 <foca-botonera-facturador botones="botonera" max="6" class="row"></foca-botonera-facturador>
13 </div> 13 </div>
14 </div> 14 </div>
15 <!-- <div class="col-6 form-group"> 15 <!-- <div class="col-6 form-group">
16 <input seleccionarTransportista() 16 <input seleccionarTransportista()
17 type="text" 17 type="text"
18 teclado-virtual 18 teclado-virtual
19 class="form-control form-control-sm" 19 class="form-control form-control-sm"
20 placeholder="Búsqueda" 20 placeholder="Búsqueda"
21 ng-model="filtros" 21 ng-model="filtros"
22 /> 22 />
23 </div> --> 23 </div> -->
24 <table class="table table-default table-hover table-sm table-abm table-striped mb-0"> 24 <table class="table table-default table-hover table-sm table-abm table-striped mb-0">
25 <thead> 25 <thead>
26 <tr> 26 <tr>
27 <th>Número</th> 27 <th>Número</th>
28 <th>Fecha</th> 28 <th>Fecha</th>
29 <th>Remitos</th> 29 <th>Remitos</th>
30 <th>Estados</th> 30 <th>Estados</th>
31 <th></th> 31 <th></th>
32 <th class="text-center"> 32 <th class="text-center">
33 </th> 33 </th>
34 </tr> 34 </tr>
35 </thead> 35 </thead>
36 <tbody> 36 <tbody>
37 <tr ng-repeat="hojaRuta in hojasRuta | filter:filtros"> 37 <tr ng-repeat="hojaRuta in hojasRuta | filter:filtros">
38 <td ng-bind="[hojaRuta.sucursal, hojaRuta.numeroHojaRuta] | comprobante"></td> 38 <td>
39 <b ng-show="hojaRuta.abierta !== null">RA </b>
40 <b ng-show="hojaRuta.abierta === null">&emsp;&nbsp;</b>
41 <span ng-bind="[hojaRuta.sucursal, hojaRuta.numeroHojaRuta] | comprobante"></span>
42 </td>
39 <td ng-bind="hojaRuta.fechaReparto | date:'yyyy-MM-dd':'-0300'"></td> 43 <td ng-bind="hojaRuta.fechaReparto | date:'yyyy-MM-dd':'-0300'"></td>
40 <td> 44 <td>
41 <div ng-bind="hojaRuta.remitos.length" class="d-inline-block"></div> 45 <div ng-bind="hojaRuta.remitos.length" class="d-inline-block"></div>
42 <button class="btn btn-outline-dark boton-accion" ng-click="mostrarRemitos(hojaRuta)"> 46 <button class="btn btn-outline-dark boton-accion" ng-click="mostrarRemitos(hojaRuta)">
43 <i class="fa fa-eye"></i> 47 <i class="fa fa-eye"></i>
44 </button> 48 </button>
45 </td> 49 </td>
46 <td 50 <td
47 ng-bind="setearEstado(hojaRuta.estado)" 51 ng-bind="setearEstado(hojaRuta.estado)"
48 ng-class="{'text-white':hojaRuta.estado == 0, 52 ng-class="{'text-white':hojaRuta.estado == 0,
49 'text-danger':hojaRuta.estado == 1, 53 'text-danger':hojaRuta.estado == 1,
50 'text-dark': hojaRuta.estado == 2 54 'text-dark': hojaRuta.estado == 2
51 }" 55 }"
52 ></td> 56 ></td>
53 <td></td> 57 <td></td>
54 <td class="text-center"> 58 <td class="text-center">
55 <button 59 <button
56 class="btn btn-outline-dark boton-accion" 60 class="btn btn-outline-dark boton-accion"
57 title="Activar" 61 title="Activar"
58 ng-click="activarHojaRuta(hojaRuta)" 62 ng-click="activarHojaRuta(hojaRuta)"
59 > 63 >
60 <i class="fa fa-check"></i> 64 <i class="fa fa-check"></i>
61 </button> 65 </button>
62 </td> 66 </td>
63 </tr> 67 </tr>
64 </body> 68 </body>
65 </table> 69 </table>
66 </div> 70 </div>
67 </div> 71 </div>
68 72