mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-16 13:07:14 +01:00
59 lines
1.8 KiB
PHP
59 lines
1.8 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 GenInventur {
|
|
|
|
function __construct(&$app) {
|
|
|
|
$this->app=&$app;
|
|
$this->app->ActionHandlerInit($this);
|
|
|
|
$this->app->ActionHandler("create","InventurCreate");
|
|
$this->app->ActionHandler("edit","InventurEdit");
|
|
$this->app->ActionHandler("copy","InventurCopy");
|
|
$this->app->ActionHandler("list","InventurList");
|
|
$this->app->ActionHandler("delete","InventurDelete");
|
|
|
|
$this->app->Tpl->Set("HEADING","Inventur"); //$this->app->ActionHandlerListen($app);
|
|
}
|
|
|
|
function InventurCreate(){
|
|
$this->app->Tpl->Set("HEADING","Inventur (Anlegen)");
|
|
$this->app->PageBuilder->CreateGen("inventur_create.tpl");
|
|
}
|
|
|
|
function InventurEdit(){
|
|
$this->app->Tpl->Set("HEADING","Inventur (Bearbeiten)");
|
|
$this->app->PageBuilder->CreateGen("inventur_edit.tpl");
|
|
}
|
|
|
|
function InventurCopy(){
|
|
$this->app->Tpl->Set("HEADING","Inventur (Kopieren)");
|
|
$this->app->PageBuilder->CreateGen("inventur_copy.tpl");
|
|
}
|
|
|
|
function InventurDelete(){
|
|
$this->app->Tpl->Set("HEADING","Inventur (Löschen)");
|
|
$this->app->PageBuilder->CreateGen("inventur_delete.tpl");
|
|
}
|
|
|
|
function InventurList(){
|
|
$this->app->Tpl->Set("HEADING","Inventur (Übersicht)");
|
|
$this->app->PageBuilder->CreateGen("inventur_list.tpl");
|
|
}
|
|
|
|
}
|
|
?>
|