diff --git a/upgrade/data/db_schema.json b/upgrade/data/db_schema.json
index 0b440a32..f5d12bb7 100644
--- a/upgrade/data/db_schema.json
+++ b/upgrade/data/db_schema.json
@@ -119053,6 +119053,45 @@
"Non_unique": ""
}
]
+ },
+ {
+ "name": "smarty_templates",
+ "collation": "utf8mb3_general_ci",
+ "type": "BASE TABLE",
+ "columns": [
+ {
+ "Field": "id",
+ "Type": "int(11)",
+ "Collation": null,
+ "Null": "NO",
+ "Key": "PRI",
+ "Default": null,
+ "Extra": "auto_increment",
+ "Privileges": "select,insert,update,references",
+ "Comment": ""
+ },
+ {
+ "Field": "template",
+ "Type": "text",
+ "Collation": "utf8mb3_general_ci",
+ "Null": "NO",
+ "Key": "",
+ "Default": null,
+ "Extra": "",
+ "Privileges": "select,insert,update,references",
+ "Comment": ""
+ }
+ ],
+ "keys": [
+ {
+ "Key_name": "PRIMARY",
+ "Index_type": "BTREE",
+ "columns": [
+ "id"
+ ],
+ "Non_unique": ""
+ }
+ ]
}
],
"views": [
diff --git a/www/pages/rechnung.php b/www/pages/rechnung.php
index 5656ada0..c55158f6 100644
--- a/www/pages/rechnung.php
+++ b/www/pages/rechnung.php
@@ -55,6 +55,8 @@ class Rechnung extends GenRechnung
$this->app->ActionHandler("freigabe","RechnungFreigabe");
$this->app->ActionHandler("abschicken","RechnungAbschicken");
$this->app->ActionHandler("pdf","RechnungPDF");
+ $this->app->ActionHandler("xml","RechnungSmarty");
+ $this->app->ActionHandler("json","RechnungJSON");
$this->app->ActionHandler("alternativpdf","RechnungAlternativPDF");
$this->app->ActionHandler("inlinepdf","RechnungInlinePDF");
$this->app->ActionHandler("lastschrift","RechnungLastschrift");
@@ -547,6 +549,7 @@ class Rechnung extends GenRechnung
$menu .= "
+