document send preselect default mail address from firmendaten

This commit is contained in:
OpenXE 2023-08-15 12:37:16 +02:00
parent be222cc581
commit 91c2dc88ba

View File

@ -26040,7 +26040,7 @@ function ChargenMHDAuslagern($artikel, $menge, $lagerplatztyp, $lpid,$typ,$wert,
$this->app->Tpl->Set('DRUCKER', $this->GetSelectDrucker($selected)); $this->app->Tpl->Set('DRUCKER', $this->GetSelectDrucker($selected));
} }
$this->app->Tpl->Set('FAX',$this->GetSelectFax()); $this->app->Tpl->Set('FAX',$this->GetSelectFax());
$this->app->Tpl->Set('EMAILEMPFAENGER',$this->GetSelectEmail()); $this->app->Tpl->Set('EMAILEMPFAENGER',$this->GetSelectEmail($this->Firmendaten("email")));
$projektabkuerzung = $this->app->DB->Select("SELECT abkuerzung FROM projekt WHERE id='$projekt'"); $projektabkuerzung = $this->app->DB->Select("SELECT abkuerzung FROM projekt WHERE id='$projekt'");
$this->app->Tpl->Set('PROJEKT',$projektabkuerzung); $this->app->Tpl->Set('PROJEKT',$projektabkuerzung);
//$this->app->Tpl->Set(PROJEKT,$this->GetProjektSelect($projekt)); //$this->app->Tpl->Set(PROJEKT,$this->GetProjektSelect($projekt));