Posts by SIG Automação • 5 points
4 posts
-
0
votes0
answers26
viewsQ: Average of items with different criteria
I have this function that sums the prices of the items of a array somaTotal() { let criterioPorIdpv = {}; let criteriosComPrecos = []; // Parte 1: Monta um criterioPreco para cada criterio. for (let…
ionicasked SIG Automação 5 -
0
votes1
answer28
viewsQ: Mostar Selected Quantities
changeQty(item, varia, valor){ let eMax = 0; for (var i = 0; i < this.selectedVariation.length; ++i) { if (this.selectedVariation[i].idPV == item.idPV) { //…
ionicasked SIG Automação 5 -
-2
votes1
answer382
viewsQ: Hide Buttons
Wanted a help with angular, I use an ngFor to generate the buttons "-" and "+" which are the buttons that give choice to the user. So when it comes to choosing options such as the flavor of the…
-
0
votes1
answer130
viewsQ: Add values from an array with different criteria each of them
0 : {idPVI: “10”, idPV: “3”, descri: “Portuguesa”, preco: “32” } 1 : {idPVI: “10”, idPV: “3”, descri: “Portuguesa”, preco: “32”} 2 : {idPVI: “13”, idPV: “3”, descri: “Calabresa”, preco : “35”} 3 :…