Lines 881-889
sub CanBookBeIssued {
Link Here
|
881 |
|
881 |
|
882 |
# Additional Materials Check |
882 |
# Additional Materials Check |
883 |
if ( C4::Context->preference("CircConfirmItemParts") ) { |
883 |
if ( C4::Context->preference("CircConfirmItemParts") ) { |
884 |
my $no_of_parts = $item_object->materials || 0; |
884 |
if ( $item_object->materials ) { |
885 |
if ( $no_of_parts > 0 ) { |
885 |
$needsconfirmation{additional_materials} = $item_object->materials; |
886 |
$needsconfirmation{additional_materials} = $no_of_parts; |
|
|
887 |
} |
886 |
} |
888 |
} |
887 |
} |
889 |
|
888 |
|