From 161bcc9b793e03d0d2ed02853c49b84d109ce7f8 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 --- 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 a7518f86a87..d2246e4a1a6 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 c262869b861..3f6d1f4c8ba 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.25.1