Skip to content

Commit

Permalink
Disable reset localite & id_type_action on valid pesée
Browse files Browse the repository at this point in the history
  • Loading branch information
HoverEpic committed Feb 15, 2024
1 parent b4ef8be commit 32827c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,13 +334,13 @@ function ticketsClear({ classe }) {
document.getElementById('commentaire').value = '';
document.getElementById('massetot').textContent = 'Masse totale: 0 Kg.';
if (classe === 'collecte') {
document.getElementById('localite').selectedIndex = '0';
//document.getElementById('localite').selectedIndex = '0';
}
if (classe === 'sortiesr') {
recycleurReset();
}
if (classe !== 'sortiesp' && classe !== 'sortiesd') {
document.getElementById('id_type_action').selectedIndex = '0';
//document.getElementById('id_type_action').selectedIndex = '0';
}

// On reset TOUT les tickets. En general il y en aura qu'un...
Expand Down

0 comments on commit 32827c3

Please sign in to comment.