From: Sven Schöling Date: Mon, 31 Jan 2022 07:39:53 +0000 (+0100) Subject: DeliveryOrder: richtige Werte im stock Dialog anzeigen X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~216^2~16 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=d8b90e8d02961440c0c0838692a0d352a8fac8ec;p=kivitendo-erp.git DeliveryOrder: richtige Werte im stock Dialog anzeigen --- diff --git a/SL/Controller/DeliveryOrder.pm b/SL/Controller/DeliveryOrder.pm index 7997d3e6d..79931fd89 100644 --- a/SL/Controller/DeliveryOrder.pm +++ b/SL/Controller/DeliveryOrder.pm @@ -959,8 +959,8 @@ sub merge_stock_data { } else { for my $sinfo (@{ $stock_info }) { my $bin = SL::DB::Bin->load_cached($sinfo->{bin_id}); - $sinfo->{warehouse_description} = $bin->warehouse->description; - $sinfo->{bin_description} = $bin->description; + $sinfo->{warehousedescription} = $bin->warehouse->description; + $sinfo->{bindescription} = $bin->description; map { $sinfo->{"stock_$_"} = $sinfo->{$_} } qw(qty unit); } }