Lines 99-105
if ($op eq ""){
Link Here
|
99 |
"allmatch" => $allmatch, |
99 |
"allmatch" => $allmatch, |
100 |
); |
100 |
); |
101 |
import_biblios_list($template, $cgiparams->{'import_batch_id'}); |
101 |
import_biblios_list($template, $cgiparams->{'import_batch_id'}); |
102 |
if ( C4::Context->preference('AcqCreateItem') eq 'ordering' ) { |
102 |
my $basket = GetBasket($cgiparams->{basketno}); |
|
|
103 |
if ( C4::Context->preference('AcqCreateItem') eq 'ordering' && !$basket->{is_standing} ) { |
103 |
# prepare empty item form |
104 |
# prepare empty item form |
104 |
my $cell = PrepareItemrecordDisplay( '', '', '', 'ACQ' ); |
105 |
my $cell = PrepareItemrecordDisplay( '', '', '', 'ACQ' ); |
105 |
|
106 |
|
Lines 238-244
if ($op eq ""){
Link Here
|
238 |
# 4th, add items if applicable |
239 |
# 4th, add items if applicable |
239 |
# parse the item sent by the form, and create an item just for the import_record_id we are dealing with |
240 |
# parse the item sent by the form, and create an item just for the import_record_id we are dealing with |
240 |
# this is not optimised, but it's working ! |
241 |
# this is not optimised, but it's working ! |
241 |
if ( C4::Context->preference('AcqCreateItem') eq 'ordering' ) { |
242 |
my $basket = GetBasket($cgiparams->{basketno}); |
|
|
243 |
if ( C4::Context->preference('AcqCreateItem') eq 'ordering' && !$basket->{is_standing} ) { |
242 |
my @tags = $input->multi_param('tag'); |
244 |
my @tags = $input->multi_param('tag'); |
243 |
my @subfields = $input->multi_param('subfield'); |
245 |
my @subfields = $input->multi_param('subfield'); |
244 |
my @field_values = $input->multi_param('field_value'); |
246 |
my @field_values = $input->multi_param('field_value'); |