Bugfix intial produktion status

This commit is contained in:
OpenXE 2022-11-07 16:08:25 +01:00
parent cadbf08376
commit 348d946637

View File

@ -284,7 +284,7 @@ class Produktion {
$input['datum'] = $this->app->erp->ReplaceDatum(true,$input['datum'],true);
}
if (empty($input['status']) || $input['status'] == '') {
if ($id == 'NULL') {
$input['status'] = 'angelegt';
}