refactor: Enlever le préfixe 'Poste' de l'affichage des terminaux

- Affichage direct du numéro de terminal sans préfixe
- Modifié dans Choices.js et dans les fallbacks natifs
- Interface plus épurée et compacte
This commit is contained in:
Pierre Marx
2025-10-17 11:34:12 -04:00
parent ea305ad55e
commit 739cd65681

View File

@@ -804,7 +804,7 @@ async function loadTerminals() {
terminals.forEach(terminal => { terminals.forEach(terminal => {
choicesData.push({ choicesData.push({
value: terminal.toString(), value: terminal.toString(),
label: `Poste ${terminal}` label: terminal.toString() // Affichage simple du numéro sans préfixe
}); });
}); });
} }
@@ -827,7 +827,7 @@ async function loadTerminals() {
terminals.forEach(terminal => { terminals.forEach(terminal => {
const option = document.createElement('option'); const option = document.createElement('option');
option.value = terminal; option.value = terminal;
option.textContent = `Poste ${terminal}`; option.textContent = terminal.toString(); // Affichage simple du numéro sans préfixe
terminalSelect.appendChild(option); terminalSelect.appendChild(option);
}); });
} }
@@ -903,7 +903,7 @@ async function loadTerminals() {
terminals.forEach(terminal => { terminals.forEach(terminal => {
const option = document.createElement('option'); const option = document.createElement('option');
option.value = terminal; option.value = terminal;
option.textContent = `Poste ${terminal}`; option.textContent = terminal.toString(); // Affichage simple du numéro sans préfixe
terminalSelect.appendChild(option); terminalSelect.appendChild(option);
}); });
} }