Commit 1e30fd1c90de71b3e511deccf9299b54459dd612
1 parent
06390dd11d
Exists in
master
and in
1 other branch
correciones modal
Showing
1 changed file
with
30 additions
and
20 deletions
Show diff stats
src/views/foca-modal-crear-hoja-ruta.html
| 1 | <div class="modal-header"> | 1 | <div class="modal-header"> |
| 2 | <h4>-en desarrollo</h4> | ||
| 3 | <h4>Confeccionar hoja de ruta</h4> | 2 | <h4>Confeccionar hoja de ruta</h4> |
| 4 | Hoja de ruta Nº <strong ng-bind="[sucursal, numero] | comprobante"></strong> | 3 | <div class="row"> |
| 5 | Fecha: | 4 | <div class="col-6"> |
| 6 | <input | 5 | <span>Hoja de ruta Nº </span> |
| 7 | type="date" | 6 | <strong ng-bind="[sucursal, numero] | comprobante"></strong> |
| 8 | ng-model="now" | 7 | </div> |
| 9 | class="form-control form-control-sm col-3 float-right" | 8 | <div class="col-6 row"> |
| 10 | /> | 9 | <label class="col-3 mt-2">Fecha:</label> |
| 11 | <br> | 10 | <input |
| 11 | type="text" | ||
| 12 | readonly | ||
| 13 | ng-model="now" | ||
| 14 | uib-datepicker-popup="dd/MM/yyyy" | ||
| 15 | show-button-bar="false" | ||
| 16 | is-open="datepickerOpen" | ||
| 17 | on-open-focus="false" | ||
| 18 | ng-focus="datepickerOpen = true" | ||
| 19 | datepicker-options="dateOptions" | ||
| 20 | class="form-control col-8"/> | ||
| 21 | </div> | ||
| 22 | </div> | ||
| 12 | </div> | 23 | </div> |
| 13 | <div class="modal-body"> | 24 | <div class="modal-body"> |
| 14 | <form class="row" name="formHojaRuta"> | 25 | <form class="row" name="formHojaRuta"> |
| 15 | |||
| 16 | 26 | ||
| 17 | <div class="col-2 form-group"> | 27 | <div class="col-2"> |
| 18 | <label>Vehículo</label> | 28 | <label>Transportista</label> |
| 19 | </div> | 29 | </div> |
| 20 | <div class="col-4"> | 30 | <div class="col-4"> |
| 21 | <input | 31 | <input |
| 22 | class="form-control" | 32 | class="form-control" |
| 23 | readonly | 33 | readonly |
| 24 | ng-model="vehiculo.tractor" | 34 | ng-model="vehiculo.transportista.NOM" |
| 25 | > | 35 | > |
| 26 | </div> | 36 | </div> |
| 27 | <div class="col-2"> | 37 | <div class="col-2 form-group"> |
| 28 | <label>Transportista</label> | 38 | <label>Unidad</label> |
| 29 | </div> | 39 | </div> |
| 30 | <div class="col-4"> | 40 | <div class="col-4"> |
| 31 | <input | 41 | <input |
| 32 | class="form-control" | 42 | class="form-control" |
| 33 | readonly | 43 | readonly |
| 34 | ng-model="vehiculo.transportista.NOM" | 44 | ng-model="vehiculo.tractor" |
| 35 | > | 45 | > |
| 36 | </div> | 46 | </div> |
| 37 | <div class="col-2 form-group"> | 47 | <div class="col-2 form-group"> |
| 38 | <label>Chofer</label> | 48 | <label>Chofer</label> |
| 39 | </div> | 49 | </div> |
| 40 | <div class="col-4 input-group"> | 50 | <div class="col-4 input-group"> |
| 41 | <input | 51 | <input |
| 42 | class="form-control" | 52 | class="form-control" |
| 43 | ng-model="chofer.nombre" | 53 | ng-model="chofer.nombre" |
| 44 | ng-click="seleccionarChofer()" | 54 | ng-click="seleccionarChofer()" |
| 45 | ng-required="true" | 55 | ng-required="true" |
| 46 | > | 56 | > |
| 47 | <div class="input-group-append"> | 57 | <div class="input-group-append"> |
| 48 | <button | 58 | <button |
| 49 | class="brn btn-outline-secondary form-control" | 59 | class="brn btn-outline-secondary form-control" |
| 50 | ng-click="seleccionarChofer()" | 60 | ng-click="seleccionarChofer()" |
| 51 | ><i class="fa fa-search"></i> | 61 | ><i class="fa fa-search"></i> |
| 52 | </button> | 62 | </button> |
| 53 | </div> | 63 | </div> |
| 54 | </div> | 64 | </div> |
| 55 | <div class="col-2"> | 65 | <div class="col-2"> |
| 56 | <label>Tarifa</label> | 66 | <label>Tarifa</label> |
| 57 | </div> | 67 | </div> |
| 58 | <div class="col-4"> | 68 | <div class="col-4"> |
| 59 | <input | 69 | <input |
| 60 | class="form-control" | 70 | class="form-control" |
| 61 | ng-model="tarifaFlete" | 71 | ng-model="tarifaFlete" |
| 62 | ng-required="true" | 72 | ng-required="true" |
| 63 | foca-teclado | 73 | foca-teclado |
| 64 | foca-tipo-input | 74 | foca-tipo-input |
| 65 | > | 75 | > |
| 66 | </div> | 76 | </div> |
| 67 | </form> | 77 | </form> |
| 68 | <strong>Remitos:</strong> | 78 | <strong>Remitos:</strong> |
| 69 | <table class="table"> | 79 | <table class="table"> |
| 70 | <thead> | 80 | <thead> |
| 71 | <tr> | 81 | <tr> |
| 72 | <th>Remito Nº</th> | 82 | <th>Remito Nº</th> |
| 73 | <th>Cliente</th> | 83 | <th>Cliente</th> |
| 74 | <th>Domicilio</th> | 84 | <th>Domicilio de entrega</th> |
| 75 | </tr> | 85 | </tr> |
| 76 | </thead> | 86 | </thead> |
| 77 | <tbody> | 87 | <tbody> |
| 78 | <tr ng-show="!remitos.length"> | 88 | <tr ng-show="!remitos.length"> |
| 79 | <td colspan="3"> | 89 | <td colspan="3"> |
| 80 | No se han encontrado remitos. | 90 | No se han encontrado remitos. |
| 81 | </td> | 91 | </td> |
| 82 | </tr> | 92 | </tr> |
| 83 | <tr ng-repeat="remito in remitos"> | 93 | <tr ng-repeat="remito in remitos"> |
| 84 | <td ng-bind="[remito.sucursal, remito.numeroRemito] | comprobante"></td> | 94 | <td ng-bind="[remito.sucursal, remito.numeroRemito] | comprobante"></td> |
| 85 | <td ng-bind="remito.nombreCliente"></td> | 95 | <td ng-bind="remito.nombreCliente"></td> |
| 86 | <td ng-bind="remito.domicilioStamp"></td> | 96 | <td ng-bind="remito.domicilioStamp"></td> |
| 87 | <td> | 97 | <td> |
| 88 | <div class="custom-control custom-checkbox"> | 98 | <div class="custom-control custom-checkbox"> |
| 89 | <input | 99 | <input |
| 90 | type="checkbox" | 100 | type="checkbox" |
| 91 | ng-model="remito.checked" | 101 | ng-model="remito.checked" |
| 92 | class="custom-control-input" | 102 | class="custom-control-input" |
| 93 | id="{{remito.id}}"> | 103 | id="{{remito.id}}"> |
| 94 | <label class="custom-control-label" for="{{remito.id}}"></label> | 104 | <label class="custom-control-label" for="{{remito.id}}"></label> |
| 95 | </div> | 105 | </div> |
| 96 | </td> | 106 | </td> |
| 97 | </tr> | 107 | </tr> |
| 98 | </tbody> | 108 | </tbody> |
| 99 | </table> | 109 | </table> |
| 100 | </div> | 110 | </div> |
| 101 | <div class="modal-footer py-1"> | 111 | <div class="modal-footer py-1"> |
| 102 | <button | 112 | <button |
| 103 | class="btn btn-sm btn-danger" | 113 | class="btn btn-sm btn-danger" |
| 104 | type="button" | 114 | type="button" |
| 105 | ng-click="eliminarRemitos()" | 115 | ng-click="eliminarRemitos()" |
| 106 | ng-disabled="minimoUnoChecked()">Eliminar</button> | 116 | ng-disabled="minimoUnoChecked()">Eliminar</button> |
| 107 | <button | 117 | <button |
| 108 | class="btn btn-sm btn-secondary" | 118 | class="btn btn-sm btn-secondary" |
| 109 | ladda="cargando" | 119 | ladda="cargando" |
| 110 | type="button" | 120 | type="button" |
| 111 | ng-click="cancelar()">Cancelar</button> | 121 | ng-click="cancelar()">Cancelar</button> |
| 112 | <button | 122 | <button |
| 113 | class="btn btn-sm btn-primary" | 123 | class="btn btn-sm btn-primary" |
| 114 | ladda="cargando" | 124 | ladda="cargando" |
| 115 | type="button" | 125 | type="button" |
| 116 | ng-disabled="!formHojaRuta.$valid || !remitos.length" | 126 | ng-disabled="!formHojaRuta.$valid || !remitos.length" |
| 117 | ng-click="aceptar()">Crear hoja ruta</button> | 127 | ng-click="aceptar()">Crear hoja ruta</button> |