Modify ↓
Opened 9 years ago
Closed 9 years ago
#951 closed Bug/Fehler (fixed)
ot_payment - fehlerhafte Berechnung
| Reported by: | Ronald Parcinski | Owned by: | Gerhard Waldemair |
|---|---|---|---|
| Priority: | hoch | Milestone: | modified-shop-2.0.1.0 |
| Component: | Module | Version: | 2.0.0.0 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: |
Description
ot_payment berechnet evtl den Rabatt falsch.
Kundengruppe:
Preise inkl Steuer: nein
UST in Rechnung ausweisen: nein
if ($this->include_tax == 'false') {
$order_total -= $order->info['tax'];
}
$order->infotax ist im betroffenen Shop (2.0.0.0 r10000) größer 0,
deshalb ist die Berechnungsgrundlage für den Rabatt zu klein.
BUGFIX:
if ($this->include_tax == 'false' && ($_SESSION['customers_status']['customers_status_show_price_tax'] || $_SESSION['customers_status']['customers_status_add_tax_ot'])) {
$order_total -= $order->info['tax'];
}
$order->infotax wird aber in in orders.php ab Zeile 620ff gesetzt.
Evtl muss die Korrektur hier angestzt werden.
Attachments (0)
Change History (1)
comment:1 by , 9 years ago
| Owner: | set to |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

In 10040: