﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking
719	Couponberechnung: %-Rabatt x Währungskurs = negative Rechnungssumme	anonymous	Ronald Parcinski	"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; 
}
}}}
"	Bug/Fehler	closed	normal	modified-shop-2.0.0.0	Module	2.0.0.0	fixed				
