View | Details | Raw Unified | Return to bug 29670
Collapse All | Expand All

(-)a/Koha/Edifact/Order.pm (-6 / +5 lines)
Lines 389-405 sub order_line { Link Here
389
            my $i_obj = $schema->resultset('Item')->find( $item->itemnumber );
389
            my $i_obj = $schema->resultset('Item')->find( $item->itemnumber );
390
            if ( defined $i_obj ) {
390
            if ( defined $i_obj ) {
391
                push @items, {
391
                push @items, {
392
                    branchcode     => $item->{branchcode},
392
                    branchcode     => $i_obj->get_column('homebranch'),
393
                    itype          => $item->{itype},
393
                    itype          => $i_obj->effective_itemtype,
394
                    location       => $item->{location},
394
                    location       => $i_obj->location,
395
                    itemcallnumber => $item->{itemcallnumber},
395
                    itemcallnumber => $i_obj->itemcallnumber,
396
                };
396
                };
397
            }
397
            }
398
        }
398
        }
399
    }
399
    }
400
    else {
400
    else {
401
        my $item_hash = {
401
        my $item_hash = {
402
            itemtype       => $biblioitem->itemtype,
402
            itype          => $biblioitem->itemtype,
403
            itemcallnumber => $biblioitem->cn_class,
403
            itemcallnumber => $biblioitem->cn_class,
404
        };
404
        };
405
        my $branch = $orderline->basketno->deliveryplace;
405
        my $branch = $orderline->basketno->deliveryplace;
406
- 

Return to bug 29670