This commit is contained in:
Karl Burkhart
2011-09-26 09:57:55 +00:00
parent 322a5f085e
commit 4e447f62c4
+11
View File
@@ -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>";