diff --git a/locale.xml b/locale.xml index cfbd9373ebf8b5932a73e77cb672c699adfa1c88..55ff1e60376244898e93b865e311c2d1b375d60e 100644 --- a/locale.xml +++ b/locale.xml @@ -356,6 +356,14 @@ <de><![CDATA[Auftrag]]></de> <en><![CDATA[Sales Order]]></en> </locale> + <locale name="entity.title.QUI\ERP\Accounting\Offers\OfferTemporary"> + <de><![CDATA[Angebotsentwurf]]></de> + <en><![CDATA[Temporary Offer]]></en> + </locale> + <locale name="entity.title.QUI\ERP\Accounting\Offers\Offer"> + <de><![CDATA[Angebot]]></de> + <en><![CDATA[Offer]]></en> + </locale> </groups> <groups name="quiqqer/erp" datatype="php"> diff --git a/src/QUI/ERP/Accounting/Calc.php b/src/QUI/ERP/Accounting/Calc.php index eab715b427ec3ecf74ee1a1947fbe2675d7799bd..013989ee3479c678cb530f6753dd6cd8eebbafe1 100644 --- a/src/QUI/ERP/Accounting/Calc.php +++ b/src/QUI/ERP/Accounting/Calc.php @@ -536,6 +536,8 @@ public function calcArticlePrice(Article $Article, $callback = false) } $nettoPrice = $Article->getUnitPriceUnRounded()->value(); + $nettoPrice = round($nettoPrice, $Currency->getPrecision()); + $vat = $Article->getVat(); $basisNettoPrice = $nettoPrice; $nettoSubSum = $this->round($nettoPrice * $Article->getQuantity());