Opened 6 years ago
Closed 6 years ago
#1772 closed Bug/Fehler (fixed)
Fehler in Coupon-Modul bei Steuerberechnung / Ausweisung
| Reported by: | Owned by: | Gerhard Waldemair | |
|---|---|---|---|
| Priority: | hoch | Milestone: | modified-shop-2.0.5.1 |
| Component: | Module | Version: | 2.0.4.2 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: |
Description
Fehler: Im Warenkorb, Checkout und der Order selbst wird die MwSt falsch ausgewiesen. eine Mwst Position verschwindet ganz, die verbliebene wird falsch ausgewiesen. Gesamtbetrag (total) stimmt aber.
Scenario:
1 Artikel ermäßigte Steuer
1 Artikel Standardsteuersatz + Sonderangebotspreis
+ Coupon eingelöst, egal ob % oder absolut
Einstellung "Rabatt auf Sonderangebote" auf false
Fehlerhafte Datei:
includes/modules/order_total/ot_coupon.php
-function new_calculate_tax_deduction()
Fehlerhafte Abfrage
$restriction = isset($this->tax_groups) && count($this->tax_groups) ? true : false;
Quickfix
Wenn man $restriction auf false setzt, funktioniert alles.
Ich kann nur nicht sagen, was die Codestelle eigentlich bewirken soll
und welche Konsequenzen das hat
Betroffenene Versionen (von denen ich weiß):
2.0.5.0
2.0.4.2
Attachments (0)
Change History (2)
comment:1 by , 6 years ago
| Milestone: | → modified-shop-2.0.5.1 |
|---|---|
| Version: | → 2.0.4.2 |
comment:2 by , 6 years ago
| Owner: | set to |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |

In 12600: