Commit c813416109484d3d1a1c2934a133bfef371862df
1 parent
c28654bef6
Exists in
master
refactor ya no se crea hoja de ruta de acá
Showing
1 changed file
with
6 additions
and
35 deletions
Show diff stats
src/views/foca-modal-crear-hoja-ruta.html
| 1 | 1 | <div class="modal-header"> |
| 2 | - <h4>Confeccionar hoja de ruta</h4> | |
| 2 | + <h5>En desarrollo</h5> | |
| 3 | + <h4>Confirmar hoja de ruta</h4> | |
| 3 | 4 | <div class="row"> |
| 4 | - <div class="col-6"> | |
| 5 | + <!-- <div class="col-6"> | |
| 5 | 6 | <span>Hoja de ruta Nº </span> |
| 6 | 7 | <strong ng-bind="[sucursal, numero] | comprobante"></strong> |
| 7 | - </div> | |
| 8 | + </div> --> | |
| 8 | 9 | <div class="col-6 row"> |
| 9 | 10 | <label class="col-3 mt-2">Fecha:</label> |
| 10 | 11 | <input |
| ... | ... | @@ -31,7 +32,7 @@ |
| 31 | 32 | <input |
| 32 | 33 | class="form-control" |
| 33 | 34 | readonly |
| 34 | - ng-model="vehiculo.transportista.NOM" | |
| 35 | + ng-value="vehiculo.transportista.COD + ' ' + vehiculo.transportista.NOM" | |
| 35 | 36 | > |
| 36 | 37 | </div> |
| 37 | 38 | <div class="col-2 form-group"> |
| ... | ... | @@ -44,36 +45,6 @@ |
| 44 | 45 | ng-model="vehiculo.tractor" |
| 45 | 46 | > |
| 46 | 47 | </div> |
| 47 | - <div class="col-2 form-group"> | |
| 48 | - <label>Chofer</label> | |
| 49 | - </div> | |
| 50 | - <div class="col-4 input-group"> | |
| 51 | - <input | |
| 52 | - class="form-control" | |
| 53 | - ng-model="chofer.nombre" | |
| 54 | - ng-click="seleccionarChofer()" | |
| 55 | - ng-required="true" | |
| 56 | - > | |
| 57 | - <div class="input-group-append"> | |
| 58 | - <button | |
| 59 | - class="brn btn-outline-secondary form-control" | |
| 60 | - ng-click="seleccionarChofer()" | |
| 61 | - ><i class="fa fa-search"></i> | |
| 62 | - </button> | |
| 63 | - </div> | |
| 64 | - </div> | |
| 65 | - <div class="col-2"> | |
| 66 | - <label>Tarifa</label> | |
| 67 | - </div> | |
| 68 | - <div class="col-4"> | |
| 69 | - <input | |
| 70 | - class="form-control" | |
| 71 | - ng-model="tarifaFlete" | |
| 72 | - ng-required="true" | |
| 73 | - foca-teclado | |
| 74 | - foca-tipo-input | |
| 75 | - > | |
| 76 | - </div> | |
| 77 | 48 | </form> |
| 78 | 49 | <strong>Remitos:</strong> |
| 79 | 50 | <table class="table"> |
| ... | ... | @@ -123,6 +94,6 @@ |
| 123 | 94 | class="btn btn-sm btn-primary" |
| 124 | 95 | ladda="cargando" |
| 125 | 96 | type="button" |
| 126 | - ng-disabled="!formHojaRuta.$valid || !remitos.length" | |
| 97 | + ng-disabled="!formHojaRuta.$valid || !remitos.length || true" | |
| 127 | 98 | ng-click="aceptar()">Crear hoja ruta</button> |
| 128 | 99 | </div> |