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

(-)a/Koha/Item.pm (-1 / +1 lines)
Lines 1207-1213 sub _set_found_trigger { Link Here
1207
                    # "refund_unpaid"
1207
                    # "refund_unpaid"
1208
                    #
1208
                    #
1209
                    # In that case only unpaid/outstanding amount
1209
                    # In that case only unpaid/outstanding amount
1210
                    # will be credited wich settles the debt without
1210
                    # will be credited which settles the debt without
1211
                    # creating extra credits
1211
                    # creating extra credits
1212
1212
1213
                    my $credit_offsets = $lost_charge->debit_offsets(
1213
                    my $credit_offsets = $lost_charge->debit_offsets(
(-)a/t/db_dependent/Circulation.t (-2 / +1 lines)
Lines 3444-3450 subtest 'AddReturn | is_overdue' => sub { Link Here
3444
            $lost_fee_line->discard_changes;
3444
            $lost_fee_line->discard_changes;
3445
3445
3446
            is( int($lost_fee_line->amountoutstanding) , 0, 'The LOST amountoutstanding is zero after returning lost item with full payment' );
3446
            is( int($lost_fee_line->amountoutstanding) , 0, 'The LOST amountoutstanding is zero after returning lost item with full payment' );
3447
            is( $lost_fee_line->status, 'FOUND', 'The FOUND status was set for lost item iwth partial payment' );
3447
            is( $lost_fee_line->status, 'FOUND', 'The FOUND status was set for lost item with partial payment' );
3448
            is(
3448
            is(
3449
                int($patron->account->balance),
3449
                int($patron->account->balance),
3450
                0,
3450
                0,
3451
- 

Return to bug 20262