|
Lines 596-603
sub apply {
Link Here
|
| 596 |
|
596 |
|
| 597 |
# Attempt to renew the item associated with this debit if |
597 |
# Attempt to renew the item associated with this debit if |
| 598 |
# appropriate |
598 |
# appropriate |
| 599 |
if ($debit->renewable) { |
599 |
if ( $self->credit_type_code ne 'FORGIVEN' && $debit->renewable ) { |
| 600 |
$debit->renew_item($params->{interface}); |
600 |
$debit->renew_item( { interface => $params->{interface} } ); |
| 601 |
} |
601 |
} |
| 602 |
|
602 |
|
| 603 |
# Same logic exists in Koha::Account::pay |
603 |
# Same logic exists in Koha::Account::pay |
| 604 |
- |
|
|