X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/f03134bc436d7969247da0986809afc1567ae21b..aa8bfdd2331283841bb804a991b251ab5d72c0b8:/SL/Controller/Order.pm diff --git a/SL/Controller/Order.pm b/SL/Controller/Order.pm index 52577bd1b..f6afed9a8 100644 --- a/SL/Controller/Order.pm +++ b/SL/Controller/Order.pm @@ -1383,7 +1383,7 @@ sub recalc { tax => $tax }); } - pairwise { $a->{linetotal} = $b->{linetotal} } @{$self->order->items}, @{$pat{items}}; + pairwise { $a->{linetotal} = $b->{linetotal} } @{$self->order->items_sorted}, @{$pat{items}}; } # get data for saving, printing, ..., that is not changed in the form