Bug 29670: Fix EDI for AcqCreateItem = 'placing on order'
The AcqCreatItem at order time functionality was broken by bug 27708. This patch resolves that. Test plan. 1) Run the newly created unit tests that prove both settings work Signed-off-by: Jonathan Field <jonathan.field@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
91b8f990ae
commit
2bd3f876f1
|
|
@ -389,17 +389,17 @@ sub order_line {
|
|||
my $i_obj = $schema->resultset('Item')->find( $item->itemnumber );
|
||||
if ( defined $i_obj ) {
|
||||
push @items, {
|
||||
branchcode => $item->{branchcode},
|
||||
itype => $item->{itype},
|
||||
location => $item->{location},
|
||||
itemcallnumber => $item->{itemcallnumber},
|
||||
branchcode => $i_obj->get_column('homebranch'),
|
||||
itype => $i_obj->effective_itemtype,
|
||||
location => $i_obj->location,
|
||||
itemcallnumber => $i_obj->itemcallnumber,
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
my $item_hash = {
|
||||
itemtype => $biblioitem->itemtype,
|
||||
itype => $biblioitem->itemtype,
|
||||
itemcallnumber => $biblioitem->cn_class,
|
||||
};
|
||||
my $branch = $orderline->basketno->deliveryplace;
|
||||
|
|
|
|||
Loading…
Reference in New Issue