"+
"
"+
"
"+
"
N: Rulo Sayısı
"+
"
W: Genişlik H: Yükseklik D: Derinlik
"+
"
Ölçüler cm
"+
"
";
const sC400 = ["01","02","03"];
const sC300 = ["04","05","06"];
const sC200 = ["07","08","09"];
const sH = ["298","363","428"];
const dH = ["308","373","438"];
const dC400 = ["13","14","15"];
const dC300 = ["16","17","18"];
const dC200 = ["19","20","21"];
function createTableSingle(Carpet,Code,Height,Width){
const table = [
{"Ebat": "", "Kod":"ORLS "+Code[0],"N":4, "W": Width, "H":Height[0], "D":110},
{"Ebat": Carpet,"Kod":"ORLS "+Code[1],"N":5, "W": Width, "H":Height[1], "D":120},
{"Ebat": "", "Kod":"ORLS "+Code[2],"N":6, "W": Width, "H":Height[2], "D":120},
];
document.getElementById("single_"+Carpet).innerHTML = jsonToHtmlTable(table);
}
function createTableDouble(Carpet,Code,Height,Width){
const table = [
{"Ebat": "", "Kod":"ORLS "+Code[0],"N":8 , "W": Width, "H":Height[0], "D":220},
{"Ebat": Carpet,"Kod":"ORLS "+Code[1],"N":10, "W": Width, "H":Height[1], "D":240},
{"Ebat": "", "Kod":"ORLS "+Code[2],"N":12, "W": Width, "H":Height[2], "D":240},
];
document.getElementById("double_"+Carpet).innerHTML = jsonToHtmlTable(table);
}
document.getElementById("table_wrapper").innerHTML = table_wrapper;
createTableSingle("400cm", sC400, sH, 450);
createTableSingle("300cm", sC300, sH, 350);
createTableSingle("200cm", sC200, sH, 250);
createTableDouble("400cm", dC400, dH, 450);
createTableDouble("300cm", dC300, dH, 350);
createTableDouble("200cm", dC200, dH, 250);