mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 08:34:29 +00:00
This commit is contained in:
@@ -2390,6 +2390,16 @@ function sendFreigabeMails($uids, $bestellung, $user)
|
|||||||
function sendZentraleinkaufFreigegeben($bestellung)
|
function sendZentraleinkaufFreigegeben($bestellung)
|
||||||
{
|
{
|
||||||
global $date;
|
global $date;
|
||||||
|
$tags = new tags();
|
||||||
|
$tags->GetTagsByBestellung($bestellung->bestellung_id);
|
||||||
|
$tagsAusgabe='';
|
||||||
|
foreach($tags->result as $res)
|
||||||
|
{
|
||||||
|
if($tagsAusgabe!='')
|
||||||
|
$tagsAusgabe.=', ';
|
||||||
|
|
||||||
|
$tagsAusgabe.=$res->tag;
|
||||||
|
}
|
||||||
$msg = '';
|
$msg = '';
|
||||||
|
|
||||||
$kst_mail = new wawi_kostenstelle();
|
$kst_mail = new wawi_kostenstelle();
|
||||||
@@ -2411,6 +2421,7 @@ function sendZentraleinkaufFreigegeben($bestellung)
|
|||||||
$email.="Kontaktperson: ".$besteller->titelpre.' '.$besteller->vorname.' '.$besteller->nachname.' '.$besteller->titelpost."<br>";
|
$email.="Kontaktperson: ".$besteller->titelpre.' '.$besteller->vorname.' '.$besteller->nachname.' '.$besteller->titelpost."<br>";
|
||||||
$email.="Erstellt am: ".$date->formatDatum($bestellung->insertamum,'d.m.Y')."<br>";
|
$email.="Erstellt am: ".$date->formatDatum($bestellung->insertamum,'d.m.Y')."<br>";
|
||||||
$email.="Kostenstelle: ".$kst_mail->bezeichnung."<br>Konto: ".$konto_mail->kurzbz."<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>";
|
$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