From: Kilian Saffran Date: Wed, 23 Dec 2020 13:00:42 +0000 (+0100) Subject: v20201223 X-Git-Url: http://cloud.dks.lu/git/?a=commitdiff_plain;h=6056f43b77f7df5433174f96461da0b42e125cce;p=invoicejournal.git v20201223 --- diff --git a/.vscode/snippets.code-snippets b/.vscode/snippets.code-snippets new file mode 100644 index 0000000..dd65f22 --- /dev/null +++ b/.vscode/snippets.code-snippets @@ -0,0 +1,170 @@ +{ + "input-hidden": { + "scope":"html", + "prefix":"input-hidden", + "body":[""] + }, + "input-date": { + "scope":"html", + "prefix":"input-date", + "body":["
", + "\t", + "\t", + "
"] + }, + "input-text": { + "scope":"html", + "prefix":"input-text", + "body":["
", + "\t", + "\t", + "
"] + }, + "input-number": { + "scope":"html", + "prefix":"input-number", + "body":["
", + "\t", + "\t", + "
"] +}, + "form":{ + "scope":"html", + "prefix":"form", + "body":"
$0
" + }, + "row": { + "scope":"html", + "prefix":"row", + "body":"
$0
" + }, + "cellrow": { + "scope":"html", + "prefix":"cellrow", + "body":"
$0
" + }, + "panel": { + "scope":"html", + "prefix":"panel", + "body":["
","$0","
"] + }, + "select": { + "scope":"html", + "prefix": "select", + "body":[ + "
", + "\t", + "\t", + "
"] + }, + "checkbox": { + "scope":"html", + "prefix": "checkbox", + "body": ["
","\t
", + "\t\t
", + "\t\t\t
", + "\t\t\t\t data-column=\"$3\" data-table=\"$2\" data-id=\"\" value=\"\" type=\"checkbox\" />", + "\t\t\t
", + "\t\t\t
${4: checkbox label text}
","\t\t
","\t
","
"] + }, + "textarea": { + "scope":"html", + "prefix":"textarea", + "body":[ + "
", + "\t", + "\t", + "
" + ] + }, + "topbarlistpage":{ + "scope":"html", + "prefix":"topbar-listpage", + "body":["
", + "Home", + "
${1:Page Title}
", + "
", + "\t", + "\t", + "\t", + "\t", + "
", + "
", + "\t", + "
", + "
", + "\t
", + "\t\t", + "\t\t", + "\t\t", + "\t\t ", + "\t
", + "
", + "
"] + }, + "topbarformpage":{ + "scope":"html", + "prefix":"topbar-formpage", + "body": [ + "
", + "\t", + "\t
${2: title}
", + "
"] + }, + "moduletoolbar":{ + "scope":"html", + "prefix":"moduletoolbar", + "body": [ + "
", + "\t
${1:Page Title}
", + "\t", + "\t", + "\t", + "\t", + "
"] + }, + "query":{ + "scope":"javascript", + "prefix":"query", + "body": [ + "db.query(\"SELECT * FROM table WHERE id='';\").then(data => {$1}).catch(e => { console.log(e);});" + ] + }, + "queryarray":{ + "scope":"javascript", + "prefix":"queryarray", + "body": [ + "db.queryarray(\"SELECT * FROM table WHERE id='';\").then(data => {$1}).catch(e => { console.log(e);});" + ] + }, + "exec":{ + "scope":"javascript", + "prefix":"exec", + "body": [ + "let ret = db.exec(\"SELECT * FROM table WHERE id='';\").then(data => {$1});" + ] + }, + "execasync":{ + "scope":"javascript", + "prefix":"execasync", + "body": [ + "db.exec(\"SELECT * FROM table WHERE id='';\").then(data => {$1}).catch(e => { console.log(e);});" + ] + } + // Place your oldbell_lu workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and + // description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope + // is left empty or omitted, the snippet gets applied to all languages. The prefix is what is + // used to trigger the snippet and the body will be expanded and inserted. Possible variables are: + // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. + // Placeholders with the same ids are connected. + // Example: + // "Print to console": { + // "scope": "javascript,typescript", + // "prefix": "log", + // "body": [ + // "console.log('$1');", + // "$2" + // ], + // "description": "Log output to console" + // } +} \ No newline at end of file diff --git a/desktopapp/dialogs/InvoiceBooking.html b/desktopapp/dialogs/InvoiceBooking.html index 172b068..e85b62a 100644 --- a/desktopapp/dialogs/InvoiceBooking.html +++ b/desktopapp/dialogs/InvoiceBooking.html @@ -2,122 +2,61 @@