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

(-)a/C4/Circulation.pm (-3 / +2 lines)
Lines 845-853 sub CanBookBeIssued { Link Here
845
845
846
    # Additional Materials Check
846
    # Additional Materials Check
847
    if ( C4::Context->preference("CircConfirmItemParts") ) {
847
    if ( C4::Context->preference("CircConfirmItemParts") ) {
848
        my $no_of_parts = $item_object->materials || 0;
848
        if ( $item_object->materials ) {
849
        if ( $no_of_parts > 0 ) {
849
            $needsconfirmation{additional_materials} = $item_object->materials;
850
            $needsconfirmation{additional_materials} = $no_of_parts;
851
        }
850
        }
852
    }
851
    }
853
852
(-)a/circ/returns.pl (-2 / +1 lines)
Lines 300-306 if ($barcode) { Link Here
300
    # Block return if multi-part and confirm has not been received
300
    # Block return if multi-part and confirm has not been received
301
    my $needs_confirm = 0;
301
    my $needs_confirm = 0;
302
    if ( C4::Context->preference("CircConfirmItemParts") ) {
302
    if ( C4::Context->preference("CircConfirmItemParts") ) {
303
        if ( $item->materials > 0 && !$query->param('multiple_confirm') ) {
303
        if ( $item->materials && !$query->param('multiple_confirm') ) {
304
                $needs_confirm = 1;
304
                $needs_confirm = 1;
305
        }
305
        }
306
    }
306
    }
307
- 

Return to bug 25261