Commit e00a791a0aab9aea38e121dee1a72b80d5580b70
1 parent
102db73308
Exists in
master
sin
Showing
1 changed file
with
0 additions
and
1 deletions
Show diff stats
src/views/foca-modal-cerrar-vehiculo.html
1 | <div class="modal-header"> | 1 | <div class="modal-header"> |
2 | <h5>En desarrollo</h5> | ||
3 | <h4>Cerrar distribución vehículo</h4> | 2 | <h4>Cerrar distribución vehículo</h4> |
4 | <div class="row"> | 3 | <div class="row"> |
5 | <div class="col-6 row"> | 4 | <div class="col-6 row"> |
6 | <label class="col-3 mt-2">Fecha:</label> | 5 | <label class="col-3 mt-2">Fecha:</label> |
7 | <input | 6 | <input |
8 | type="text" | 7 | type="text" |
9 | readonly | 8 | readonly |
10 | ng-model="now" | 9 | ng-model="now" |
11 | uib-datepicker-popup="dd/MM/yyyy" | 10 | uib-datepicker-popup="dd/MM/yyyy" |
12 | show-button-bar="false" | 11 | show-button-bar="false" |
13 | is-open="datepickerOpen" | 12 | is-open="datepickerOpen" |
14 | on-open-focus="false" | 13 | on-open-focus="false" |
15 | class="form-control col-8"/> | 14 | class="form-control col-8"/> |
16 | </div> | 15 | </div> |
17 | </div> | 16 | </div> |
18 | </div> | 17 | </div> |
19 | <div class="modal-body"> | 18 | <div class="modal-body"> |
20 | <form class="row" name="formHojaRuta"> | 19 | <form class="row" name="formHojaRuta"> |
21 | 20 | ||
22 | <div class="col-2"> | 21 | <div class="col-2"> |
23 | <label>Transportista</label> | 22 | <label>Transportista</label> |
24 | </div> | 23 | </div> |
25 | <div class="col-4"> | 24 | <div class="col-4"> |
26 | <input | 25 | <input |
27 | class="form-control" | 26 | class="form-control" |
28 | readonly | 27 | readonly |
29 | ng-value="vehiculo.transportista.COD + ' ' + vehiculo.transportista.NOM" | 28 | ng-value="vehiculo.transportista.COD + ' ' + vehiculo.transportista.NOM" |
30 | > | 29 | > |
31 | </div> | 30 | </div> |
32 | <div class="col-2 form-group"> | 31 | <div class="col-2 form-group"> |
33 | <label>Unidad</label> | 32 | <label>Unidad</label> |
34 | </div> | 33 | </div> |
35 | <div class="col-4"> | 34 | <div class="col-4"> |
36 | <input | 35 | <input |
37 | class="form-control" | 36 | class="form-control" |
38 | readonly | 37 | readonly |
39 | ng-model="vehiculo.tractor" | 38 | ng-model="vehiculo.tractor" |
40 | > | 39 | > |
41 | </div> | 40 | </div> |
42 | </form> | 41 | </form> |
43 | <strong>Remitos:</strong> | 42 | <strong>Remitos:</strong> |
44 | <table class="table"> | 43 | <table class="table"> |
45 | <thead> | 44 | <thead> |
46 | <tr> | 45 | <tr> |
47 | <th>Remito Nº</th> | 46 | <th>Remito Nº</th> |
48 | <th>Cliente</th> | 47 | <th>Cliente</th> |
49 | <th>Domicilio de entrega</th> | 48 | <th>Domicilio de entrega</th> |
50 | <th>Eliminar</th> | 49 | <th>Eliminar</th> |
51 | </tr> | 50 | </tr> |
52 | </thead> | 51 | </thead> |
53 | <tbody> | 52 | <tbody> |
54 | <tr ng-show="!remitos.length"> | 53 | <tr ng-show="!remitos.length"> |
55 | <td colspan="3"> | 54 | <td colspan="3"> |
56 | No se han encontrado remitos. | 55 | No se han encontrado remitos. |
57 | </td> | 56 | </td> |
58 | </tr> | 57 | </tr> |
59 | <tr ng-repeat="remito in remitos"> | 58 | <tr ng-repeat="remito in remitos"> |
60 | <td ng-bind="[remito.sucursal, remito.numeroRemito] | comprobante"></td> | 59 | <td ng-bind="[remito.sucursal, remito.numeroRemito] | comprobante"></td> |
61 | <td ng-bind="remito.nombreCliente"></td> | 60 | <td ng-bind="remito.nombreCliente"></td> |
62 | <td ng-bind="remito.domicilioStamp"></td> | 61 | <td ng-bind="remito.domicilioStamp"></td> |
63 | <td> | 62 | <td> |
64 | <div class="custom-control custom-checkbox"> | 63 | <div class="custom-control custom-checkbox"> |
65 | <input | 64 | <input |
66 | type="checkbox" | 65 | type="checkbox" |
67 | ng-model="remito.checked" | 66 | ng-model="remito.checked" |
68 | class="custom-control-input" | 67 | class="custom-control-input" |
69 | id="{{remito.id}}"> | 68 | id="{{remito.id}}"> |
70 | <label class="custom-control-label" for="{{remito.id}}"></label> | 69 | <label class="custom-control-label" for="{{remito.id}}"></label> |
71 | </div> | 70 | </div> |
72 | </td> | 71 | </td> |
73 | </tr> | 72 | </tr> |
74 | </tbody> | 73 | </tbody> |
75 | </table> | 74 | </table> |
76 | </div> | 75 | </div> |
77 | <div class="modal-footer py-1"> | 76 | <div class="modal-footer py-1"> |
78 | <button | 77 | <button |
79 | class="btn btn-sm btn-danger" | 78 | class="btn btn-sm btn-danger" |
80 | type="button" | 79 | type="button" |
81 | ng-click="eliminarRemitos()" | 80 | ng-click="eliminarRemitos()" |
82 | ng-disabled="minimoUnoChecked()">Eliminar</button> | 81 | ng-disabled="minimoUnoChecked()">Eliminar</button> |
83 | <button | 82 | <button |
84 | class="btn btn-sm btn-secondary" | 83 | class="btn btn-sm btn-secondary" |
85 | ladda="cargando" | 84 | ladda="cargando" |
86 | type="button" | 85 | type="button" |
87 | ng-click="cancelar()">Cancelar</button> | 86 | ng-click="cancelar()">Cancelar</button> |
88 | <button | 87 | <button |
89 | class="btn btn-sm btn-primary" | 88 | class="btn btn-sm btn-primary" |
90 | ladda="cargando" | 89 | ladda="cargando" |
91 | type="button" | 90 | type="button" |
92 | ng-disabled="!formHojaRuta.$valid || !remitos.length" | 91 | ng-disabled="!formHojaRuta.$valid || !remitos.length" |
93 | ng-click="aceptar()">Cerrar distribución</button> | 92 | ng-click="aceptar()">Cerrar distribución</button> |
94 | </div> | 93 | </div> |
95 | 94 |