Meeting Report Types connected from Backend to frontend

This commit is contained in:
MikeHughes-BIN
2025-12-16 15:26:15 +01:00
parent 30f73f7bb7
commit 597f4bfca5
4 changed files with 40 additions and 21 deletions
+10 -1
View File
@@ -28,6 +28,7 @@ function checkBoxes() {
document.getElementById("progressbar").style.visibility = "visible";
//assembly of the json for the main
/*
const selectedStyles = [checkedCounter];
var iter = 0;
checkboxes.forEach(function(checkbox){
@@ -37,6 +38,13 @@ function checkBoxes() {
iter++;
}
});
*/
function getSelectedDocumentType() {
const checked = document.querySelector('input[name="docFormat"]:checked');
return checked ? checked.value : null;
}
document.getElementById("testy").style.visibility = "visible"
document.getElementById("box1").style.backgroundColor = "red";
document.getElementById("box2").style.backgroundColor = "red";
@@ -57,7 +65,8 @@ function checkBoxes() {
},
"document": {
"module":aiType.value,
"styles": selectedStyles
"type": getSelectedDocumentType()
//"styles": selectedStyles
}
};
window.submit.submit(sendingPackage)