Projekt

Allgemein

Profil

GX-Bug #50710 » CouponRoundFix.patch

Till Tepelmann, 13.03.2017 19:18

Unterschiede anzeigen:

src/includes/modules/order_total/ot_coupon.php (revision )
282 282
										if($get_result['coupon_type'] == 'P')
283 283
										{
284 284
											$pr_c = $this->product_price($order->products[$i]['id']); //Fred 2003-10-28, fix for the row above, otherwise the discount is calc based on price excl VAT!
285
											$pod_amount = round($pr_c * 10) / 10 * $c_deduct / 100;
285
											$pod_amount = round($pr_c * 100) / 100 * $c_deduct / 100;
286 286
											$od_amount = $od_amount + $pod_amount;
287 287
										}
288 288
										else
    (1-1/1)