mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
versandpakete bugfix
This commit is contained in:
parent
a5be2e984a
commit
eb00034a79
@ -604,17 +604,18 @@ class Versandpakete {
|
||||
|
||||
$info = $this->app->DB->SelectArr($sql);
|
||||
|
||||
$this->app->Tpl->Set('BELEGNR', $info[0]['belegnr']);
|
||||
if (!empty($info)) {
|
||||
$this->app->Tpl->Set('BELEGNR', $info[0]['belegnr']);
|
||||
$this->app->Tpl->SetText('KURZUEBERSCHRIFT2', $info[0]['name']." Lieferung ".$info[0]['belegnr']);
|
||||
|
||||
$this->app->Tpl->SetText('KURZUEBERSCHRIFT2', $info[0]['name']." Lieferung ".$info[0]['belegnr']);
|
||||
|
||||
if ($this->versandpakete_check_completion($info[0]['versandpaket'])) {
|
||||
$this->app->Tpl->addMessage('success', 'Lieferung vollständig in Paketen.', false, 'MESSAGE');
|
||||
if ($this->versandpakete_check_completion($info[0]['versandpaket'])) {
|
||||
$this->app->Tpl->addMessage('success', 'Lieferung vollständig in Paketen.', false, 'MESSAGE');
|
||||
}
|
||||
else {
|
||||
$this->app->Tpl->addMessage('info', 'Lieferung unvollständig.', false, 'MESSAGE');
|
||||
}
|
||||
}
|
||||
else {
|
||||
$this->app->Tpl->addMessage('info', 'Lieferung unvollständig.', false, 'MESSAGE');
|
||||
}
|
||||
|
||||
|
||||
$this->app->YUI->TableSearch('TAB1', 'lieferung_versandpakete_list', "show", "", "", basename(__FILE__), __CLASS__);
|
||||
$this->app->Tpl->Parse('PAGE', "versandpakete_lieferung.tpl");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user