Files
Symcon_Belevo_Energiemanage…/Abrechnung/form.json
T
2025-11-03 14:51:36 +01:00

107 lines
2.7 KiB
JSON

{
"elements": [
{
"type": "Label",
"caption": "⚙️ Abrechnungskonfiguration"
},
{
"type": "ExpansionPanel",
"caption": "Benutzer (Empfänger)",
"items": [
{
"type": "List",
"name": "Users",
"caption": "Benutzerliste",
"rowCount": 5,
"add": true,
"edit": true,
"delete": true,
"values": [],
"columns": [
{ "caption": "ID", "name": "id", "width": "10%", "add": "" },
{ "caption": "Name", "name": "name", "width": "30%", "add": "" },
{ "caption": "E-Mail", "name": "email", "width": "30%", "add": "" },
{ "caption": "Adresse", "name": "address", "width": "30%", "add": "" }
]
}
]
},
{
"type": "ExpansionPanel",
"caption": "Zähler",
"items": [
{
"type": "List",
"name": "Meters",
"caption": "Zählerliste",
"rowCount": 5,
"add": true,
"edit": true,
"delete": true,
"values": [],
"columns": [
{ "caption": "ID", "name": "id", "width": "10%", "add": "" },
{ "caption": "Name", "name": "name", "width": "25%", "add": "" },
{ "caption": "IPS-VariableID", "name": "variableid", "width": "20%", "add": 0 },
{ "caption": "Benutzer-ID", "name": "user_id", "width": "20%", "add": "" },
{ "caption": "Einheit", "name": "unit", "width": "15%", "add": "" }
]
}
]
},
{
"type": "ExpansionPanel",
"caption": "Abrechnung (Schnellstart)",
"items": [
{
"type": "DatePicker",
"name": "from_date",
"caption": "Von (Datum)"
},
{
"type": "TimePicker",
"name": "from_time",
"caption": "Von (Zeit)"
},
{
"type": "DatePicker",
"name": "to_date",
"caption": "Bis (Datum)"
},
{
"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": ""
}
]
}
]
}