Commit 544be6d7a42399dfad5e83fdc5f0765936824f15
1 parent
a07eb461e8
Exists in
master
bootstrap a los botones aceptar y cancelar
Showing
1 changed file
with
3 additions
and
3 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" | 20 | typeahead-min-length="3" |
21 | typeahead-on-select="seleccionar($item)" | 21 | typeahead-on-select="seleccionar($item)" |
22 | class="form-control" | 22 | class="form-control" |
23 | > | 23 | > |
24 | <i ng-show="cargandoClientes" class="fas fa-sync"></i> | 24 | <i ng-show="cargandoClientes" class="fas fa-sync"></i> |
25 | <div ng-show="sinResultados"> | 25 | <div ng-show="sinResultados"> |
26 | <i class="fas fa-minus"></i> No se encontraron resultados. | 26 | <i class="fa fa-minus"></i> No se encontraron resultados. |
27 | </div> | 27 | </div> |
28 | </div> | 28 | </div> |
29 | </div> | 29 | </div> |
30 | </form> | 30 | </form> |
31 | </div> | 31 | </div> |
32 | <div class="modal-footer"> | 32 | <div class="modal-footer"> |
33 | <button ng-click="aceptar()">Aceptar</button> | 33 | <button class="btn" ng-click="aceptar()">Aceptar</button> |
34 | <button ng-click="cancelar()">Cancelar</button> | 34 | <button class="btn" ng-click="cancelar()">Cancelar</button> |
35 | </div> | 35 | </div> |
36 | 36 |