Commit 8f1699741175fbb3589868f40ccca33c08a14be7
1 parent
b4d08929ec
Exists in
master
Agregada cruz para limpiar inputs en crear cliente.
Showing
2 changed files
with
73 additions
and
4 deletions
Show diff stats
src/js/controller.js
src/views/foca-busqueda-cliente-modal.html
... | ... | @@ -41,7 +41,7 @@ |
41 | 41 | ng-show="filters.length >= 1" |
42 | 42 | type="button" |
43 | 43 | class="clear-input" |
44 | - ng-click="clearInput()" | |
44 | + ng-click="filters = ''" | |
45 | 45 | > |
46 | 46 | <i class="fa fa-times"></i> |
47 | 47 | </button> |
... | ... | @@ -178,6 +178,14 @@ |
178 | 178 | foca-focus="focused == 4" |
179 | 179 | teclado-virtual |
180 | 180 | /> |
181 | + <button | |
182 | + ng-show="cliente.provincia.NOMBRE.length >= 1" | |
183 | + type="button" | |
184 | + class="clear-input" | |
185 | + ng-click="cliente.provincia.NOMBRE = ''" | |
186 | + > | |
187 | + <i class="fa fa-times"></i> | |
188 | + </button> | |
181 | 189 | <div class="input-group-append"> |
182 | 190 | <button |
183 | 191 | ladda="searchLoading" |
... | ... | @@ -204,6 +212,14 @@ |
204 | 212 | ng-focus="focus(5)" |
205 | 213 | teclado-virtual |
206 | 214 | /> |
215 | + <button | |
216 | + ng-show="cliente.localidad.NOMBRE.length >= 1" | |
217 | + type="button" | |
218 | + class="clear-input" | |
219 | + ng-click="cliente.localidad.NOMBRE = ''" | |
220 | + > | |
221 | + <i class="fa fa-times"></i> | |
222 | + </button> | |
207 | 223 | <div class="input-group-append"> |
208 | 224 | <button |
209 | 225 | ladda="searchLoading" |
... | ... | @@ -232,6 +248,14 @@ |
232 | 248 | foca-focus="focused == 6" |
233 | 249 | teclado-virtual |
234 | 250 | /> |
251 | + <button | |
252 | + ng-show="cliente.zona.NOM.length >= 1" | |
253 | + type="button" | |
254 | + class="clear-input" | |
255 | + ng-click="cliente.zona.NOM = ''" | |
256 | + > | |
257 | + <i class="fa fa-times"></i> | |
258 | + </button> | |
235 | 259 | <div class="input-group-append"> |
236 | 260 | <button |
237 | 261 | ladda="searchLoading" |
... | ... | @@ -258,6 +282,14 @@ |
258 | 282 | foca-focus="focused == 7" |
259 | 283 | teclado-virtual |
260 | 284 | /> |
285 | + <button | |
286 | + ng-show="cliente.actividad.NOM.length >= 1" | |
287 | + type="button" | |
288 | + class="clear-input" | |
289 | + ng-click="cliente.actividad.NOM = ''" | |
290 | + > | |
291 | + <i class="fa fa-times"></i> | |
292 | + </button> | |
261 | 293 | <div class="input-group-append"> |
262 | 294 | <button |
263 | 295 | ladda="searchLoading" |
... | ... | @@ -285,6 +317,14 @@ |
285 | 317 | foca-focus="focused == 8" |
286 | 318 | teclado-virtual |
287 | 319 | /> |
320 | + <button | |
321 | + ng-show="cliente.cobrador.NOM.length >= 1" | |
322 | + type="button" | |
323 | + class="clear-input" | |
324 | + ng-click="cliente.cobrador.NOM = ''" | |
325 | + > | |
326 | + <i class="fa fa-times"></i> | |
327 | + </button> | |
288 | 328 | <div class="input-group-append"> |
289 | 329 | <button |
290 | 330 | ladda="searchLoading" |
... | ... | @@ -371,6 +411,14 @@ |
371 | 411 | foca-focus="focused == 12" |
372 | 412 | teclado-virtual |
373 | 413 | /> |
414 | + <button | |
415 | + ng-show="cliente.iva.NOMBRE.length >= 1" | |
416 | + type="button" | |
417 | + class="clear-input" | |
418 | + ng-click="cliente.iva.NOMBRE = ''" | |
419 | + > | |
420 | + <i class="fa fa-times"></i> | |
421 | + </button> | |
374 | 422 | <div class="input-group-append"> |
375 | 423 | <button |
376 | 424 | ladda="searchLoading" |
... | ... | @@ -396,6 +444,14 @@ |
396 | 444 | ng-focus="focus(13)" |
397 | 445 | foca-focus="focused == 13" |
398 | 446 | teclado-virtual> |
447 | + <button | |
448 | + ng-show="cliente.tipoFactura.NOMBRE.length >= 1" | |
449 | + type="button" | |
450 | + class="clear-input" | |
451 | + ng-click="cliente.tipoFactura.NOMBRE = ''" | |
452 | + > | |
453 | + <i class="fa fa-times"></i> | |
454 | + </button> | |
399 | 455 | <div class="input-group-append"> |
400 | 456 | <button |
401 | 457 | ladda="searchLoading" |
... | ... | @@ -466,6 +522,14 @@ |
466 | 522 | ng-focus="focus(17)" |
467 | 523 | foca-focus="focused == 17" |
468 | 524 | teclado-virtual> |
525 | + <button | |
526 | + ng-show="cliente.tipoComprobante.NOMBRE.length >= 1" | |
527 | + type="button" | |
528 | + class="clear-input" | |
529 | + ng-click="cliente.tipoComprobante.NOMBRE = ''" | |
530 | + > | |
531 | + <i class="fa fa-times"></i> | |
532 | + </button> | |
469 | 533 | <div class="input-group-append"> |
470 | 534 | <button |
471 | 535 | ladda="searchLoading" |
... | ... | @@ -491,6 +555,14 @@ |
491 | 555 | ng-focus="focus(18)" |
492 | 556 | foca-focus="focused == 18" |
493 | 557 | teclado-virtual> |
558 | + <button | |
559 | + ng-show="cliente.formaPago.NOMBRE.length >= 1" | |
560 | + type="button" | |
561 | + class="clear-input" | |
562 | + ng-click="cliente.formaPago.NOMBRE = ''" | |
563 | + > | |
564 | + <i class="fa fa-times"></i> | |
565 | + </button> | |
494 | 566 | <div class="input-group-append"> |
495 | 567 | <button |
496 | 568 | ladda="searchLoading" |