diff --git a/locale.xml b/locale.xml index 55ff1e60376244898e93b865e311c2d1b375d60e..f5e8661ecc5365f93add5412485e6d3c0f1a97e4 100644 --- a/locale.xml +++ b/locale.xml @@ -364,6 +364,10 @@ <de><![CDATA[Angebot]]></de> <en><![CDATA[Offer]]></en> </locale> + <locale name="entity.title.QUI\ERP\Order\Order"> + <de><![CDATA[Bestellung]]></de> + <en><![CDATA[Order]]></en> + </locale> </groups> <groups name="quiqqer/erp" datatype="php"> diff --git a/src/QUI/ERP/Accounting/ArticleList.php b/src/QUI/ERP/Accounting/ArticleList.php index 5bcdcb21452f65129a51986bf9157f5f61a92466..23e64c0c4bde1a1a8a5aea76a4ad46a039b9ba7f 100644 --- a/src/QUI/ERP/Accounting/ArticleList.php +++ b/src/QUI/ERP/Accounting/ArticleList.php @@ -541,4 +541,18 @@ public function getOrder(): ?QUI\ERP\Order\AbstractOrder } //endregion + + //render + + public function renderForMail(): string + { + return $this->toUniqueList()->renderForMail(); + } + + public function toHTMLWithCSS(): string + { + return $this->toUniqueList()->toHTMLWithCSS(); + } + + //endregion }