From 0d650990257a3914e3415a0f462e620a0d4a578a Mon Sep 17 00:00:00 2001 From: Petro Vashchuk Date: Mon, 17 Jan 2022 16:31:08 +0200 Subject: [PATCH] Bug 29684: fix warn about not found file js/locale_data.js To reproduce (paycollect.pl): 1) Prepare or use some existing patron with outstanding fines, go to the accounting section and open page where you make payment towards all fines. 2) The error message should have appeared in your log file about "File not found : default/js/locale_data.js". 3) Apply the patch. 4) Open the edit page again, ensure that the new error massage like that didn't appear. --- koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt | 4 ++-- members/paycollect.pl | 2 +- 2 files changed, 3 insertions(+), 3 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 938a283d7b..a7518f86a8 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 d5cbd60bfc..478602328e 100755 --- a/members/paycollect.pl +++ b/members/paycollect.pl @@ -239,7 +239,7 @@ if ( $total_paid and $total_paid ne '0.00' ) { $total_paid = '0.00'; #TODO not right with pay_individual } -$template->param(%$borrower); +$template->param(borrower_data => $borrower); if ( $input->param('error_over') ) { $template->param( error_over => 1, total_due => scalar $input->param('amountoutstanding') ); -- 2.31.1