Lines 316-321
if ( $basket->{is_standing} || $orderinfo->{quantity} ne '0' ) {
Link Here
|
316 |
'ITEM'); |
316 |
'ITEM'); |
317 |
my $record=MARC::Record::new_from_xml($xml, 'UTF-8'); |
317 |
my $record=MARC::Record::new_from_xml($xml, 'UTF-8'); |
318 |
my ($barcodefield,$barcodesubfield) = GetMarcFromKohaField('items.barcode'); |
318 |
my ($barcodefield,$barcodesubfield) = GetMarcFromKohaField('items.barcode'); |
|
|
319 |
next unless ( defined $barcodefield && defined $barcodesubfield ); |
319 |
my $barcode = $record->subfield($barcodefield,$barcodesubfield) || ''; |
320 |
my $barcode = $record->subfield($barcodefield,$barcodesubfield) || ''; |
320 |
my $aBpref = C4::Context->preference('autoBarcode'); |
321 |
my $aBpref = C4::Context->preference('autoBarcode'); |
321 |
if( $barcode eq '' && $aBpref ne 'OFF'){ |
322 |
if( $barcode eq '' && $aBpref ne 'OFF'){ |
322 |
- |
|
|