mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-26 06:30:29 +01:00
59 lines
1.9 KiB
PHP
59 lines
1.9 KiB
PHP
<?php
|
|
/*
|
|
**** COPYRIGHT & LICENSE NOTICE *** DO NOT REMOVE ****
|
|
*
|
|
* Xentral (c) Xentral ERP Sorftware GmbH, Fuggerstrasse 11, D-86150 Augsburg, * Germany 2019
|
|
*
|
|
* This file is licensed under the Embedded Projects General Public License *Version 3.1.
|
|
*
|
|
* You should have received a copy of this license from your vendor and/or *along with this file; If not, please visit www.wawision.de/Lizenzhinweis
|
|
* to obtain the text of the corresponding license version.
|
|
*
|
|
**** END OF COPYRIGHT & LICENSE NOTICE *** DO NOT REMOVE ****
|
|
*/
|
|
?>
|
|
<?php
|
|
|
|
class GenKalkulation {
|
|
|
|
function __construct(&$app) {
|
|
|
|
$this->app=&$app;
|
|
$this->app->ActionHandlerInit($this);
|
|
|
|
$this->app->ActionHandler("create","KalkulationCreate");
|
|
$this->app->ActionHandler("edit","KalkulationEdit");
|
|
$this->app->ActionHandler("copy","KalkulationCopy");
|
|
$this->app->ActionHandler("list","KalkulationList");
|
|
$this->app->ActionHandler("delete","KalkulationDelete");
|
|
|
|
$this->app->Tpl->Set("HEADING","Kalkulation"); //$this->app->ActionHandlerListen($app);
|
|
}
|
|
|
|
function KalkulationCreate(){
|
|
$this->app->Tpl->Set("HEADING","Kalkulation (Anlegen)");
|
|
$this->app->PageBuilder->CreateGen("kalkulation_create.tpl");
|
|
}
|
|
|
|
function KalkulationEdit(){
|
|
$this->app->Tpl->Set("HEADING","Kalkulation (Bearbeiten)");
|
|
$this->app->PageBuilder->CreateGen("kalkulation_edit.tpl");
|
|
}
|
|
|
|
function KalkulationCopy(){
|
|
$this->app->Tpl->Set("HEADING","Kalkulation (Kopieren)");
|
|
$this->app->PageBuilder->CreateGen("kalkulation_copy.tpl");
|
|
}
|
|
|
|
function KalkulationDelete(){
|
|
$this->app->Tpl->Set("HEADING","Kalkulation (Löschen)");
|
|
$this->app->PageBuilder->CreateGen("kalkulation_delete.tpl");
|
|
}
|
|
|
|
function KalkulationList(){
|
|
$this->app->Tpl->Set("HEADING","Kalkulation (Übersicht)");
|
|
$this->app->PageBuilder->CreateGen("kalkulation_list.tpl");
|
|
}
|
|
|
|
}
|
|
?>
|