From affb0d60c98eada735ec01ab7e2d1722e4c8a122 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 28 Apr 2023 20:18:25 +1000 Subject: [PATCH] Fixes for taxes --- app/DataMapper/Tax/DE/Rule.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app/DataMapper/Tax/DE/Rule.php b/app/DataMapper/Tax/DE/Rule.php index 8315a51792eb..2118adf02e98 100644 --- a/app/DataMapper/Tax/DE/Rule.php +++ b/app/DataMapper/Tax/DE/Rule.php @@ -113,6 +113,10 @@ class Rule extends BaseRule implements RuleInterface */ public function taxDigital(): self { + + $this->tax_rate1 = $this->tax_rate; + $this->tax_name1 = 'MwSt.'; + return $this; } @@ -123,6 +127,10 @@ class Rule extends BaseRule implements RuleInterface */ public function taxService(): self { + + $this->tax_rate1 = $this->tax_rate; + $this->tax_name1 = 'MwSt.'; + return $this; } @@ -133,6 +141,10 @@ class Rule extends BaseRule implements RuleInterface */ public function taxShipping(): self { + + $this->tax_rate1 = $this->tax_rate; + $this->tax_name1 = 'MwSt.'; + return $this; }