Commit 1e9fe0ea4dc44b2b74f41072a06dd075e933b25a
1 parent
6273a021e2
Exists in
develop
Change
Borrada leyenda que muestra el numero de opcion
Showing
1 changed file
with
0 additions
and
1 deletions
Show diff stats
src/app/shared/sinonimo/sinonimo.component.html
1 | <div class="bg-primary rounded text-white"> | 1 | <div class="bg-primary rounded text-white"> |
2 | <div class="modal-header"> | 2 | <div class="modal-header"> |
3 | <img | 3 | <img |
4 | draggable="false" | 4 | draggable="false" |
5 | ondragstart="return false;" | 5 | ondragstart="return false;" |
6 | (contextmenu)="false" | 6 | (contextmenu)="false" |
7 | (click)="close()" | 7 | (click)="close()" |
8 | class="btn-effect icon-30 mt-2 mr-2 position-absolute right-0 top-0 z-index" | 8 | class="btn-effect icon-30 mt-2 mr-2 position-absolute right-0 top-0 z-index" |
9 | src="assets/img/icono-cancelar-blanco.svg"> | 9 | src="assets/img/icono-cancelar-blanco.svg"> |
10 | <p class="col-12 h4 px-0 align-self-center">{{ articulo.MKT_DESC ? articulo.MKT_DESC.toUpperCase() : articulo.DetArt.toUpperCase() }}</p> | 10 | <p class="col-12 h4 px-0 align-self-center">{{ articulo.MKT_DESC ? articulo.MKT_DESC.toUpperCase() : articulo.DetArt.toUpperCase() }}</p> |
11 | </div> | 11 | </div> |
12 | 12 | ||
13 | <div class="modal-body my-2"> | 13 | <div class="modal-body my-2"> |
14 | <p class="mb-2 h4">Opcion {{currentIndex+1}}</p> | ||
15 | <p class="mb-2 h5">Cantidad restante {{sinonimos[currentIndex].cantidadRestante}}</p> | 14 | <p class="mb-2 h5">Cantidad restante {{sinonimos[currentIndex].cantidadRestante}}</p> |
16 | <div class="lista-sinonimos scroll-y-visible"> | 15 | <div class="lista-sinonimos scroll-y-visible"> |
17 | <div | 16 | <div |
18 | class="row mx-0 mb-2 fade-in-left" | 17 | class="row mx-0 mb-2 fade-in-left" |
19 | *ngFor="let articulo of sinonimos[currentIndex].productos" | 18 | *ngFor="let articulo of sinonimos[currentIndex].productos" |
20 | [hidden]="articulo.ExiVta <= 0"> | 19 | [hidden]="articulo.ExiVta <= 0"> |
21 | <div class="col-8 p-0 my-auto h6 text-right"> | 20 | <div class="col-8 p-0 my-auto h6 text-right"> |
22 | <p class="m-0 font-weight-normal"> | 21 | <p class="m-0 font-weight-normal"> |
23 | {{articulo.MKT_DESC ? articulo.MKT_DESC.toUpperCase() : articulo.DetArt.toUpperCase()}} | 22 | {{articulo.MKT_DESC ? articulo.MKT_DESC.toUpperCase() : articulo.DetArt.toUpperCase()}} |
24 | </p> | 23 | </p> |
25 | </div> | 24 | </div> |
26 | <div class="col-4"> | 25 | <div class="col-4"> |
27 | <div class="row mx-0 justify-content-between border border-white badge-pill"> | 26 | <div class="row mx-0 justify-content-between border border-white badge-pill"> |
28 | <!-- BOTON MENOS --> | 27 | <!-- BOTON MENOS --> |
29 | <div class="col-auto px-0 my-auto"> | 28 | <div class="col-auto px-0 my-auto"> |
30 | <img | 29 | <img |
31 | draggable="false" | 30 | draggable="false" |
32 | ondragstart="return false;" | 31 | ondragstart="return false;" |
33 | (contextmenu)="false" | 32 | (contextmenu)="false" |
34 | class="d-block ml-auto py-2 icon-30 btn-effect" | 33 | class="d-block ml-auto py-2 icon-30 btn-effect" |
35 | src="assets/img/menos-blanco.svg" | 34 | src="assets/img/menos-blanco.svg" |
36 | (click)="restarCantidadSinonimo(articulo, currentIndex)"> | 35 | (click)="restarCantidadSinonimo(articulo, currentIndex)"> |
37 | </div> | 36 | </div> |
38 | <!-- CANTIDAD --> | 37 | <!-- CANTIDAD --> |
39 | <div class="col px-0 my-auto text-white text-center"> | 38 | <div class="col px-0 my-auto text-white text-center"> |
40 | <p>{{articulo.cantidad}}</p> | 39 | <p>{{articulo.cantidad}}</p> |
41 | </div> | 40 | </div> |
42 | <!-- BOTON MAS --> | 41 | <!-- BOTON MAS --> |
43 | <div class="col-auto px-0 my-auto"> | 42 | <div class="col-auto px-0 my-auto"> |
44 | <img | 43 | <img |
45 | draggable="false" | 44 | draggable="false" |
46 | ondragstart="return false;" | 45 | ondragstart="return false;" |
47 | (contextmenu)="false" | 46 | (contextmenu)="false" |
48 | class="d-block ml-auto py-2 icon-30 btn-effect" | 47 | class="d-block ml-auto py-2 icon-30 btn-effect" |
49 | src="assets/img/mas-blanco.svg" | 48 | src="assets/img/mas-blanco.svg" |
50 | (click)="sumarCantidadSinonimo(articulo, currentIndex)"> | 49 | (click)="sumarCantidadSinonimo(articulo, currentIndex)"> |
51 | </div> | 50 | </div> |
52 | </div> | 51 | </div> |
53 | </div> | 52 | </div> |
54 | </div> | 53 | </div> |
55 | </div> | 54 | </div> |
56 | 55 | ||
57 | </div> | 56 | </div> |
58 | 57 | ||
59 | <div class="modal-footer"> | 58 | <div class="modal-footer"> |
60 | <div | 59 | <div |
61 | *ngIf="currentIndex != 0 && sinonimos.length > 1" | 60 | *ngIf="currentIndex != 0 && sinonimos.length > 1" |
62 | class="d-inline-block py-1 bg-white badge-pill text-primary btn-effect mr-auto fade-in-right" | 61 | class="d-inline-block py-1 bg-white badge-pill text-primary btn-effect mr-auto fade-in-right" |
63 | (click)="currentIndex = currentIndex-1"> | 62 | (click)="currentIndex = currentIndex-1"> |
64 | <img | 63 | <img |
65 | draggable="false" | 64 | draggable="false" |
66 | ondragstart="return false;" | 65 | ondragstart="return false;" |
67 | (contextmenu)="false" | 66 | (contextmenu)="false" |
68 | class="icon-30 flip" | 67 | class="icon-30 flip" |
69 | src="assets/img/ir-color.svg"> | 68 | src="assets/img/ir-color.svg"> |
70 | VOLVER | 69 | VOLVER |
71 | </div> | 70 | </div> |
72 | <div | 71 | <div |
73 | [ngClass]="validateNext()" | 72 | [ngClass]="validateNext()" |
74 | *ngIf="currentIndex != sinonimos.length-1" | 73 | *ngIf="currentIndex != sinonimos.length-1" |
75 | class="d-inline-block py-1 bg-white badge-pill text-primary ml-auto fade-in-left" | 74 | class="d-inline-block py-1 bg-white badge-pill text-primary ml-auto fade-in-left" |
76 | (click)="goNext()"> | 75 | (click)="goNext()"> |
77 | SIGUIENTE | 76 | SIGUIENTE |
78 | <img | 77 | <img |
79 | draggable="false" | 78 | draggable="false" |
80 | ondragstart="return false;" | 79 | ondragstart="return false;" |
81 | (contextmenu)="false" | 80 | (contextmenu)="false" |
82 | class="icon-30" | 81 | class="icon-30" |
83 | src="assets/img/ir-color.svg"> | 82 | src="assets/img/ir-color.svg"> |
84 | </div> | 83 | </div> |
85 | <div | 84 | <div |
86 | [ngClass]="validate()" | 85 | [ngClass]="validate()" |
87 | *ngIf="currentIndex == sinonimos.length-1" | 86 | *ngIf="currentIndex == sinonimos.length-1" |
88 | class="d-inline-block py-1 bg-white badge-pill text-primary ml-auto fade-in-left" | 87 | class="d-inline-block py-1 bg-white badge-pill text-primary ml-auto fade-in-left" |
89 | (click)="continue()"> | 88 | (click)="continue()"> |
90 | CONTINUAR | 89 | CONTINUAR |
91 | <img | 90 | <img |
92 | draggable="false" | 91 | draggable="false" |
93 | ondragstart="return false;" | 92 | ondragstart="return false;" |
94 | (contextmenu)="false" | 93 | (contextmenu)="false" |
95 | class="icon-30" | 94 | class="icon-30" |
96 | src="assets/img/ir-color.svg"> | 95 | src="assets/img/ir-color.svg"> |
97 | </div> | 96 | </div> |
98 | </div> | 97 | </div> |
99 | </div> | 98 | </div> |
100 | 99 |