View | Details | Raw Unified | Return to bug 25261
Collapse All | Expand All

(-)a/C4/Circulation.pm (-3 / +2 lines)
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
(-)a/circ/returns.pl (-2 / +1 lines)
Lines 297-303 if ($barcode) { Link Here
297
    # Block return if multi-part and confirm has not been received
297
    # Block return if multi-part and confirm has not been received
298
    my $needs_confirm = 0;
298
    my $needs_confirm = 0;
299
    if ( C4::Context->preference("CircConfirmItemParts") ) {
299
    if ( C4::Context->preference("CircConfirmItemParts") ) {
300
        if ( $item->materials > 0 && !$query->param('multiple_confirm') ) {
300
        if ( $item->materials && !$query->param('multiple_confirm') ) {
301
                $needs_confirm = 1;
301
                $needs_confirm = 1;
302
        }
302
        }
303
    }
303
    }
304
- 

Return to bug 25261