Lines 456-462
if ($op eq "additem") {
Link Here
|
456 |
} |
456 |
} |
457 |
|
457 |
|
458 |
# if autoBarcode is set to 'incremental', calculate barcode... |
458 |
# if autoBarcode is set to 'incremental', calculate barcode... |
459 |
if ( not $item->barcode && C4::Context->preference('autoBarcode') eq 'incremental' ) { |
459 |
if ( !$item->barcode && C4::Context->preference('autoBarcode') eq 'incremental' ) { |
460 |
my ( $barcode ) = C4::Barcodes::ValueBuilder::incremental::get_barcode; |
460 |
my ( $barcode ) = C4::Barcodes::ValueBuilder::incremental::get_barcode; |
461 |
$item->barcode($barcode); |
461 |
$item->barcode($barcode); |
462 |
} |
462 |
} |
463 |
- |
|
|