From 28960958cbd573fd1b195794135168b072e5e8e2 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=utf8 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 (cherry picked from commit 89931b4bb02d6ca1796ece2647fc6104382c0b7d) Signed-off-by: Hayley Mapley (cherry picked from commit b485c28382f7acd67241fcbc08a249bd341e5106) --- 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 d2489230a8..d37a2b2b59 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt @@ -146,7 +146,7 @@ Total amount outstanding:[% amountoutstanding | format('%.2f') %] - [% description | html %] [% title | html %] + [% individual_description | html %] [% accounttype | html %] [% amount | format('%.2f') %] [% amountoutstanding | format('%.2f') %] -- 2.39.5