X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/c9076c9e1e403757845b551ee6fbc21ff2f18762..a42ab0104043c2659ec997768fd55706a6ba45bb:/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