mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 06:00:28 +01:00
versandpakete bugfix
This commit is contained in:
parent
a5be2e984a
commit
eb00034a79
@ -604,15 +604,16 @@ 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');
|
||||
}
|
||||
else {
|
||||
$this->app->Tpl->addMessage('info', 'Lieferung unvollständig.', 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');
|
||||
}
|
||||
}
|
||||
|
||||
$this->app->YUI->TableSearch('TAB1', 'lieferung_versandpakete_list', "show", "", "", basename(__FILE__), __CLASS__);
|
||||
|
Loading…
Reference in New Issue
Block a user