Lines 168-173
sub pay {
Link Here
|
168 |
$fine->amountoutstanding( $old_amountoutstanding - $amount_to_pay ); |
168 |
$fine->amountoutstanding( $old_amountoutstanding - $amount_to_pay ); |
169 |
$fine->store(); |
169 |
$fine->store(); |
170 |
|
170 |
|
|
|
171 |
if ( $fine->itemnumber && $fine->accounttype && ( $fine->accounttype eq 'Rep' || $fine->accounttype eq 'L' ) ) |
172 |
{ |
173 |
C4::Circulation::ReturnLostItem( $self->{patron_id}, $fine->itemnumber ); |
174 |
} |
175 |
|
171 |
my $account_offset = Koha::Account::Offset->new( |
176 |
my $account_offset = Koha::Account::Offset->new( |
172 |
{ |
177 |
{ |
173 |
debit_id => $fine->id, |
178 |
debit_id => $fine->id, |
174 |
- |
|
|