mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
This commit is contained in:
@@ -2390,6 +2390,16 @@ function sendFreigabeMails($uids, $bestellung, $user)
|
||||
function sendZentraleinkaufFreigegeben($bestellung)
|
||||
{
|
||||
global $date;
|
||||
$tags = new tags();
|
||||
$tags->GetTagsByBestellung($bestellung->bestellung_id);
|
||||
$tagsAusgabe='';
|
||||
foreach($tags->result as $res)
|
||||
{
|
||||
if($tagsAusgabe!='')
|
||||
$tagsAusgabe.=', ';
|
||||
|
||||
$tagsAusgabe.=$res->tag;
|
||||
}
|
||||
$msg = '';
|
||||
|
||||
$kst_mail = new wawi_kostenstelle();
|
||||
@@ -2411,6 +2421,7 @@ function sendZentraleinkaufFreigegeben($bestellung)
|
||||
$email.="Kontaktperson: ".$besteller->titelpre.' '.$besteller->vorname.' '.$besteller->nachname.' '.$besteller->titelpost."<br>";
|
||||
$email.="Erstellt am: ".$date->formatDatum($bestellung->insertamum,'d.m.Y')."<br>";
|
||||
$email.="Kostenstelle: ".$kst_mail->bezeichnung."<br>Konto: ".$konto_mail->kurzbz."<br>";
|
||||
$email.="Tags: ".$tagsAusgabe."<br>";
|
||||
|
||||
$email.="Link: <a href='".APP_ROOT."/index.php?content=bestellung.php&method=update&id=$bestellung->bestellung_id'>zur Bestellung </a>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user