{ "elements": [ { "type": "Label", "caption": "Einstellungen für Abrechnung" }, { "type": "ExpansionPanel", "caption": "Stammdaten", "items": [ { "type": "Row", "items": [ { "type": "Column", "items": [ { "type": "List", "name": "Users", "caption": "Benutzer (Empfänger)", "add": true, "columns": [ { "caption": "ID", "name": "id", "width": "10%" }, { "caption": "Name", "name": "name", "width": "35%" }, { "caption": "E-Mail", "name": "email", "width": "35%" }, { "caption": "Adresse", "name": "address", "width": "20%" } ], "rowProperties": [ { "label": "Name", "name": "name", "type": "TextBox" }, { "label": "E-Mail", "name": "email", "type": "TextBox" }, { "label": "Adresse", "name": "address", "type": "TextBox" }, { "label": "Benutzer-ID (frei)", "name": "id", "type": "ValidationTextBox" } ] } ] }, { "type": "Column", "items": [ { "type": "List", "name": "Meters", "caption": "Zähler", "add": true, "columns": [ { "caption": "ID", "name": "id", "width": "10%" }, { "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" } ] } ] } ] } ] }, { "type": "ExpansionPanel", "caption": "Abrechnung (Schnellstart)", "items": [ { "type": "Row", "items": [ { "type": "Column", "items": [ { "type": "DateTimePicker", "name": "from", "caption": "Von", "format": "yyyy-MM-dd HH:mm" }, { "type": "DateTimePicker", "name": "to", "caption": "Bis", "format": "yyyy-MM-dd HH:mm" }, { "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": "" } ] } ] } ] } ] }