Lines 158-163
if ( $total_paid and $total_paid ne '0.00' ) {
Link Here
|
158 |
{ |
158 |
{ |
159 |
type => $type, |
159 |
type => $type, |
160 |
amount => $total_paid, |
160 |
amount => $total_paid, |
|
|
161 |
library_id => $branch, |
161 |
lines => \@lines, |
162 |
lines => \@lines, |
162 |
note => $note, |
163 |
note => $note, |
163 |
interface => C4::Context->interface, |
164 |
interface => C4::Context->interface, |
Lines 170-175
if ( $total_paid and $total_paid ne '0.00' ) {
Link Here
|
170 |
Koha::Account->new( { patron_id => $borrowernumber } )->pay( |
171 |
Koha::Account->new( { patron_id => $borrowernumber } )->pay( |
171 |
{ |
172 |
{ |
172 |
amount => $total_paid, |
173 |
amount => $total_paid, |
|
|
174 |
library_id => $branch, |
173 |
note => $note, |
175 |
note => $note, |
174 |
payment_type => $payment_type, |
176 |
payment_type => $payment_type, |
175 |
interface => C4::Context->interface |
177 |
interface => C4::Context->interface |
176 |
- |
|
|