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

(-)a/C4/Overdues.pm (-2 / +1 lines)
Lines 557-563 sub UpdateFine { Link Here
557
    # - accumulate fines for other items
557
    # - accumulate fines for other items
558
    # so we can update $itemnum fine taking in account fine caps
558
    # so we can update $itemnum fine taking in account fine caps
559
    while (my $overdue = $overdues->next) {
559
    while (my $overdue = $overdues->next) {
560
        if ( defined $overdue->issue_id && $overdue->issue_id == $issue_id && $overdue->status eq 'UNRETURNED' ) {
560
        if ( defined $overdue->issue_id && $overdue->issue_id == $issue_id && ($overdue->status eq 'UNRETURNED' || $overdue->status eq 'LOST') ) {
561
            if ($accountline) {
561
            if ($accountline) {
562
                Koha::Logger->get->debug("Not a unique accountlines record for issue_id $issue_id"); # FIXME Do we really need to log that?
562
                Koha::Logger->get->debug("Not a unique accountlines record for issue_id $issue_id"); # FIXME Do we really need to log that?
563
                #FIXME Should we still count this one in total_amount ??
563
                #FIXME Should we still count this one in total_amount ??
564
- 

Return to bug 31060