no message

This commit is contained in:
2025-11-03 14:57:00 +01:00
parent 6ddf5b5fcf
commit 7257e8d1bd

View File

@@ -1,13 +1,8 @@
{ {
"elements": [ "elements": [
{
"type": "Label",
"caption": "⚙️ Abrechnungskonfiguration"
},
{ {
"type": "ExpansionPanel", "type": "ExpansionPanel",
"caption": "Benutzer (Empfänger)", "caption": "Benutzer",
"items": [ "items": [
{ {
"type": "List", "type": "List",
@@ -19,10 +14,10 @@
"delete": true, "delete": true,
"values": [], "values": [],
"columns": [ "columns": [
{ "caption": "ID", "name": "id", "width": "10%", "add": "" }, { "caption": "Benutzer-ID", "name": "id", "width": "15%", "add": "" },
{ "caption": "Name", "name": "name", "width": "30%", "add": "" }, { "caption": "Name", "name": "name", "width": "35%", "add": "" },
{ "caption": "E-Mail", "name": "email", "width": "30%", "add": "" }, { "caption": "Adresse", "name": "address", "width": "30%", "add": "" },
{ "caption": "Adresse", "name": "address", "width": "30%", "add": "" } { "caption": "Ort", "name": "city", "width": "20%", "add": "" }
] ]
} }
] ]
@@ -30,23 +25,23 @@
{ {
"type": "ExpansionPanel", "type": "ExpansionPanel",
"caption": "Zähler", "caption": "Stromzähler",
"items": [ "items": [
{ {
"type": "List", "type": "List",
"name": "Meters", "name": "PowerMeters",
"caption": "Zählerliste", "caption": "Stromzählerliste",
"rowCount": 5, "rowCount": 5,
"add": true, "add": true,
"edit": true, "edit": true,
"delete": true, "delete": true,
"values": [], "values": [],
"columns": [ "columns": [
{ "caption": "ID", "name": "id", "width": "10%", "add": "" }, { "caption": "Zähler-ID", "name": "id", "width": "10%", "add": "" },
{ "caption": "Name", "name": "name", "width": "25%", "add": "" }, { "caption": "Name", "name": "name", "width": "25%", "add": "" },
{ "caption": "IPS-VariableID", "name": "variableid", "width": "20%", "add": 0 }, { "caption": "VariableID Verbrauch", "name": "var_consumption", "width": "20%", "add": 0 },
{ "caption": "Benutzer-ID", "name": "user_id", "width": "20%", "add": "" }, { "caption": "VariableID Bezug", "name": "var_feed", "width": "20%", "add": 0 },
{ "caption": "Einheit", "name": "unit", "width": "15%", "add": "" } { "caption": "Benutzer-ID", "name": "user_id", "width": "25%", "add": "" }
] ]
} }
] ]
@@ -54,51 +49,23 @@
{ {
"type": "ExpansionPanel", "type": "ExpansionPanel",
"caption": "Abrechnung (Schnellstart)", "caption": "Wasserzähler / Verbrauchszähler",
"items": [ "items": [
{ {
"type": "DatePicker", "type": "List",
"name": "from_date", "name": "WaterMeters",
"caption": "Von (Datum)" "caption": "Verbrauchszählerliste",
}, "rowCount": 5,
{ "add": true,
"type": "TimePicker", "edit": true,
"name": "from_time", "delete": true,
"caption": "Von (Zeit)" "values": [],
}, "columns": [
{ { "caption": "Zähler-ID", "name": "id", "width": "15%", "add": "" },
"type": "DatePicker", { "caption": "Name", "name": "name", "width": "35%", "add": "" },
"name": "to_date", { "caption": "VariableID Verbrauch", "name": "var_consumption", "width": "25%", "add": 0 },
"caption": "Bis (Datum)" { "caption": "Benutzer-ID", "name": "user_id", "width": "25%", "add": "" }
}, ]
{
"type": "TimePicker",
"name": "to_time",
"caption": "Bis (Zeit)"
},
{
"type": "NumberSpinner",
"name": "work_price",
"caption": "Arbeitspreis (pro Einheit)",
"digits": 4,
"minimum": 0
},
{
"type": "NumberSpinner",
"name": "fixed_fee",
"caption": "Fixbetrag pro Benutzer (optional)",
"digits": 2,
"minimum": 0
},
{
"type": "Button",
"caption": "Abrechnung erzeugen (PDF)",
"onClick": "GenerateInvoices"
},
{
"type": "Label",
"name": "result",
"caption": ""
} }
] ]
} }