]> wagnertech.de Git - mfinanz.git/blobdiff - SL/IS.pm
Unnötige Hiddens entfernen
[mfinanz.git] / SL / IS.pm
index 8a94ec6b47f4ee9313cdc4cbf4c51351d52336da..2db51a5aed381d98fcc8d1da34f2ca1fca2d4188 100644 (file)
--- 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);