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

(-)a/Koha/Item.pm (-1 / +1 lines)
Lines 1148-1154 sub _set_found_trigger { Link Here
1148
                    # "refund_unpaid"
1148
                    # "refund_unpaid"
1149
                    #
1149
                    #
1150
                    # In that case only unpaid/outstanding amount
1150
                    # In that case only unpaid/outstanding amount
1151
                    # will be credited wich settles the debt without
1151
                    # will be credited which settles the debt without
1152
                    # creating extra credits
1152
                    # creating extra credits
1153
1153
1154
                    my $credit_offsets = $lost_charge->debit_offsets(
1154
                    my $credit_offsets = $lost_charge->debit_offsets(
(-)a/t/db_dependent/Circulation.t (-2 / +1 lines)
Lines 3399-3405 subtest 'AddReturn | is_overdue' => sub { Link Here
3399
            $lost_fee_line->discard_changes;
3399
            $lost_fee_line->discard_changes;
3400
3400
3401
            is( int($lost_fee_line->amountoutstanding) , 0, 'The LOST amountoutstanding is zero after returning lost item with full payment' );
3401
            is( int($lost_fee_line->amountoutstanding) , 0, 'The LOST amountoutstanding is zero after returning lost item with full payment' );
3402
            is( $lost_fee_line->status, 'FOUND', 'The FOUND status was set for lost item iwth partial payment' );
3402
            is( $lost_fee_line->status, 'FOUND', 'The FOUND status was set for lost item with partial payment' );
3403
            is(
3403
            is(
3404
                int($patron->account->balance),
3404
                int($patron->account->balance),
3405
                0,
3405
                0,
3406
- 

Return to bug 20262