Commit 136903283d53610f8f1072a781a0e197e13ce94b
1 parent
23b90f93b1
Exists in
develop
Fix
Identacion en vista
Showing
1 changed file
with
86 additions
and
94 deletions
Show diff stats
src/views/foca-modal-nuevo-cliente.html
... | ... | @@ -27,8 +27,7 @@ |
27 | 27 | type="text" |
28 | 28 | class="form-control form-control-sm" |
29 | 29 | ng-model="cliente.COD" |
30 | - readonly | |
31 | - /> | |
30 | + readonly> | |
32 | 31 | </div> |
33 | 32 | <div class="col-9 mt-2"> |
34 | 33 | <label>Nombre</label> |
... | ... | @@ -49,30 +48,28 @@ |
49 | 48 | <div class="col-md-9 col-12 mt-2"> |
50 | 49 | <label>Domicilio</label> |
51 | 50 | <input |
52 | - type="text" | |
53 | - class="form-control form-control-sm" | |
54 | - ng-model="cliente.DOM" | |
55 | - teclado-virtual | |
56 | - placeholder="Ingrese domicilio" | |
57 | - ng-required="true" | |
58 | - ng-focus="focus(2)" | |
59 | - foca-focus="focused == 2" | |
60 | - ng-keypress="next($event.keyCode)" | |
61 | - /> | |
51 | + type="text" | |
52 | + class="form-control form-control-sm" | |
53 | + ng-model="cliente.DOM" | |
54 | + teclado-virtual | |
55 | + placeholder="Ingrese domicilio" | |
56 | + ng-required="true" | |
57 | + ng-focus="focus(2)" | |
58 | + foca-focus="focused == 2" | |
59 | + ng-keypress="next($event.keyCode)"> | |
62 | 60 | </div> |
63 | 61 | <div class="col-md-3 col-12 mt-2"> |
64 | 62 | <label>Código postal</label> |
65 | 63 | <input |
66 | - type="text" | |
67 | - class="form-control form-control-sm" | |
68 | - ng-model="cliente.CPO" | |
69 | - placeholder="Ingrese CP" | |
70 | - ng-required="true" | |
71 | - ng-focus="focus(3)" | |
72 | - foca-focus="focused == 3" | |
73 | - ng-keypress="next($event.keyCode)" | |
74 | - teclado-virtual | |
75 | - /> | |
64 | + type="text" | |
65 | + class="form-control form-control-sm" | |
66 | + ng-model="cliente.CPO" | |
67 | + placeholder="Ingrese CP" | |
68 | + ng-required="true" | |
69 | + ng-focus="focus(3)" | |
70 | + foca-focus="focused == 3" | |
71 | + ng-keypress="next($event.keyCode)" | |
72 | + teclado-virtual> | |
76 | 73 | </div> |
77 | 74 | </div> |
78 | 75 | <div class="row"> |
... | ... | @@ -88,24 +85,23 @@ |
88 | 85 | ng-required="true" |
89 | 86 | ng-focus="focus(4)" |
90 | 87 | foca-focus="focused == 4" |
91 | - teclado-virtual | |
92 | - /> | |
88 | + teclado-virtual> | |
93 | 89 | <button |
94 | 90 | ng-show="cliente.provincia.NOMBRE !== ''" |
95 | 91 | type="button" |
96 | 92 | class="clear-input" |
97 | 93 | ng-click= |
98 | 94 | "cliente.provincia.NOMBRE = ''; |
99 | - cliente.provincia.ID = undefined" | |
100 | - ><i class="fa fa-times"></i> | |
95 | + cliente.provincia.ID = undefined"> | |
96 | + <i class="fa fa-times"></i> | |
101 | 97 | </button> |
102 | 98 | <div class="input-group-append"> |
103 | 99 | <button |
104 | 100 | ladda="searchLoading" |
105 | 101 | class="btn btn-outline-secondary" |
106 | 102 | type="button" |
107 | - ng-click="seleccionarProvincia(13)" | |
108 | - ><i class="fa fa-search" aria-hidden="true"></i> | |
103 | + ng-click="seleccionarProvincia(13)"> | |
104 | + <i class="fa fa-search" aria-hidden="true"></i> | |
109 | 105 | </button> |
110 | 106 | </div> |
111 | 107 | </div> |
... | ... | @@ -122,22 +118,21 @@ |
122 | 118 | ng-required="true" |
123 | 119 | foca-focus="focused == 5" |
124 | 120 | ng-focus="focus(5)" |
125 | - teclado-virtual | |
126 | - /> | |
121 | + teclado-virtual> | |
127 | 122 | <button |
128 | 123 | ng-show="cliente.localidad.NOMBRE !== ''" |
129 | 124 | type="button" |
130 | 125 | class="clear-input" |
131 | - ng-click="cliente.localidad.NOMBRE = ''" | |
132 | - ><i class="fa fa-times"></i> | |
126 | + ng-click="cliente.localidad.NOMBRE = ''"> | |
127 | + <i class="fa fa-times"></i> | |
133 | 128 | </button> |
134 | 129 | <div class="input-group-append"> |
135 | 130 | <button |
136 | 131 | ladda="searchLoading" |
137 | 132 | class="btn btn-outline-secondary" |
138 | 133 | type="button" |
139 | - ng-click="seleccionarLocalidad(13)" | |
140 | - ><i class="fa fa-search" aria-hidden="true"></i> | |
134 | + ng-click="seleccionarLocalidad(13)"> | |
135 | + <i class="fa fa-search" aria-hidden="true"></i> | |
141 | 136 | </button> |
142 | 137 | </div> |
143 | 138 | </div> |
... | ... | @@ -156,22 +151,21 @@ |
156 | 151 | ng-required="true" |
157 | 152 | ng-focus="focus(6)" |
158 | 153 | foca-focus="focused == 6" |
159 | - teclado-virtual | |
160 | - /> | |
154 | + teclado-virtual> | |
161 | 155 | <button |
162 | 156 | ng-show="cliente.zona.NOM !== ''" |
163 | 157 | type="button" |
164 | 158 | class="clear-input" |
165 | - ng-click="cliente.zona.NOM = ''" | |
166 | - ><i class="fa fa-times"></i> | |
159 | + ng-click="cliente.zona.NOM = ''"> | |
160 | + <i class="fa fa-times"></i> | |
167 | 161 | </button> |
168 | 162 | <div class="input-group-append"> |
169 | 163 | <button |
170 | 164 | ladda="searchLoading" |
171 | 165 | class="btn btn-outline-secondary" |
172 | 166 | type="button" |
173 | - ng-click="seleccionarZona(13)" | |
174 | - ><i class="fa fa-search" aria-hidden="true"></i> | |
167 | + ng-click="seleccionarZona(13)"> | |
168 | + <i class="fa fa-search" aria-hidden="true"></i> | |
175 | 169 | </button> |
176 | 170 | </div> |
177 | 171 | </div> |
... | ... | @@ -188,22 +182,21 @@ |
188 | 182 | ng-required="true" |
189 | 183 | ng-focus="focus(7)" |
190 | 184 | foca-focus="focused == 7" |
191 | - teclado-virtual | |
192 | - /> | |
185 | + teclado-virtual> | |
193 | 186 | <button |
194 | 187 | ng-show="cliente.actividad.NOM !== ''" |
195 | 188 | type="button" |
196 | 189 | class="clear-input" |
197 | - ng-click="cliente.actividad.NOM = ''" | |
198 | - ><i class="fa fa-times"></i> | |
190 | + ng-click="cliente.actividad.NOM = ''"> | |
191 | + <i class="fa fa-times"></i> | |
199 | 192 | </button> |
200 | 193 | <div class="input-group-append"> |
201 | 194 | <button |
202 | 195 | ladda="searchLoading" |
203 | 196 | class="btn btn-outline-secondary" |
204 | 197 | type="button" |
205 | - ng-click="seleccionarActividad(13)" | |
206 | - ><i class="fa fa-search" aria-hidden="true"></i> | |
198 | + ng-click="seleccionarActividad(13)"> | |
199 | + <i class="fa fa-search" aria-hidden="true"></i> | |
207 | 200 | </button> |
208 | 201 | </div> |
209 | 202 | </div> |
... | ... | @@ -221,22 +214,21 @@ |
221 | 214 | placeholder="Seleccione cobrador" |
222 | 215 | ng-focus="focus(8)" |
223 | 216 | foca-focus="focused == 8" |
224 | - teclado-virtual | |
225 | - /> | |
217 | + teclado-virtual> | |
226 | 218 | <button |
227 | 219 | ng-show="cliente.cobrador.NOM !== ''" |
228 | 220 | type="button" |
229 | 221 | class="clear-input" |
230 | - ng-click="cliente.cobrador.NOM = ''" | |
231 | - ><i class="fa fa-times"></i> | |
222 | + ng-click="cliente.cobrador.NOM = ''"> | |
223 | + <i class="fa fa-times"></i> | |
232 | 224 | </button> |
233 | 225 | <div class="input-group-append"> |
234 | 226 | <button |
235 | 227 | ladda="searchLoading" |
236 | 228 | class="btn btn-outline-secondary" |
237 | 229 | type="button" |
238 | - ng-click="seleccionarCobrador(13)" | |
239 | - ><i class="fa fa-search" aria-hidden="true"></i> | |
230 | + ng-click="seleccionarCobrador(13)"> | |
231 | + <i class="fa fa-search" aria-hidden="true"></i> | |
240 | 232 | </button> |
241 | 233 | </div> |
242 | 234 | </div> |
... | ... | @@ -252,22 +244,21 @@ |
252 | 244 | placeholder="Seleccione vendedor" |
253 | 245 | ng-focus="focus(9)" |
254 | 246 | foca-focus="focused == 9" |
255 | - teclado-virtual | |
256 | - /> | |
247 | + teclado-virtual> | |
257 | 248 | <button |
258 | 249 | ng-show="vendedor.NOM !== ''" |
259 | 250 | type="button" |
260 | 251 | class="clear-input" |
261 | - ng-click="vendedor.NOM = ''" | |
262 | - ><i class="fa fa-times"></i> | |
252 | + ng-click="vendedor.NOM = ''"> | |
253 | + <i class="fa fa-times"></i> | |
263 | 254 | </button> |
264 | 255 | <div class="input-group-append"> |
265 | 256 | <button |
266 | 257 | ladda="searchLoading" |
267 | 258 | class="btn btn-outline-secondary" |
268 | 259 | type="button" |
269 | - ng-click="seleccionarVendedor(13)" | |
270 | - ><i class="fa fa-search" aria-hidden="true"></i> | |
260 | + ng-click="seleccionarVendedor(13)"> | |
261 | + <i class="fa fa-search" aria-hidden="true"></i> | |
271 | 262 | </button> |
272 | 263 | </div> |
273 | 264 | </div> |
... | ... | @@ -314,7 +305,11 @@ |
314 | 305 | ng-model="cliente.ES_MAY" |
315 | 306 | checked |
316 | 307 | disabled="disabled"> |
317 | - <label class="custom-control-label" for="checkDistribuidor">¿Este cliente es distribuidor?</label> | |
308 | + <label | |
309 | + class="custom-control-label" | |
310 | + for="checkDistribuidor"> | |
311 | + ¿Este cliente es distribuidor? | |
312 | + </label> | |
318 | 313 | </div> |
319 | 314 | </div> |
320 | 315 | </div> |
... | ... | @@ -333,24 +328,23 @@ |
333 | 328 | ng-required="true" |
334 | 329 | ng-focus="focus(12)" |
335 | 330 | foca-focus="focused == 12" |
336 | - teclado-virtual | |
337 | - /> | |
331 | + teclado-virtual> | |
338 | 332 | <button |
339 | 333 | ng-show="cliente.iva.NOMBRE !== ''" |
340 | 334 | type="button" |
341 | 335 | class="clear-input" |
342 | - ng-click="cliente.iva.NOMBRE = ''" | |
343 | - ><i class="fa fa-times"></i> | |
336 | + ng-click="cliente.iva.NOMBRE = ''"> | |
337 | + <i class="fa fa-times"></i> | |
344 | 338 | </button> |
345 | - <div class="input-group-append"> | |
346 | - <button | |
347 | - ladda="searchLoading" | |
348 | - class="btn btn-outline-secondary" | |
349 | - type="button" | |
350 | - ng-click="seleccionarIva(13)" | |
351 | - ><i class="fa fa-search" aria-hidden="true"></i> | |
352 | - </button> | |
353 | - </div> | |
339 | + <div class="input-group-append"> | |
340 | + <button | |
341 | + ladda="searchLoading" | |
342 | + class="btn btn-outline-secondary" | |
343 | + type="button" | |
344 | + ng-click="seleccionarIva(13)"> | |
345 | + <i class="fa fa-search" aria-hidden="true"></i> | |
346 | + </button> | |
347 | + </div> | |
354 | 348 | </div> |
355 | 349 | </div> |
356 | 350 | <div class="col-md-5 col-12 mt-2"> |
... | ... | @@ -370,16 +364,16 @@ |
370 | 364 | ng-show="cliente.tipoFactura.NOMBRE !== ''" |
371 | 365 | type="button" |
372 | 366 | class="clear-input" |
373 | - ng-click="cliente.tipoFactura.NOMBRE = ''" | |
374 | - ><i class="fa fa-times"></i> | |
367 | + ng-click="cliente.tipoFactura.NOMBRE = ''"> | |
368 | + <i class="fa fa-times"></i> | |
375 | 369 | </button> |
376 | 370 | <div class="input-group-append"> |
377 | 371 | <button |
378 | 372 | ladda="searchLoading" |
379 | 373 | class="btn btn-outline-secondary" |
380 | 374 | type="button" |
381 | - ng-click="seleccionarTipoFactura(13)" | |
382 | - ><i class="fa fa-search" aria-hidden="true"></i> | |
375 | + ng-click="seleccionarTipoFactura(13)"> | |
376 | + <i class="fa fa-search" aria-hidden="true"></i> | |
383 | 377 | </button> |
384 | 378 | </div> |
385 | 379 | </div> |
... | ... | @@ -399,8 +393,7 @@ |
399 | 393 | ng-focus="focus(14)" |
400 | 394 | foca-focus="focused == 14" |
401 | 395 | teclado-virtual |
402 | - foca-tipo-input | |
403 | - > | |
396 | + foca-tipo-input> | |
404 | 397 | <span class="m-1"> - </span> |
405 | 398 | <input |
406 | 399 | type="text" |
... | ... | @@ -413,8 +406,7 @@ |
413 | 406 | ng-focus="focus(15)" |
414 | 407 | foca-focus="cuitActivo == 2 || focused == 15" |
415 | 408 | teclado-virtual |
416 | - foca-tipo-input | |
417 | - > | |
409 | + foca-tipo-input> | |
418 | 410 | <span class="m-1"> - </span> |
419 | 411 | <input |
420 | 412 | type="text" |
... | ... | @@ -427,8 +419,7 @@ |
427 | 419 | ng-focus="focus(16)" |
428 | 420 | foca-focus="cuitActivo == 3 || focused == 16" |
429 | 421 | teclado-virtual |
430 | - foca-tipo-input | |
431 | - > | |
422 | + foca-tipo-input> | |
432 | 423 | </div> |
433 | 424 | </div> |
434 | 425 | <div class="col-md-4 col-12 mt-2"> |
... | ... | @@ -448,16 +439,16 @@ |
448 | 439 | ng-show="cliente.tipoComprobante.NOMBRE !== ''" |
449 | 440 | type="button" |
450 | 441 | class="clear-input" |
451 | - ng-click="cliente.tipoComprobante.NOMBRE = ''" | |
452 | - ><i class="fa fa-times"></i> | |
453 | - </button> | |
442 | + ng-click="cliente.tipoComprobante.NOMBRE = ''"> | |
443 | + <i class="fa fa-times"></i> | |
444 | + </button> | |
454 | 445 | <div class="input-group-append"> |
455 | 446 | <button |
456 | 447 | ladda="searchLoading" |
457 | 448 | class="btn btn-outline-secondary" |
458 | 449 | type="button" |
459 | - ng-click="seleccionarTipoComprobante(13)" | |
460 | - ><i class="fa fa-search" aria-hidden="true"></i> | |
450 | + ng-click="seleccionarTipoComprobante(13)"> | |
451 | + <i class="fa fa-search" aria-hidden="true"></i> | |
461 | 452 | </button> |
462 | 453 | </div> |
463 | 454 | </div> |
... | ... | @@ -479,16 +470,16 @@ |
479 | 470 | ng-show="cliente.formaPago.NOMBRE !== ''" |
480 | 471 | type="button" |
481 | 472 | class="clear-input" |
482 | - ng-click="cliente.formaPago.NOMBRE = ''" | |
483 | - ><i class="fa fa-times"></i> | |
473 | + ng-click="cliente.formaPago.NOMBRE = ''"> | |
474 | + <i class="fa fa-times"></i> | |
484 | 475 | </button> |
485 | 476 | <div class="input-group-append"> |
486 | 477 | <button |
487 | 478 | ladda="searchLoading" |
488 | 479 | class="btn btn-outline-secondary" |
489 | 480 | type="button" |
490 | - ng-click="seleccionarFormaPago(13)" | |
491 | - ><i class="fa fa-search" aria-hidden="true"></i> | |
481 | + ng-click="seleccionarFormaPago(13)"> | |
482 | + <i class="fa fa-search" aria-hidden="true"></i> | |
492 | 483 | </button> |
493 | 484 | </div> |
494 | 485 | </div> |
... | ... | @@ -504,12 +495,13 @@ |
504 | 495 | class="btn btn-sm btn-secondary" |
505 | 496 | type="button" |
506 | 497 | data-dismiss="modal" |
507 | - ng-click="cancel()">Cancelar | |
498 | + ng-click="cancel()"> | |
499 | + Cancelar | |
508 | 500 | </button> |
509 | 501 | <button |
510 | 502 | class="btn btn-sm btn-primary" |
511 | 503 | type="button" |
512 | - ng-click="guardar()" | |
513 | - >Guardar | |
504 | + ng-click="guardar()"> | |
505 | + Guardar | |
514 | 506 | </button> |
515 | 507 | </div> |