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