no message

This commit is contained in:
dh
2025-10-31 11:55:32 +01:00
parent 60fc376d22
commit 6ad4ade0ff
+70 -96
View File
@@ -6,60 +6,44 @@
}, },
{ {
"type": "ExpansionPanel", "type": "ExpansionPanel",
"caption": "Stammdaten", "caption": "Benutzer (Empfänger)",
"items": [ "items": [
{ {
"type": "Row", "type": "List",
"items": [ "name": "Users",
{ "caption": "Benutzer",
"type": "Column", "add": true,
"items": [ "columns": [
{ { "caption": "ID", "name": "id", "width": "10%" },
"type": "List", { "caption": "Name", "name": "name", "width": "35%" },
"name": "Users", { "caption": "E-Mail", "name": "email", "width": "35%" },
"caption": "Benutzer (Empfänger)", { "caption": "Adresse", "name": "address", "width": "20%" }
"add": true, ],
"columns": [ "rowCount": 5,
{ "caption": "ID", "name": "id", "width": "10%" }, "rowEdit": true,
{ "caption": "Name", "name": "name", "width": "35%" }, "delete": true
{ "caption": "E-Mail", "name": "email", "width": "35%" }, }
{ "caption": "Adresse", "name": "address", "width": "20%" } ]
], },
"rowProperties": [ {
{ "label": "Name", "name": "name", "type": "TextBox" }, "type": "ExpansionPanel",
{ "label": "E-Mail", "name": "email", "type": "TextBox" }, "caption": "Zähler",
{ "label": "Adresse", "name": "address", "type": "TextBox" }, "items": [
{ "label": "Benutzer-ID (frei)", "name": "id", "type": "ValidationTextBox" } {
] "type": "List",
} "name": "Meters",
] "caption": "Zähler",
}, "add": true,
{ "columns": [
"type": "Column", { "caption": "ID", "name": "id", "width": "10%" },
"items": [ { "caption": "Name", "name": "name", "width": "25%" },
{ { "caption": "IPS-VariableID", "name": "variableid", "width": "20%" },
"type": "List", { "caption": "Benutzer-ID", "name": "user_id", "width": "20%" },
"name": "Meters", { "caption": "Einheit", "name": "unit", "width": "15%" }
"caption": "Zähler", ],
"add": true, "rowCount": 5,
"columns": [ "rowEdit": true,
{ "caption": "ID", "name": "id", "width": "10%" }, "delete": true
{ "caption": "Name", "name": "name", "width": "30%" },
{ "caption": "IPS-VariableID", "name": "variableid", "width": "30%" },
{ "caption": "Benutzer-ID", "name": "user_id", "width": "15%" },
{ "caption": "Einheit", "name": "unit", "width": "15%" }
],
"rowProperties": [
{ "label": "Name", "name": "name", "type": "TextBox" },
{ "label": "IPS-VariableID (Zählerstand)", "name": "variableid", "type": "ValidationTextBox" },
{ "label": "Zugehöriger Benutzer-ID", "name": "user_id", "type": "ValidationTextBox" },
{ "label": "Einheit (z.B. kWh)", "name": "unit", "type": "TextBox" },
{ "label": "Zähler-ID (frei)", "name": "id", "type": "ValidationTextBox" }
]
}
]
}
]
} }
] ]
}, },
@@ -68,50 +52,40 @@
"caption": "Abrechnung (Schnellstart)", "caption": "Abrechnung (Schnellstart)",
"items": [ "items": [
{ {
"type": "Row", "type": "DateTimePicker",
"items": [ "name": "from",
{ "caption": "Von",
"type": "Column", "format": "yyyy-MM-dd HH:mm"
"items": [ },
{ {
"type": "DateTimePicker", "type": "DateTimePicker",
"name": "from", "name": "to",
"caption": "Von", "caption": "Bis",
"format": "yyyy-MM-dd HH:mm" "format": "yyyy-MM-dd HH:mm"
}, },
{ {
"type": "DateTimePicker", "type": "NumberSpinner",
"name": "to", "name": "work_price",
"caption": "Bis", "caption": "Arbeitspreis (pro Einheit)",
"format": "yyyy-MM-dd HH:mm" "digits": 4,
}, "minimum": 0
{ },
"type": "NumberSpinner", {
"name": "work_price", "type": "NumberSpinner",
"caption": "Arbeitspreis (pro Einheit)", "name": "fixed_fee",
"digits": 4, "caption": "Fixbetrag pro Benutzer (optional)",
"minimum": 0 "digits": 2,
}, "minimum": 0
{ },
"type": "NumberSpinner", {
"name": "fixed_fee", "type": "Button",
"caption": "Fixbetrag pro Benutzer (optional)", "caption": "Abrechnung erzeugen (PDF)",
"digits": 2, "onClick": "GenerateInvoices"
"minimum": 0 },
}, {
{ "type": "Label",
"type": "Button", "name": "result",
"caption": "Abrechnung erzeugen (PDF)", "caption": ""
"onClick": "GenerateInvoices"
},
{
"type": "Label",
"name": "result",
"caption": ""
}
]
}
]
} }
] ]
} }