From 780024ba1577c71369d025f365b67f4c1199cabf Mon Sep 17 00:00:00 2001 From: Paul Mehrer Date: Thu, 11 Jan 2024 14:06:11 +0100 Subject: [PATCH] tweak(Sales Division) added missing eval dimension item cntrl --- .../Controller/DivisionEvalDimensionItem.php | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 tine20/Sales/Controller/DivisionEvalDimensionItem.php diff --git a/tine20/Sales/Controller/DivisionEvalDimensionItem.php b/tine20/Sales/Controller/DivisionEvalDimensionItem.php new file mode 100644 index 00000000000..66cf7800224 --- /dev/null +++ b/tine20/Sales/Controller/DivisionEvalDimensionItem.php @@ -0,0 +1,40 @@ + + * @copyright Copyright (c) 2024 Metaways Infosystems GmbH (http://www.metaways.de) + * + */ + +/** + * DivisionEvalDimensionItem controller class for Sales application + * + * @package Sales + * @subpackage Controller + */ +class Sales_Controller_DivisionEvalDimensionItem extends Tinebase_Controller_Record_Abstract +{ + use Tinebase_Controller_SingletonTrait; + + /** + * the constructor + * don't use the constructor. use the singleton + */ + protected function __construct() + { + $this->_applicationName = Sales_Config::APP_NAME; + $this->_modelName = Sales_Model_DivisionEvalDimensionItem::class; + $this->_backend = new Tinebase_Backend_Sql([ + Tinebase_Backend_Sql::MODEL_NAME => $this->_modelName, + Tinebase_Backend_Sql::TABLE_NAME => Sales_Model_DivisionEvalDimensionItem::TABLE_NAME, + Tinebase_Backend_Sql::MODLOG_ACTIVE => true, + ]); + + $this->_purgeRecords = false; + $this->_doContainerACLChecks = false; + } +}