forked from ScoDoc/ScoDoc
Fix: affichage coef bonus. Closes #382
This commit is contained in:
parent
ca5fd33e4e
commit
d776bdca66
@ -35,7 +35,7 @@ function build_table(data) {
|
|||||||
${cellule.data}
|
${cellule.data}
|
||||||
</div>`;
|
</div>`;
|
||||||
|
|
||||||
if (cellule.editable) {
|
if (cellule.style.includes("champs")) {
|
||||||
sumsRessources[cellule.y] = (sumsRessources[cellule.y] ?? 0) + (parseFloat(cellule.data) || 0);
|
sumsRessources[cellule.y] = (sumsRessources[cellule.y] ?? 0) + (parseFloat(cellule.data) || 0);
|
||||||
sumsUE[cellule.x] = (sumsUE[cellule.x] ?? 0) + (parseFloat(cellule.data) || 0);
|
sumsUE[cellule.x] = (sumsUE[cellule.x] ?? 0) + (parseFloat(cellule.data) || 0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user