Release 8.34

This commit is contained in:
wanlop run 2024-04-04 22:33:13 +07:00
parent 381d2d7d81
commit 4aa8a6dbeb
53 changed files with 30879 additions and 22712 deletions

View file

@ -30,28 +30,30 @@
const sp1 = str1.split("|");
all_out += "<H2>" + sp1[0] + "</H2>"
const sp2 = sp1[1].split(",");
if( sp1.length > 0){
all_out += "<H2>" + sp1[0] + "</H2>"
const sp2 = sp1[1].split(",");
all_out += "<table>";
all_out += "<tr>";
for (let i = 0; i < sp2.length; i++) {
const sp3 = sp2[i].split("=");
if( sp3.length == 2){
all_out += "<th>" + sp3[0] + "</th>"
all_out += "<table>";
all_out += "<tr>";
for (let i = 0; i < sp2.length; i++) {
const sp3 = sp2[i].split("=");
if( sp3.length == 2){
all_out += "<th>" + sp3[0] + "</th>"
}
}
}
all_out += "</tr>";
all_out += "<tr>";
for (let i = 0; i < sp2.length; i++) {
const sp3 = sp2[i].split("=");
if( sp3.length == 2){
all_out += "<td>" + sp3[1] + "</td>"
all_out += "</tr>";
all_out += "<tr>";
for (let i = 0; i < sp2.length; i++) {
const sp3 = sp2[i].split("=");
if( sp3.length == 2){
all_out += "<td>" + sp3[1] + "</td>"
}
}
all_out += "</tr>";
all_out += "</table>";
}
all_out += "</tr>";
all_out += "</table>";
return all_out;
}
@ -61,7 +63,9 @@
//console.log("Test readFile " + str_out)
all_out += show_table_one_row("order-position")
all_out += show_table_one_row("stock")
document.getElementById("begin").innerHTML = all_out;
}