From 828c1b1a753fcebf88d77771bb467bb28a4f3fc0 Mon Sep 17 00:00:00 2001
From: OpenXE <>
Date: Sun, 23 Apr 2023 16:54:52 +0200
Subject: [PATCH] Kontoauszuege removed "new" button.
---
www/pages/content/kontoauszuege_konto_list.tpl | 2 +-
www/pages/kontoauszuege.php | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/www/pages/content/kontoauszuege_konto_list.tpl b/www/pages/content/kontoauszuege_konto_list.tpl
index 2157856b..77a933ac 100644
--- a/www/pages/content/kontoauszuege_konto_list.tpl
+++ b/www/pages/content/kontoauszuege_konto_list.tpl
@@ -5,7 +5,7 @@
diff --git a/www/pages/kontoauszuege.php b/www/pages/kontoauszuege.php
index 61ed2093..e60dd42d 100644
--- a/www/pages/kontoauszuege.php
+++ b/www/pages/kontoauszuege.php
@@ -16,7 +16,7 @@ class Kontoauszuege {
$this->app->ActionHandlerInit($this);
$this->app->ActionHandler("list", "kontoauszuege_konto_list");
$this->app->ActionHandler("listentries", "kontoauszuege_list");
- $this->app->ActionHandler("create", "kontoauszuege_edit"); // This automatically adds a "New" button
+// $this->app->ActionHandler("create", "kontoauszuege_edit"); // This automatically adds a "New" button
$this->app->ActionHandler("edit", "kontoauszuege_edit");
$this->app->ActionHandler("delete", "kontoauszuege_delete");
$this->app->DefaultActionHandler("list");
@@ -255,7 +255,7 @@ class Kontoauszuege {
function kontoauszuege_konto_list() {
$this->app->erp->MenuEintrag("index.php?module=kontoauszuege&action=list", "Übersicht");
- $this->app->erp->MenuEintrag("index.php?module=kontoauszuege&action=create", "Neu anlegen");
+// $this->app->erp->MenuEintrag("index.php?module=kontoauszuege&action=create", "Neu anlegen");
$this->app->erp->MenuEintrag("index.php", "Zurück");
@@ -313,7 +313,7 @@ class Kontoauszuege {
}
$this->app->erp->MenuEintrag("index.php?module=kontoauszuege&action=list", "Übersicht");
- $this->app->erp->MenuEintrag("index.php?module=kontoauszuege&action=create", "Neu anlegen");
+// $this->app->erp->MenuEintrag("index.php?module=kontoauszuege&action=create", "Neu anlegen");
$this->app->erp->MenuEintrag("index.php", "Zurück");
@@ -367,10 +367,10 @@ class Kontoauszuege {
$input = $this->GetInput();
$submit = $this->app->Secure->GetPOST('submit');
- if (empty($id)) {
+/* if (empty($id)) {
// New item
$id = 'NULL';
- }
+ } */
if ($submit != '')
{