From: Moritz Bunkus Date: Thu, 18 Nov 2010 07:58:21 +0000 (+0100) Subject: fxsellprice auf sellprice setzen X-Git-Tag: release-2.6.3~61^2~7^2~1^2~2^2~49 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=e86ae696818bec729a175a20af13d4ea08745ac2;p=kivitendo-erp.git fxsellprice auf sellprice setzen --- diff --git a/SL/DB/Helper/PriceTaxCalculator.pm b/SL/DB/Helper/PriceTaxCalculator.pm index 1184b6c6b..63dde450a 100644 --- a/SL/DB/Helper/PriceTaxCalculator.pm +++ b/SL/DB/Helper/PriceTaxCalculator.pm @@ -70,6 +70,7 @@ sub _calculate_item { croak("Undefined unit " . $item->unit) if !$item_unit; $item->base_qty($item_unit->convert_to($item->qty, $part_unit)); + $item->fxsellprice($item->sellprice); my $num_dec = _num_decimal_places($item->sellprice); my $discount = _round($item->sellprice * ($item->discount || 0), $num_dec);