MARX#84168 Bijlagen in de notities bij opdrachten naar de opdrachtgever

svn path=/Website/branches/v2024.2/; revision=65204
This commit is contained in:
Jos Groot Lipman
2024-06-18 14:40:12 +00:00
parent 39f68d274f
commit f58e82a19a

View File

@@ -133,6 +133,12 @@ function model_notes(module)
"parent" : { dbs: tabel.parent + "_key", typ: "key" },
"nnattachments" : { dbs: "dummy", typ: "number", sql: sqlbijlagen }
};
var notes_id = getQParamInt("notes_id", -1); // Om een specifieke notitie op te vragen
if (notes_id > 0)
{
this.tablesql = "(SELECT * FROM {0} WHERE {1} = {2}) {0}".format(tabel.naam, tabel.id, parseInt(notes_id))
}
switch (module)
{
case "MLD":