|
Lines 54-59
use Koha::Import::Records;
Link Here
|
| 54 |
use Koha::Acquisition::Currencies; |
54 |
use Koha::Acquisition::Currencies; |
| 55 |
use Koha::Acquisition::Booksellers; |
55 |
use Koha::Acquisition::Booksellers; |
| 56 |
use Koha::Acquisition::Baskets; |
56 |
use Koha::Acquisition::Baskets; |
|
|
57 |
use Koha::Plugins; |
| 57 |
|
58 |
|
| 58 |
=head1 NAME |
59 |
=head1 NAME |
| 59 |
|
60 |
|
|
Lines 691-697
sub add_items_from_import_record {
Link Here
|
| 691 |
} |
692 |
} |
| 692 |
|
693 |
|
| 693 |
$order_detail_hash{uncertainprice} = 0 if $order_detail_hash{listprice}; |
694 |
$order_detail_hash{uncertainprice} = 0 if $order_detail_hash{listprice}; |
|
|
695 |
Koha::Plugins->call( |
| 696 |
'before_orderline_create', |
| 697 |
{ |
| 698 |
marcrecord => $marcrecord, |
| 699 |
orderline => \%order_detail_hash, |
| 700 |
marcfields => $marc_fields_to_order |
| 701 |
} |
| 702 |
); |
| 694 |
push @order_line_details, \%order_detail_hash; |
703 |
push @order_line_details, \%order_detail_hash; |
|
|
704 |
|
| 695 |
} |
705 |
} |
| 696 |
} |
706 |
} |
| 697 |
|
707 |
|
| 698 |
- |
|
|