|
Lines 101-107
sub pay {
Link Here
|
| 101 |
$fine->amountoutstanding($new_amountoutstanding)->store(); |
101 |
$fine->amountoutstanding($new_amountoutstanding)->store(); |
| 102 |
$balance_remaining = $balance_remaining - $amount_to_pay; |
102 |
$balance_remaining = $balance_remaining - $amount_to_pay; |
| 103 |
|
103 |
|
| 104 |
if ( $fine->accounttype && ( $fine->accounttype eq 'Rep' || $fine->accounttype eq 'L' ) ) |
104 |
if ( $fine->itemnumber && $fine->accounttype && ( $fine->accounttype eq 'Rep' || $fine->accounttype eq 'L' ) ) |
| 105 |
{ |
105 |
{ |
| 106 |
C4::Circulation::ReturnLostItem( $self->{patron_id}, $fine->itemnumber ); |
106 |
C4::Circulation::ReturnLostItem( $self->{patron_id}, $fine->itemnumber ); |
| 107 |
} |
107 |
} |
| 108 |
- |
|
|