orden-carga.html
2.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<div class="row">
<foca-cabecera-facturador
titulo="'Orden de Carga'"
numero="puntoVenta + '-' + comprobante"
fecha="ordenCarga.fechaCarga"
class="mb-0 col-lg-12"
></foca-cabecera-facturador>
</div>
<div class="row">
<div class="col-12 col-md-10 p-0 mt-4 border border-white rounded">
<div class="row px-5 py-2 botonera-secundaria">
<div class="col-12">
<foca-botonera-facturador botones="botonera" max="6" class="row"></foca-botonera-facturador>
</div>
</div>
<table class="table table-default table-hover table-sm table-abm table-striped mb-0">
<thead>
<tr>
<th>Cisterna</th>
<th>Producto</th>
<th>Capacidad Total</th>
<th>Carga</th>
<th>Disponible</th>
<th class="text-center">
</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="hojaRuta in hojasRuta | filter:filtros">
<td>
<b ng-show="hojaRuta.abierta !== null">RA </b>
<b ng-show="hojaRuta.abierta === null">  </b>
<span ng-bind="[hojaRuta.sucursal, hojaRuta.numeroHojaRuta] | comprobante"></span>
</td>
<td ng-bind="hojaRuta.fechaReparto | date:'yyyy-MM-dd':'-0300'"></td>
<td>
<div ng-bind="hojaRuta.remitos.length" class="d-inline-block"></div>
<button class="btn btn-outline-dark boton-accion" ng-click="mostrarRemitos(hojaRuta)">
<i class="fa fa-eye"></i>
</button>
</td>
<td
ng-bind="setearEstado(hojaRuta.estado)"
ng-class="{'text-white':hojaRuta.estado == 0,
'text-danger':hojaRuta.estado == 1,
'text-dark': hojaRuta.estado == 2
}"
></td>
<td></td>
<td class="text-center">
<button
class="btn btn-outline-dark boton-accion"
title="Activar"
ng-click="activarHojaRuta(hojaRuta)"
>
<i
ng-class="{'fa-check': hojaRuta.estado == 0,'fa-times': hojaRuta.estado == 1}"
class="fa">
</i>
</button>
</td>
</tr>
</body>
</table>
</div>
</div>