update 20260322

This commit is contained in:
Stefan Hutter
2026-03-22 20:29:57 +01:00
parent 4460f36891
commit 399d63bc69
78 changed files with 792 additions and 56 deletions

View File

@@ -8,8 +8,8 @@
"idField": "ID",
"displayField": "ID",
"jsonField": "JsonData",
"Buttons": "Öffnen",
"AnzeigeDokument": "",
"Buttons": "Öffnen;PaketAnzeige",
"AnzeigeDokument": "SELECT paket as JsonData from Ondoc_Versandstrasse_Paket where id= @id ",
"FilterColumns": ""
},
{

View File

@@ -281,7 +281,7 @@ padding-bottom:20px;
success: function (response) {
var pdfWindow = window.open("");
pdfWindow.document.write("<iframe width='100%' height='100%' src='data:application/pdf;base64," + response.file + "'></iframe>");
//alert("Server Response: " + response.file);
},
error: function (err) {
@@ -304,6 +304,22 @@ padding-bottom:20px;
}
);
}
function showPacDoc(tableKey, id) {
PageMethods.GetPacDoc(
tableKey,
id,
function (result) {
var pdfWindow = window.open("");
pdfWindow.document.write("<iframe width='100%' height='100%' src='data:application/pdf;base64," + result + "'></iframe>");
},
function (err) {
alert(err.get_message())
}
);
}
function loadJson(tableKey, id) {