mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-15 20:47:15 +01:00
52 lines
1.3 KiB
PHP
52 lines
1.3 KiB
PHP
|
<?php
|
||
|
include ("_gen/widget.gen.wawisioneinrichtung.php");
|
||
|
|
||
|
class WidgetWawisioneinrichtung extends WidgetGenWawisioneinrichtung
|
||
|
{
|
||
|
private $app;
|
||
|
function __construct(&$app,$parsetarget)
|
||
|
{
|
||
|
$this->app = &$app;
|
||
|
$this->parsetarget = $parsetarget;
|
||
|
parent::__construct($app,$parsetarget);
|
||
|
$this->ExtendsForm();
|
||
|
}
|
||
|
|
||
|
function ExtendsForm()
|
||
|
{
|
||
|
|
||
|
$this->app->YUI->AutoComplete("mitarbeiter","mitarbeiter");
|
||
|
$this->app->YUI->AutoComplete("adresse","kunde");
|
||
|
$this->app->YUI->DatePicker("startdatum");
|
||
|
$this->app->YUI->CkEditor("bemerkung","internal");
|
||
|
|
||
|
$this->form->ReplaceFunction("startdatum",$this,"ReplaceDatum");
|
||
|
$this->form->ReplaceFunction("mitarbeiter",$this,"ReplaceMitarbeiter");
|
||
|
$this->form->ReplaceFunction("adresse",$this,"ReplaceKunde");
|
||
|
}
|
||
|
|
||
|
function ReplaceProjekt($db,$value,$fromform)
|
||
|
{
|
||
|
return $this->app->erp->ReplaceProjekt($db,$value,$fromform);
|
||
|
}
|
||
|
|
||
|
function ReplaceKunde($db,$value,$fromform)
|
||
|
{
|
||
|
return $this->app->erp->ReplaceKunde($db,$value,$fromform);
|
||
|
}
|
||
|
|
||
|
function ReplaceMitarbeiter($db,$value,$fromform)
|
||
|
{
|
||
|
return $this->app->erp->ReplaceMitarbeiter($db,$value,$fromform);
|
||
|
}
|
||
|
|
||
|
function ReplaceDatum($db,$value,$fromform)
|
||
|
{
|
||
|
return $this->app->erp->ReplaceDatum($db,$value,$fromform);
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
}
|
||
|
?>
|