Clarification

This commit is contained in:
Valentin Moguérou 2023-07-15 17:03:08 +02:00
parent 93ac527fa9
commit 7db03ca4c1
2 changed files with 10 additions and 10 deletions

View File

@ -130,7 +130,7 @@ function update() {
document.getElementById("points-lca-1re").innerHTML = points_lca_1re.toLocaleString("fr"); document.getElementById("points-lca-1re").innerHTML = points_lca_1re.toLocaleString("fr");
} else { } else {
document.getElementById("coef-lca-1re").innerHTML = "<del>2</del>"; document.getElementById("coef-lca-1re").innerHTML = "<del>2</del>";
document.getElementById("points-lca-1re").innerHTML = "<del>2</del>"; document.getElementById("points-lca-1re").innerHTML = "0";
} }
if (document.getElementById("check-lca-tle").checked) { if (document.getElementById("check-lca-tle").checked) {
@ -141,7 +141,7 @@ function update() {
document.getElementById("points-lca-tle").innerHTML = points_lca_tle.toLocaleString("fr"); document.getElementById("points-lca-tle").innerHTML = points_lca_tle.toLocaleString("fr");
} else { } else {
document.getElementById("coef-lca-tle").innerHTML = "<del>2</del>"; document.getElementById("coef-lca-tle").innerHTML = "<del>2</del>";
document.getElementById("points-lca-tle").innerHTML = "<del>2</del>"; document.getElementById("points-lca-tle").innerHTML = "0";
} }
if (document.getElementById("check-opt1-1re").checked) { if (document.getElementById("check-opt1-1re").checked) {
@ -152,7 +152,7 @@ function update() {
document.getElementById("points-opt1-1re").innerHTML = points_opt1_1re.toLocaleString("fr"); document.getElementById("points-opt1-1re").innerHTML = points_opt1_1re.toLocaleString("fr");
} else { } else {
document.getElementById("coef-opt1-1re").innerHTML = "<del>2</del>"; document.getElementById("coef-opt1-1re").innerHTML = "<del>2</del>";
document.getElementById("points-opt1-1re").innerHTML = "<del>2</del>"; document.getElementById("points-opt1-1re").innerHTML = "0";
} }
if (document.getElementById("check-opt1-tle").checked) { if (document.getElementById("check-opt1-tle").checked) {
@ -163,7 +163,7 @@ function update() {
document.getElementById("points-opt1-tle").innerHTML = points_opt1_tle.toLocaleString("fr"); document.getElementById("points-opt1-tle").innerHTML = points_opt1_tle.toLocaleString("fr");
} else { } else {
document.getElementById("coef-opt1-tle").innerHTML = "<del>2</del>"; document.getElementById("coef-opt1-tle").innerHTML = "<del>2</del>";
document.getElementById("points-opt1-tle").innerHTML = "<del>2</del>"; document.getElementById("points-opt1-tle").innerHTML = "0";
} }
if (document.getElementById("check-opt2").checked) { if (document.getElementById("check-opt2").checked) {
@ -174,7 +174,7 @@ function update() {
document.getElementById("points-opt2").innerHTML = points_opt2.toLocaleString("fr"); document.getElementById("points-opt2").innerHTML = points_opt2.toLocaleString("fr");
} else { } else {
document.getElementById("coef-opt2").innerHTML = "<del>2</del>"; document.getElementById("coef-opt2").innerHTML = "<del>2</del>";
document.getElementById("points-opt2").innerHTML = "<del>2</del>"; document.getElementById("points-opt2").innerHTML = "0";
} }
document.getElementById("total-coef-options").innerHTML = coef_options.toLocaleString("fr"); document.getElementById("total-coef-options").innerHTML = coef_options.toLocaleString("fr");

View File

@ -146,7 +146,7 @@ function update() {
document.getElementById("points-lca-1re").innerHTML = points_lca_1re.toLocaleString("fr"); document.getElementById("points-lca-1re").innerHTML = points_lca_1re.toLocaleString("fr");
} else { } else {
document.getElementById("coef-lca-1re").innerHTML = "<del>2</del>"; document.getElementById("coef-lca-1re").innerHTML = "<del>2</del>";
document.getElementById("points-lca-1re").innerHTML = "<del>2</del>"; document.getElementById("points-lca-1re").innerHTML = "0";
} }
if (document.getElementById("check-lca-tle").checked) { if (document.getElementById("check-lca-tle").checked) {
@ -157,7 +157,7 @@ function update() {
document.getElementById("points-lca-tle").innerHTML = points_lca_tle.toLocaleString("fr"); document.getElementById("points-lca-tle").innerHTML = points_lca_tle.toLocaleString("fr");
} else { } else {
document.getElementById("coef-lca-tle").innerHTML = "<del>2</del>"; document.getElementById("coef-lca-tle").innerHTML = "<del>2</del>";
document.getElementById("points-lca-tle").innerHTML = "<del>2</del>"; document.getElementById("points-lca-tle").innerHTML = "0";
} }
if (document.getElementById("check-opt1-1re").checked) { if (document.getElementById("check-opt1-1re").checked) {
@ -168,7 +168,7 @@ function update() {
document.getElementById("points-opt1-1re").innerHTML = points_opt1_1re.toLocaleString("fr"); document.getElementById("points-opt1-1re").innerHTML = points_opt1_1re.toLocaleString("fr");
} else { } else {
document.getElementById("coef-opt1-1re").innerHTML = "<del>2</del>"; document.getElementById("coef-opt1-1re").innerHTML = "<del>2</del>";
document.getElementById("points-opt1-1re").innerHTML = "<del>2</del>"; document.getElementById("points-opt1-1re").innerHTML = "0";
} }
if (document.getElementById("check-opt1-tle").checked) { if (document.getElementById("check-opt1-tle").checked) {
@ -179,7 +179,7 @@ function update() {
document.getElementById("points-opt1-tle").innerHTML = points_opt1_tle.toLocaleString("fr"); document.getElementById("points-opt1-tle").innerHTML = points_opt1_tle.toLocaleString("fr");
} else { } else {
document.getElementById("coef-opt1-tle").innerHTML = "<del>2</del>"; document.getElementById("coef-opt1-tle").innerHTML = "<del>2</del>";
document.getElementById("points-opt1-tle").innerHTML = "<del>2</del>"; document.getElementById("points-opt1-tle").innerHTML = "0";
} }
if (document.getElementById("check-opt2").checked) { if (document.getElementById("check-opt2").checked) {
@ -190,7 +190,7 @@ function update() {
document.getElementById("points-opt2").innerHTML = points_opt2.toLocaleString("fr"); document.getElementById("points-opt2").innerHTML = points_opt2.toLocaleString("fr");
} else { } else {
document.getElementById("coef-opt2").innerHTML = "<del>2</del>"; document.getElementById("coef-opt2").innerHTML = "<del>2</del>";
document.getElementById("points-opt2").innerHTML = "<del>2</del>"; document.getElementById("points-opt2").innerHTML = "0";
} }
document.getElementById("total-coef-options").innerHTML = coef_options.toLocaleString("fr"); document.getElementById("total-coef-options").innerHTML = coef_options.toLocaleString("fr");