|
Lines 899-907
sub CanBookBeIssued {
Link Here
|
| 899 |
|
899 |
|
| 900 |
# Additional Materials Check |
900 |
# Additional Materials Check |
| 901 |
if ( C4::Context->preference("CircConfirmItemParts") ) { |
901 |
if ( C4::Context->preference("CircConfirmItemParts") ) { |
| 902 |
my $no_of_parts = $item_object->materials || 0; |
902 |
if ( $item_object->materials ) { |
| 903 |
if ( $no_of_parts > 0 ) { |
903 |
$needsconfirmation{additional_materials} = $item_object->materials; |
| 904 |
$needsconfirmation{additional_materials} = $no_of_parts; |
|
|
| 905 |
} |
904 |
} |
| 906 |
} |
905 |
} |
| 907 |
|
906 |
|