Bug 36088: Remove useless code form opac-account-pay.pl
The script opac-account-pay.pl sums the selected accountlines, formats the amount, pulls the currently active currency, and does nothing with any of this data. Test Plan: 1) Apply this patch 2) Restart all the things! 3) Note there is no change in behavior Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> PA amended title (missing 'Bug ####:' Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
f3feebbfe9
commit
dd7ac62d3f
1 changed files with 0 additions and 9 deletions
|
@ -60,15 +60,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
|
|||
}
|
||||
);
|
||||
|
||||
my $amount_to_pay =
|
||||
Koha::Database->new()->schema()->resultset('Accountline')->search( { accountlines_id => { -in => \@accountlines } } )
|
||||
->get_column('amountoutstanding')->sum();
|
||||
$amount_to_pay = sprintf( "%.2f", $amount_to_pay );
|
||||
|
||||
my $active_currency = Koha::Acquisition::Currencies->get_active;
|
||||
|
||||
my $error = 0;
|
||||
|
||||
Koha::Plugins::Handler->run(
|
||||
{
|
||||
class => $payment_method,
|
||||
|
|
Loading…
Reference in a new issue