From a68dfdee87bf340bf93577e7b4d494d4848cb105 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 3 Nov 2019 22:48:04 +0000 Subject: [PATCH] Bug 23483: Show the description, not the patron's title when writing off an individual fine/fee MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When writing off an individual fine, the description shown was the patron's title, instead of the fine description. Fixing it by changing it to the same template variable used for paying individuals so they match up. To test: - Pick a patron and make sure salutation is set (Mr, Mrs, ...) - Create a manual fine - For the fine, compare the description shown when using the Writeoff and Pay buttons next to the fine - Verify the display is different and writeoff displays the salutation - Apply patch - Repeat, descriptions now should match up Signed-off-by: Séverine QUEUNE Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 bc0cefa0d9..a71eecaf2c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt @@ -178,7 +178,7 @@ Total amount outstanding:[% amountoutstanding | format('%.2f') %] - [% description | html %] [% title | html %] + [% individual_description | html %] [% debit_type_code | html %] [% amount | format('%.2f') %] [% amountoutstanding | format('%.2f') %] -- 2.20.1