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

(-)a/C4/Overdues.pm (-2 / +4 lines)
Lines 282-288 sub CalcFine { Link Here
282
        }
282
        }
283
    } # else { # a zero (or null) chargeperiod or negative units_minus_grace value means no charge. }
283
    } # else { # a zero (or null) chargeperiod or negative units_minus_grace value means no charge. }
284
284
285
    $amount = $issuing_rule->{overduefinescap} if $issuing_rule->{overduefinescap} && $amount > $issuing_rule->{overduefinescap};
285
    $amount = $issuing_rule->{overduefinescap}
286
        if $issuing_rule->{overduefinescap}
287
        && $issuing_rule->{overduefinescap} > 0
288
        && $amount > $issuing_rule->{overduefinescap};
286
289
287
    # This must be moved to Koha::Item (see also similar code in C4::Accounts::chargelostitem
290
    # This must be moved to Koha::Item (see also similar code in C4::Accounts::chargelostitem
288
    $item->{replacementprice} ||= $itemtype->defaultreplacecost
291
    $item->{replacementprice} ||= $itemtype->defaultreplacecost
289
- 

Return to bug 34279