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

(-)a/Koha/REST/V1/Patrons/Account.pm (-2 / +2 lines)
Lines 122-128 sub add_credit { Link Here
122
            if $date;
122
            if $date;
123
123
124
        my $debits_ids = $body->{account_lines_ids};
124
        my $debits_ids = $body->{account_lines_ids};
125
        my $debits = Koha::Account::Lines->search({ accountlines_id => { -in => $debits_ids } })
125
        my $debits;
126
        $debits = Koha::Account::Lines->search({ accountlines_id => { -in => $debits_ids } })
126
            if $debits_ids;
127
            if $debits_ids;
127
128
128
        my $outstanding_credit = $credit->amountoutstanding;
129
        my $outstanding_credit = $credit->amountoutstanding;
129
- 

Return to bug 20944