From 8b47236acd6e8427cb1bbdf88e69813a7421f6d3 Mon Sep 17 00:00:00 2001 From: Andrew Nugged Date: Thu, 10 Feb 2022 01:16:23 +0200 Subject: [PATCH] Bug 29684: (QA follow-up) paycollect.pl don't needs borrower_data at all Signed-off-by: Jonathan Druart Signed-off-by: Jonathan Druart Signed-off-by: Fridolin Somers --- koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt | 4 ++-- members/paycollect.pl | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt index a7518f86a8..d2246e4a1a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt @@ -124,7 +124,7 @@ - +
@@ -203,7 +203,7 @@ - + diff --git a/members/paycollect.pl b/members/paycollect.pl index c262869b86..3f6d1f4c8b 100755 --- a/members/paycollect.pl +++ b/members/paycollect.pl @@ -57,7 +57,6 @@ my $logged_in_user = Koha::Patrons->find( $loggedinuser ); my $patron = Koha::Patrons->find( $borrowernumber ); output_and_exit_if_error( $input, $cookie, $template, { module => 'members', logged_in_user => $logged_in_user, current_patron => $patron } ); -my $borrower = $patron->unblessed; my $account = $patron->account; my $category = $patron->category; my $user = $input->remote_user; @@ -239,8 +238,6 @@ if ( $total_paid and $total_paid ne '0.00' ) { $total_paid = '0.00'; #TODO not right with pay_individual } -$template->param(borrower_data => $borrower); - if ( $input->param('error_over') ) { $template->param( error_over => 1, total_due => scalar $input->param('amountoutstanding') ); } -- 2.39.5