MARX#84168 Bijlagen in de notities bij opdrachten naar de opdrachtgever
svn path=/Website/branches/v2024.2/; revision=65204
This commit is contained in:
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user