Add warmmiete calculation logic and related metadata; implement custom view for warmmiete field

This commit is contained in:
2026-01-23 23:14:31 +01:00
parent ebe8d86732
commit cc142af834
4 changed files with 45 additions and 3 deletions

View File

@@ -169,7 +169,8 @@
"isCustom": true,
"readOnly": true,
"required": false,
"tooltip": true
"tooltip": true,
"view": "custom:views/c-vmh-mietverhaeltnis/fields/warmmiete"
},
"vmhMietobjekt": {
"type": "link",

View File

@@ -0,0 +1,3 @@
{
"beforeSaveCustomScript": "warmmiete = (kaltmiete ?? 0) + (bKVorauszahlung ?? 0) + (bKPauschale ?? 0);"
}