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

(-)a/Koha/EDI.pm (-1 / +16 lines)
Lines 829-834 sub quote_item { Link Here
829
                    }
829
                    }
830
                );
830
                );
831
                ++$created;
831
                ++$created;
832
833
                my $lrp =
834
                  $item->girfield( 'library_rotation_plan' );
835
                if ($lrp) {
836
                    my $rota =
837
                      Koha::StockRotationRotas->find( { title => $lrp },
838
                        { key => 'stockrotationrotas_title' } );
839
                    if ($rota) {
840
                        $rota->add_item($itemnumber);
841
                        $logger->trace("Item added to rota $rota->id");
842
                    }
843
                    else {
844
                        $logger->error(
845
                            "No rota found matching $lrp in orderline");
846
                    }
847
                }
832
            }
848
            }
833
        }
849
        }
834
    }
850
    }
835
- 

Return to bug 35398