Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#719 closed Bug/Fehler (fixed)

Couponberechnung: %-Rabatt x Währungskurs = negative Rechnungssumme

Reported by: anonymous Owned by: Ronald Parcinski
Priority: normal Milestone: modified-shop-2.0.0.0
Component: Module Version: 2.0.0.0
Keywords: Cc:
Blocked By: Blocking:

Description

Datei: \includes\modules\order_total\ot_coupon.php
Fehler: Ein mit prozentualem Rabatt angelegter Coupon wird mit dem Währungskurs multipliziert:

if ($get_result['coupon_type'] != 'P') {
  $od_amount = $c_deduct;
} else {
  $od_amount = $amount * $xtPrice->xtcCalculateCurr($get_result['coupon_amount']) / 100; //FIX - web28 - 2012-04-24 - calculate currencies
}

Lösung:

if ($get_result['coupon_type'] != 'P') {
  $od_amount = $c_deduct;
} else {
  $od_amount = $amount * $get_result['coupon_amount'] / 100; 
}

Attachments (0)

Change History (2)

comment:1 by Ronald Parcinski, 10 years ago

Milestone: modified-shop-2.00
Version: 1.062.0

Danke für den Hinweis, wird überprüft

comment:2 by Ronald Parcinski, 10 years ago

Owner: set to Ronald Parcinski
Resolution: fixed
Status: newclosed

In 9089:

fix #719

Modify Ticket

Action
as closed The owner will remain Ronald Parcinski.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.