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:
@@ -804,7 +804,7 @@ async function loadTerminals() {
|
||||
terminals.forEach(terminal => {
|
||||
choicesData.push({
|
||||
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 => {
|
||||
const option = document.createElement('option');
|
||||
option.value = terminal;
|
||||
option.textContent = `Poste ${terminal}`;
|
||||
option.textContent = terminal.toString(); // Affichage simple du numéro sans préfixe
|
||||
terminalSelect.appendChild(option);
|
||||
});
|
||||
}
|
||||
@@ -903,7 +903,7 @@ async function loadTerminals() {
|
||||
terminals.forEach(terminal => {
|
||||
const option = document.createElement('option');
|
||||
option.value = terminal;
|
||||
option.textContent = `Poste ${terminal}`;
|
||||
option.textContent = terminal.toString(); // Affichage simple du numéro sans préfixe
|
||||
terminalSelect.appendChild(option);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user