DeliveryOrder: ungenutzte Zeile
authorSven Schöling <s.schoeling@googlemail.com>
Fri, 17 Dec 2021 16:05:25 +0000 (17:05 +0100)
committerJan Büren <jan@kivitendo.de>
Mon, 14 Feb 2022 14:02:19 +0000 (15:02 +0100)
SL/Controller/DeliveryOrder.pm

index 1f53fc5..9685d3a 100644 (file)
@@ -2131,7 +2131,6 @@ sub calculate_stock_in_out {
     $_->unit_obj->convert_to($_->qty, $item->unit_obj)
   } $item->delivery_order_stock_entries;
 
-  my $matches  = $do_qty == $sum;
   my $content  = _format_number_units($sum, 2, $item->unit_obj, $item->part->unit_obj);
 
   return $content;