X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/79c048aa6a9699c5a994d7e21f4fd3ec8fa29693..fe6275f8eff9e0bab568cb6eba5ed70662148a88:/SL/IS.pm diff --git a/SL/IS.pm b/SL/IS.pm index 8a94ec6b4..2db51a5ae 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -376,6 +376,8 @@ sub invoice_details { $form->{totalweight} = $form->format_amount($myconfig, $totalweight, 3); $form->{totalweight_nofmt} = $totalweight; + my $defaults = AM->get_defaults(); + $form->{weightunit} = $defaults->{weightunit}; foreach my $item (sort keys %taxaccounts) { $tax += $taxamount = $form->round_amount($taxaccounts{$item}, 2);