Lines 110-116
sub pay {
Link Here
|
110 |
} |
110 |
} |
111 |
|
111 |
|
112 |
my $patron = Koha::Patrons->find( $self->{patron_id} ); |
112 |
my $patron = Koha::Patrons->find( $self->{patron_id} ); |
113 |
my @account_offsets = $payment->credit_offsets->as_list; |
113 |
my @account_offsets = $payment->credit_offsets({ type => 'APPLY' })->as_list; |
114 |
if ( C4::Context->preference('UseEmailReceipts') ) { |
114 |
if ( C4::Context->preference('UseEmailReceipts') ) { |
115 |
if ( |
115 |
if ( |
116 |
my $letter = C4::Letters::GetPreparedLetter( |
116 |
my $letter = C4::Letters::GetPreparedLetter( |
117 |
- |
|
|