Lines 28-33
use Business::ISBN;
Link Here
|
28 |
use Koha::Database; |
28 |
use Koha::Database; |
29 |
use C4::Budgets qw( GetBudget ); |
29 |
use C4::Budgets qw( GetBudget ); |
30 |
|
30 |
|
|
|
31 |
use Koha::Acquisition::Orders; |
32 |
|
31 |
Readonly::Scalar my $seg_terminator => q{'}; |
33 |
Readonly::Scalar my $seg_terminator => q{'}; |
32 |
Readonly::Scalar my $separator => q{+}; |
34 |
Readonly::Scalar my $separator => q{+}; |
33 |
Readonly::Scalar my $component_separator => q{:}; |
35 |
Readonly::Scalar my $component_separator => q{:}; |
Lines 338-344
sub name_and_address {
Link Here
|
338 |
sub order_line { |
340 |
sub order_line { |
339 |
my ( $self, $linenumber, $orderline ) = @_; |
341 |
my ( $self, $linenumber, $orderline ) = @_; |
340 |
|
342 |
|
341 |
my $basket = Koha::Acquisition::Order->find( $orderline->ordernumber )->basket; |
343 |
my $basket = Koha::Acquisition::Orders->find( $orderline->ordernumber )->basket; |
342 |
|
344 |
|
343 |
my $schema = $self->{schema}; |
345 |
my $schema = $self->{schema}; |
344 |
if ( !$orderline->biblionumber ) |
346 |
if ( !$orderline->biblionumber ) |