Bugzilla – Attachment 162288 Details for
Bug 36088
Remove useless code form opac-account-pay.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36088 - Remove useless code form opac-account-pay.pl
Bug-36088---Remove-useless-code-form-opac-account-.patch (text/plain), 1.32 KB, created by
Pedro Amorim
on 2024-02-20 09:55:04 UTC
(
hide
)
Description:
Bug 36088 - Remove useless code form opac-account-pay.pl
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-02-20 09:55:04 UTC
Size:
1.32 KB
patch
obsolete
>From 4ed71d4d6c14f85e3f1f0d24b1fa690102231c27 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 13 Feb 2024 15:04:53 -0500 >Subject: [PATCH] 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> >--- > opac/opac-account-pay.pl | 9 --------- > 1 file changed, 9 deletions(-) > >diff --git a/opac/opac-account-pay.pl b/opac/opac-account-pay.pl >index 30be841dfcb..f5cc3d817a1 100755 >--- a/opac/opac-account-pay.pl >+++ b/opac/opac-account-pay.pl >@@ -54,15 +54,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, >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36088
:
162128
|
162251
|
162288
|
162289