diff --git a/wawi/bestellung.php b/wawi/bestellung.php index bf8e4d3d3..b221ea24c 100644 --- a/wawi/bestellung.php +++ b/wawi/bestellung.php @@ -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."
"; $email.="Erstellt am: ".$date->formatDatum($bestellung->insertamum,'d.m.Y')."
"; $email.="Kostenstelle: ".$kst_mail->bezeichnung."
Konto: ".$konto_mail->kurzbz."
"; + $email.="Tags: ".$tagsAusgabe."
"; $email.="Link: zur Bestellung ";