]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Controller/DeliveryOrder.pm
Vertreter-Funktion: Im Kundenstamm ausgebaut und Hinweis in M-Konfig
[mfinanz.git] / SL / Controller / DeliveryOrder.pm
index 5ebbf9d68a199ed2d8acc8109c27867fee3fbfd6..c96bc42ac5b88e2e18655b295444596a9ff180d9 100644 (file)
@@ -933,7 +933,6 @@ sub action_update_stock_information {
     stock_info => $yaml,
     stock_qty => $stock_qty,
   };
-
   $self->render(\ SL::JSON::to_json($response), { layout => 0, type => 'json', process => 0 });
 }
 
@@ -2154,7 +2153,7 @@ sub calculate_stock_in_out_from_stock_info {
     $units_by_name{$_->{unit}}->convert_to($_->{qty}, $units_by_name{$unit})
   } @$stock_info;
 
-  my $content  = _format_number($sum, 2);
+  my $content  = _format_number($sum, 2) . ' ' . $unit;
 
   return $content;
 }