bug fixes

This commit is contained in:
Dennis Eichhorn 2021-04-04 17:53:10 +02:00
parent c5d7a7ceaa
commit ec0263ce2b
3 changed files with 4 additions and 3 deletions

View File

@ -191,7 +191,7 @@
"uri": "{/prefix}sales/analysis/bill",
"target": "self",
"icon": null,
"order": 5,
"order": 15,
"from": "Billing",
"permission": { "permission": 2, "type": null, "element": null },
"parent": 1001602001,

View File

@ -83,12 +83,12 @@ class BillType
{
if ($l11n instanceof BillTypeL11n) {
$this->l11n = $l11n;
} elseif ($this->l11n instanceof BillTypeL11n && \is_string($l11n)) {
$this->l11n->name = $l11n;
} elseif (\is_string($l11n)) {
$this->l11n = new BillTypeL11n();
$this->l11n->name = $l11n;
$this->l11n->setLanguage($lang);
} elseif ($this->l11n instanceof BillTypeL11n && \is_string($l11n)) {
$this->l11n->name = $l11n;
}
}

View File

@ -14,5 +14,6 @@ declare(strict_types=1);
return ['Navigation' => [
'Archive' => 'Archive',
'Bill' => 'Bill',
'Billing' => 'Billing',
]];