mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01: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>"); }
|
||||
|
||||
if (gettype($attachments) == 'string') {
|
||||
$attachments = (Array) $attachments;
|
||||
}
|
||||
|
||||
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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user