|
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 |
- |
|
|