projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7074eea
)
DeliveryOrder: richtige Werte im stock Dialog anzeigen
author
Sven Schöling
<s.schoeling@googlemail.com>
Mon, 31 Jan 2022 07:39:53 +0000
(08:39 +0100)
committer
Jan Büren
<jan@kivitendo.de>
Mon, 14 Feb 2022 14:04:13 +0000
(15:04 +0100)
SL/Controller/DeliveryOrder.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/DeliveryOrder.pm
b/SL/Controller/DeliveryOrder.pm
index
7997d3e
..
79931fd
100644
(file)
--- 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);
}
}