Skip to content

Commit

Permalink
Final edits to indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
OlukaGibson committed Feb 8, 2024
1 parent c119206 commit c450413
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions inventory/templates/dashboard/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,23 +107,23 @@ <h4 class="card-title">Weekly Todo list</h4>
document.getElementById("id_choice").onchange = function() {
var option = this.value;
if (option === '0') {
window.location.href = '/index/';
window.location.href = 'index/';
} else if (option === '1') {
window.location.href = 'inventory/casing/';
window.location.href = 'casing/';
} else if (option === '2') {
window.location.href = 'inventory/phase2_smt/';
window.location.href = 'phase2_smt/';
}else if (option === '3') {
window.location.href = 'inventory/phase1_tht/';
window.location.href = 'phase1_tht/';
}else if (option === '4') {
window.location.href = 'inventory/phase3_tunning/';
window.location.href = 'phase3_tunning/';
}else if (option === '5') {
window.location.href = 'inventory/monitor_assembly/';
window.location.href = 'monitor_assembly/';
}else if (option === '6') {
window.location.href = 'inventory/communication_config/';
window.location.href = 'communication_config/';
}else if (option === '7') {
window.location.href = 'inventory/analysis/';
window.location.href = 'analysis/';
}else if (option === '8') {
window.location.href = 'inventory/correction/';
window.location.href = 'correction/';
}
};
</script>
Expand Down

0 comments on commit c450413

Please sign in to comment.