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