From ce5a6611f8664352d0bf1f838b67b2e3feb0052e 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: Lucas Gass --- koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 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 78ee2ed934..e433fa3529 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt @@ -155,8 +155,8 @@ Total amount outstanding:[% amountoutstanding | format('%.2f') %] - [% description | html %] [% title | html %] - [% accounttype | html %] + [% individual_description | html %] + [% debit_type_code | html %] [% amount | format('%.2f') %] [% amountoutstanding | format('%.2f') %] -- 2.39.2