Commit f2452766ea3c5e52c83be16ddf327e4b606b3bf2
1 parent
1d282ddc14
Exists in
master
Saco la cantidad mínima de caracteres.
Showing
1 changed file
with
0 additions
and
1 deletions
Show diff stats
src/views/foca-busqueda-cliente-modal.html
| 1 | <div class="modal-header"> | 1 | <div class="modal-header"> |
| 2 | <h3 class="modal-title">Búsqueda de cliente</h3> | 2 | <h3 class="modal-title">Búsqueda de cliente</h3> |
| 3 | </div> | 3 | </div> |
| 4 | <div class="modal-body"> | 4 | <div class="modal-body"> |
| 5 | <form> | 5 | <form> |
| 6 | <div class="form-group row"> | 6 | <div class="form-group row"> |
| 7 | <label class="col-sm-4 col-form-label">Nombre o CUIT</label> | 7 | <label class="col-sm-4 col-form-label">Nombre o CUIT</label> |
| 8 | <div class="col-sm-8"> | 8 | <div class="col-sm-8"> |
| 9 | <input | 9 | <input |
| 10 | type="text" | 10 | type="text" |
| 11 | ng-model="cliente" | 11 | ng-model="cliente" |
| 12 | placeholder="Nombre o CUIT" | 12 | placeholder="Nombre o CUIT" |
| 13 | uib-typeahead=" | 13 | uib-typeahead=" |
| 14 | cliente.nom + ' (' + cliente.cuit + ')' | 14 | cliente.nom + ' (' + cliente.cuit + ')' |
| 15 | for cliente | 15 | for cliente |
| 16 | in obtenerClientesPorNombreOCuit($viewValue) | 16 | in obtenerClientesPorNombreOCuit($viewValue) |
| 17 | " | 17 | " |
| 18 | typeahead-loading="cargandoClientes" | 18 | typeahead-loading="cargandoClientes" |
| 19 | typeahead-no-results="sinResultados" | 19 | typeahead-no-results="sinResultados" |
| 20 | typeahead-min-length="3" | ||
| 21 | typeahead-on-select="seleccionar($item)" | 20 | typeahead-on-select="seleccionar($item)" |
| 22 | class="form-control" | 21 | class="form-control" |
| 23 | > | 22 | > |
| 24 | <i ng-show="cargandoClientes" class="fas fa-sync"></i> | 23 | <i ng-show="cargandoClientes" class="fas fa-sync"></i> |
| 25 | <div ng-show="sinResultados"> | 24 | <div ng-show="sinResultados"> |
| 26 | <i class="fa fa-minus"></i> No se encontraron resultados. | 25 | <i class="fa fa-minus"></i> No se encontraron resultados. |
| 27 | </div> | 26 | </div> |
| 28 | </div> | 27 | </div> |
| 29 | </div> | 28 | </div> |
| 30 | </form> | 29 | </form> |
| 31 | </div> | 30 | </div> |
| 32 | <div class="modal-footer"> | 31 | <div class="modal-footer"> |
| 33 | <button class="btn" ng-click="aceptar()">Aceptar</button> | 32 | <button class="btn" ng-click="aceptar()">Aceptar</button> |
| 34 | <button class="btn" ng-click="cancelar()">Cancelar</button> | 33 | <button class="btn" ng-click="cancelar()">Cancelar</button> |
| 35 | </div> | 34 | </div> |
| 36 | 35 |