|
Lines 54-68
my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
Link Here
|
| 54 |
} |
54 |
} |
| 55 |
); |
55 |
); |
| 56 |
|
56 |
|
| 57 |
my $amount_to_pay = |
|
|
| 58 |
Koha::Database->new()->schema()->resultset('Accountline')->search( { accountlines_id => { -in => \@accountlines } } ) |
| 59 |
->get_column('amountoutstanding')->sum(); |
| 60 |
$amount_to_pay = sprintf( "%.2f", $amount_to_pay ); |
| 61 |
|
| 62 |
my $active_currency = Koha::Acquisition::Currencies->get_active; |
| 63 |
|
| 64 |
my $error = 0; |
| 65 |
|
| 66 |
Koha::Plugins::Handler->run( |
57 |
Koha::Plugins::Handler->run( |
| 67 |
{ |
58 |
{ |
| 68 |
class => $payment_method, |
59 |
class => $payment_method, |
| 69 |
- |
|
|