mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-24 13:40:29 +01:00
CRM new email with prefilled text
This commit is contained in:
parent
4af7eacfd8
commit
4c98f6966b
@ -3738,11 +3738,18 @@ function AdresseBriefErstellen() {
|
||||
if (!empty($adresse['email'])) {
|
||||
$this->app->Tpl->Add('EMAIL_AN',str_replace('"','"',$adresse['name']) . ' <' . $adresse['email'] . '>');
|
||||
}
|
||||
|
||||
$anschreiben = $this->app->DB->Select("SELECT anschreiben FROM adresse WHERE id='".$ticket_from_db['adresse']."' LIMIT 1");
|
||||
if($anschreiben=="")
|
||||
{
|
||||
$anschreiben = $this->app->erp->Beschriftung("dokument_anschreiben").",\n".$this->app->erp->Grussformel($projekt,$sprache);
|
||||
}
|
||||
$this->app->Tpl->Add('CONTENT',$anschreiben);
|
||||
|
||||
$anhaenge = '';
|
||||
$anhaenge .= '<tr><td nowrap>Datei:</td><td><input type="file" name="upload[]" id="file" /></td></tr>';
|
||||
// $anhaenge .= '<tr><td nowrap>Datei 2:</td><td><input type="file" name="upload[]" /></td></tr>';
|
||||
// $anhaenge .= '<tr><td nowrap>Datei 3:</td><td><input type="file" name="upload[]" /></td></tr>';
|
||||
|
||||
|
||||
$this->app->Tpl->Add('ANHAENGEHERAUFLADEN', $anhaenge);
|
||||
$anhaenge = '<tr><td colspan=3 align=center><i>Keine Anhänge vorhanden</i></td></tr>';
|
||||
|
Loading…
Reference in New Issue
Block a user