mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2025-04-01 19:10:23 +02:00
Bugfix send order
This commit is contained in:
parent
b974f1c38e
commit
47415a6942
@ -31859,10 +31859,13 @@ function ChargenMHDAuslagern($artikel, $menge, $lagerplatztyp, $lpid,$typ,$wert,
|
|||||||
|
|
||||||
} else { $this->app->Tpl->Set('HISTORIE',"<div class=\"info\">Dieses Dokument wurde noch nicht versendet!</div>"); }
|
} else { $this->app->Tpl->Set('HISTORIE',"<div class=\"info\">Dieses Dokument wurde noch nicht versendet!</div>"); }
|
||||||
|
|
||||||
|
if (gettype($attachments) == 'string') {
|
||||||
|
$attachments = (Array) $attachments;
|
||||||
|
}
|
||||||
|
|
||||||
for($i=0;$i<(!empty($attachments)?count($attachments):0);$i++)
|
for($i=0;$i<(!empty($attachments)?count($attachments):0);$i++)
|
||||||
{
|
{
|
||||||
$this->app->Tpl->Add('ANHAENGE',"<a href=\"\">".basename($attachments)."</a> ");
|
$this->app->Tpl->Add('ANHAENGE',"<a href=\"\">".basename($attachments[$i])."</a> ");
|
||||||
}
|
}
|
||||||
if((!empty($attachments)?count($attachments):0)==0) $this->app->Tpl->Add('ANHAENGE',"keine Anhänge vorhanden");
|
if((!empty($attachments)?count($attachments):0)==0) $this->app->Tpl->Add('ANHAENGE',"keine Anhänge vorhanden");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user