From 7029295cb32486251b007c32afc5af3ba717022a Mon Sep 17 00:00:00 2001 From: OpenXE <> Date: Sat, 30 Dec 2023 14:05:16 +0100 Subject: [PATCH] adresse added sachkonto for verbindlichkeit --- upgrade/data/db_schema.json | 11 +++++++++++ www/widgets/_gen/widget.gen.adresse.php | 3 +++ www/widgets/templates/_gen/adresse.tpl | 3 +++ www/widgets/widget.adresse.php | 8 ++++++++ 4 files changed, 25 insertions(+) diff --git a/upgrade/data/db_schema.json b/upgrade/data/db_schema.json index cfbd13a9..a2194ad5 100644 --- a/upgrade/data/db_schema.json +++ b/upgrade/data/db_schema.json @@ -3649,6 +3649,17 @@ "Extra": "", "Privileges": "select,insert,update,references", "Comment": "" + }, + { + "Field": "kontorahmen", + "Type": "int(11)", + "Collation": null, + "Null": "NO", + "Key": "", + "Default": "0", + "Extra": "", + "Privileges": "select,insert,update,references", + "Comment": "" } ], "keys": [ diff --git a/www/widgets/_gen/widget.gen.adresse.php b/www/widgets/_gen/widget.gen.adresse.php index d1b78512..f058afec 100644 --- a/www/widgets/_gen/widget.gen.adresse.php +++ b/www/widgets/_gen/widget.gen.adresse.php @@ -583,6 +583,9 @@ class WidgetGenadresse $field = new HTMLCheckbox("geburtstagskarte","","","1","0","0"); $this->form->NewField($field); + $field = new HTMLInput("sachkonto","text","","30","","","","","","","","0","",""); + $this->form->NewField($field); + $field = new HTMLSelect("verrechnungskontoreisekosten",0,"verrechnungskontoreisekosten","","","0"); $this->form->NewField($field); diff --git a/www/widgets/templates/_gen/adresse.tpl b/www/widgets/templates/_gen/adresse.tpl index a78b7a56..d5abf6b6 100644 --- a/www/widgets/templates/_gen/adresse.tpl +++ b/www/widgets/templates/_gen/adresse.tpl @@ -714,6 +714,9 @@ $(document).ready(function(){