Lines 268-278
sub pay {
Link Here
|
268 |
letter_code => uc("ACCOUNT_$type"), |
268 |
letter_code => uc("ACCOUNT_$type"), |
269 |
message_transport_type => 'email', |
269 |
message_transport_type => 'email', |
270 |
lang => Koha::Patrons->find( $self->{patron_id} )->lang, |
270 |
lang => Koha::Patrons->find( $self->{patron_id} )->lang, |
271 |
objects => { |
271 |
tables => { |
272 |
patron => scalar Koha::Patrons->find( $self->{patron_id} ), |
272 |
borrowers => $self->{patron_id}, |
273 |
library => scalar Koha::Libraries->find( $self->{library_id} ), |
273 |
branches => $self->{library_id}, |
274 |
offsets => \@account_offsets, |
274 |
}, |
275 |
credit => $payment, |
275 |
substitute => { |
|
|
276 |
credit => $payment, |
277 |
offsets => scalar Koha::Account::Offsets->search( { id => { -in => [ map { $_->id } @account_offsets ] } } ), |
276 |
}, |
278 |
}, |
277 |
) |
279 |
) |
278 |
) |
280 |
) |
279 |
- |
|
|