Clarification

This commit is contained in:
Valentin Moguérou 2023-07-15 16:58:22 +02:00
parent 4e8cfbb977
commit 6f10192fc6
2 changed files with 20 additions and 20 deletions

View File

@ -129,8 +129,8 @@ function update() {
total_options += points_lca_1re; total_options += points_lca_1re;
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> 0"; document.getElementById("coef-lca-1re").innerHTML = "<del>2</del>";
document.getElementById("points-lca-1re").innerHTML = "<del>2</del> 0"; document.getElementById("points-lca-1re").innerHTML = "<del>2</del>";
} }
if (document.getElementById("check-lca-tle").checked) { if (document.getElementById("check-lca-tle").checked) {
@ -140,8 +140,8 @@ function update() {
total_options += points_lca_tle; total_options += points_lca_tle;
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> 0"; document.getElementById("coef-lca-tle").innerHTML = "<del>2</del>";
document.getElementById("points-lca-tle").innerHTML = "<del>2</del> 0"; document.getElementById("points-lca-tle").innerHTML = "<del>2</del>";
} }
if (document.getElementById("check-opt1-1re").checked) { if (document.getElementById("check-opt1-1re").checked) {
@ -151,8 +151,8 @@ function update() {
total_options += points_opt1_1re; total_options += points_opt1_1re;
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> 0"; document.getElementById("coef-opt1-1re").innerHTML = "<del>2</del>";
document.getElementById("points-opt1-1re").innerHTML = "<del>2</del> 0"; document.getElementById("points-opt1-1re").innerHTML = "<del>2</del>";
} }
if (document.getElementById("check-opt1-tle").checked) { if (document.getElementById("check-opt1-tle").checked) {
@ -162,8 +162,8 @@ function update() {
total_options += points_opt1_tle; total_options += points_opt1_tle;
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> 0"; document.getElementById("coef-opt1-tle").innerHTML = "<del>2</del>";
document.getElementById("points-opt1-tle").innerHTML = "<del>2</del> 0"; document.getElementById("points-opt1-tle").innerHTML = "<del>2</del>";
} }
if (document.getElementById("check-opt2").checked) { if (document.getElementById("check-opt2").checked) {
@ -173,8 +173,8 @@ function update() {
total_options += points_opt2; total_options += points_opt2;
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> 0"; document.getElementById("coef-opt2").innerHTML = "<del>2</del>";
document.getElementById("points-opt2").innerHTML = "<del>2</del> 0"; document.getElementById("points-opt2").innerHTML = "<del>2</del>";
} }
document.getElementById("total-coef-options").innerHTML = coef_options.toLocaleString("fr"); document.getElementById("total-coef-options").innerHTML = coef_options.toLocaleString("fr");

View File

@ -145,8 +145,8 @@ function update() {
total_options += points_lca_1re; total_options += points_lca_1re;
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> 0"; document.getElementById("coef-lca-1re").innerHTML = "<del>2</del>";
document.getElementById("points-lca-1re").innerHTML = "<del>2</del> 0"; document.getElementById("points-lca-1re").innerHTML = "<del>2</del>";
} }
if (document.getElementById("check-lca-tle").checked) { if (document.getElementById("check-lca-tle").checked) {
@ -156,8 +156,8 @@ function update() {
total_options += points_lca_tle; total_options += points_lca_tle;
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> 0"; document.getElementById("coef-lca-tle").innerHTML = "<del>2</del>";
document.getElementById("points-lca-tle").innerHTML = "<del>2</del> 0"; document.getElementById("points-lca-tle").innerHTML = "<del>2</del>";
} }
if (document.getElementById("check-opt1-1re").checked) { if (document.getElementById("check-opt1-1re").checked) {
@ -167,8 +167,8 @@ function update() {
total_options += points_opt1_1re; total_options += points_opt1_1re;
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> 0"; document.getElementById("coef-opt1-1re").innerHTML = "<del>2</del>";
document.getElementById("points-opt1-1re").innerHTML = "<del>2</del> 0"; document.getElementById("points-opt1-1re").innerHTML = "<del>2</del>";
} }
if (document.getElementById("check-opt1-tle").checked) { if (document.getElementById("check-opt1-tle").checked) {
@ -178,8 +178,8 @@ function update() {
total_options += points_opt1_tle; total_options += points_opt1_tle;
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> 0"; document.getElementById("coef-opt1-tle").innerHTML = "<del>2</del>";
document.getElementById("points-opt1-tle").innerHTML = "<del>2</del> 0"; document.getElementById("points-opt1-tle").innerHTML = "<del>2</del>";
} }
if (document.getElementById("check-opt2").checked) { if (document.getElementById("check-opt2").checked) {
@ -189,8 +189,8 @@ function update() {
total_options += points_opt2; total_options += points_opt2;
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> 0"; document.getElementById("coef-opt2").innerHTML = "<del>2</del>";
document.getElementById("points-opt2").innerHTML = "<del>2</del> 0"; document.getElementById("points-opt2").innerHTML = "<del>2</del>";
} }
document.getElementById("total-coef-options").innerHTML = coef_options.toLocaleString("fr"); document.getElementById("total-coef-options").innerHTML = coef_options.toLocaleString("fr");