206 lines
6.8 KiB
JSON
206 lines
6.8 KiB
JSON
{
|
|
"elements": [
|
|
{
|
|
"type": "ExpansionPanel",
|
|
"caption": "Lizenzierung",
|
|
"expanded": true,
|
|
"items": [
|
|
{
|
|
"type": "ValidationTextBox",
|
|
"name": "Lizenzcode",
|
|
"caption": "Verbrauchskostenlizenzcode",
|
|
"placeholder": "ENX-XXXX-XXXX-XXXX-XXXX"
|
|
},
|
|
{
|
|
"type": "Label",
|
|
"name": "LizenzInstallationID",
|
|
"caption": "Installations-ID wird erzeugt"
|
|
},
|
|
{
|
|
"type": "Label",
|
|
"name": "LizenzInformation",
|
|
"caption": "Verbrauchskostenlizenzcode fehlt."
|
|
},
|
|
{
|
|
"type": "Button",
|
|
"name": "LizenzPruefen",
|
|
"caption": "Lizenz prüfen und binden",
|
|
"onClick": "IPS_RequestAction($id, 'FormLizenzPruefen', $Lizenzcode);"
|
|
},
|
|
{
|
|
"type": "Button",
|
|
"name": "LizenzVerwalten",
|
|
"caption": "Lizenz verwalten",
|
|
"link": true,
|
|
"onClick": "echo 'https://license.enelix.ch';"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "Label",
|
|
"caption": "🧾 Einstellungen Verbrauchskostenreport"
|
|
},
|
|
{
|
|
"type": "SelectMedia",
|
|
"name": "LogoMediaID",
|
|
"caption": "Logo auswählen"
|
|
},
|
|
{
|
|
"type": "ValidationTextBox",
|
|
"name": "PropertyText",
|
|
"caption": "Liegenschaft"
|
|
},
|
|
{
|
|
"type": "ValidationTextBox",
|
|
"name": "FooterText",
|
|
"caption": "Fusszeile"
|
|
},
|
|
{
|
|
"type": "Label",
|
|
"caption": "⚖️ Mehrwertsteuer (MWST)"
|
|
},
|
|
{
|
|
"type": "CheckBox",
|
|
"name": "EnableVAT",
|
|
"caption": "Mehrwertsteuer berechnen und ausweisen"
|
|
},
|
|
{
|
|
"type": "NumberSpinner",
|
|
"name": "VATPercentage",
|
|
"caption": "MWST-Satz in %",
|
|
"digits": 2,
|
|
"minimum": 0,
|
|
"maximum": 100
|
|
},
|
|
{
|
|
"type": "Label",
|
|
"caption": "🏦 Daten für den QR-Zahlteil"
|
|
},
|
|
{
|
|
"type": "ValidationTextBox",
|
|
"name": "CreditorName",
|
|
"caption": "Zahlungsempfänger Name"
|
|
},
|
|
{
|
|
"type": "ValidationTextBox",
|
|
"name": "CreditorStreet",
|
|
"caption": "Zahlungsempfänger Strasse"
|
|
},
|
|
{
|
|
"type": "ValidationTextBox",
|
|
"name": "CreditorBuildingNumber",
|
|
"caption": "Zahlungsempfänger Hausnummer"
|
|
},
|
|
{
|
|
"type": "ValidationTextBox",
|
|
"name": "CreditorPostalCode",
|
|
"caption": "Zahlungsempfänger PLZ"
|
|
},
|
|
{
|
|
"type": "ValidationTextBox",
|
|
"name": "CreditorTown",
|
|
"caption": "Zahlungsempfänger Ort"
|
|
},
|
|
{
|
|
"type": "ValidationTextBox",
|
|
"name": "CreditorCountry",
|
|
"caption": "Zahlungsempfänger Land (ISO-2)"
|
|
},
|
|
{
|
|
"type": "ValidationTextBox",
|
|
"name": "BankIBAN",
|
|
"caption": "Bank IBAN"
|
|
},
|
|
{
|
|
"type": "List",
|
|
"name": "Users",
|
|
"caption": "Benutzerliste",
|
|
"add": true,
|
|
"delete": true,
|
|
"sortable": true,
|
|
"columns": [
|
|
{ "caption": "ID", "name": "id", "width": "8%", "add": "", "edit": { "type": "ValidationTextBox" } },
|
|
{ "caption": "Name", "name": "name", "width": "18%", "add": "", "edit": { "type": "ValidationTextBox" } },
|
|
{ "caption": "Strasse", "name": "street", "width": "18%", "add": "", "edit": { "type": "ValidationTextBox" } },
|
|
{ "caption": "Nr.", "name": "building_number", "width": "8%", "add": "", "edit": { "type": "ValidationTextBox" } },
|
|
{ "caption": "PLZ", "name": "postal_code", "width": "10%", "add": "", "edit": { "type": "ValidationTextBox" } },
|
|
{ "caption": "Ort", "name": "town", "width": "18%", "add": "", "edit": { "type": "ValidationTextBox" } },
|
|
{ "caption": "Land", "name": "country", "width": "8%", "add": "CH", "edit": { "type": "ValidationTextBox" } }
|
|
]
|
|
},
|
|
{
|
|
"type": "List",
|
|
"name": "PowerMeters",
|
|
"caption": "Stromzählerliste",
|
|
"add": true,
|
|
"delete": true,
|
|
"sortable": true,
|
|
"columns": [
|
|
{ "caption": "ID", "name": "id", "width": "10%", "add": "", "edit": { "type": "ValidationTextBox" } },
|
|
{ "caption": "Name", "name": "name", "width": "20%", "add": "", "edit": { "type": "ValidationTextBox" } },
|
|
{ "caption": "Var. Verbrauch", "name": "var_consumption", "width": "20%", "add": 0, "edit": { "type": "SelectVariable" } },
|
|
{ "caption": "Var. Rückspeisung", "name": "var_feed", "width": "20%", "add": 0, "edit": { "type": "SelectVariable" } },
|
|
{ "caption": "Benutzer-ID", "name": "user_id", "width": "20%", "add": "", "edit": { "type": "ValidationTextBox" } }
|
|
]
|
|
},
|
|
{
|
|
"type": "List",
|
|
"name": "WaterMeters",
|
|
"caption": "Verbrauchszählerliste",
|
|
"add": true,
|
|
"delete": true,
|
|
"sortable": true,
|
|
"columns": [
|
|
{ "caption": "ID", "name": "id", "width": "10%", "add": "", "edit": { "type": "ValidationTextBox" } },
|
|
{ "caption": "Name", "name": "name", "width": "20%", "add": "", "edit": { "type": "ValidationTextBox" } },
|
|
{ "caption": "Var. Verbrauch", "name": "var_consumption", "width": "20%", "add": 0, "edit": { "type": "SelectVariable" } },
|
|
{ "caption": "Benutzer-ID", "name": "user_id", "width": "20%", "add": "", "edit": { "type": "ValidationTextBox" } },
|
|
{
|
|
"caption": "Zählertyp",
|
|
"name": "meter_type",
|
|
"width": "20%",
|
|
"add": "Warmwasser",
|
|
"edit": {
|
|
"type": "Select",
|
|
"options": [
|
|
{ "caption": "Warmwasser", "value": "Warmwasser" },
|
|
{ "caption": "Kaltwasser", "value": "Kaltwasser" },
|
|
{ "caption": "Wärme", "value": "Wärme" }
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "List",
|
|
"name": "Tariffs",
|
|
"caption": "Tarifübersicht",
|
|
"add": true,
|
|
"delete": true,
|
|
"sortable": true,
|
|
"columns": [
|
|
{ "caption": "Startdatum", "name": "start", "width": "20%", "add": "", "edit": { "type": "SelectDate" } },
|
|
{ "caption": "Enddatum", "name": "end", "width": "20%", "add": "", "edit": { "type": "SelectDate" } },
|
|
{ "caption": "Tarif (Rp/Einheit)", "name": "price", "width": "20%", "add": 0, "edit": { "type": "NumberSpinner", "digits": 3, "minimum": 0 } },
|
|
{
|
|
"caption": "Einheit",
|
|
"name": "unit_type",
|
|
"width": "20%",
|
|
"add": "Netztarif",
|
|
"edit": {
|
|
"type": "Select",
|
|
"options": [
|
|
{ "caption": "Netztarif", "value": "Netztarif" },
|
|
{ "caption": "Einspeisetarif", "value": "Einspeisetarif" },
|
|
{ "caption": "Solartarif", "value": "Solartarif" },
|
|
{ "caption": "Warmwasser", "value": "Warmwasser" },
|
|
{ "caption": "Kaltwasser", "value": "Kaltwasser" },
|
|
{ "caption": "Wärme", "value": "Wärme" }
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|