From 2dc31f65aef1357d98c20872eaa9a2a6f3b98beb Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 16 Apr 2020 00:29:57 +0200 Subject: [PATCH] Bug 14229: Add link from patron search results fine to accounting tab in patron account This adds a link to the accounting tab from the patron search results by making the amount in the Fines column clickable. To test: - Make sure you have some patrons with fines, credits and 0,00 - Search for your patrons using the patron search, make sure you get more than one result for your search - Check the results table - the amount should always be linked and lead to the patron account accounting > transactions tab. Signed-off-by: David Nind Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize --- .../prog/en/modules/members/tables/members_results.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt index 2c047fd8f5..063a45ff5f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt @@ -29,7 +29,7 @@ "dt_od_checkouts": "[% IF data.overdues %][% data.overdues | html %][% ELSE %][% data.overdues | html %][% END %] / [% data.issues | html %]", "dt_fines": - "[% IF data.fines < 0 %][% data.fines | $Price %] [% ELSIF data.fines > 0 %] [% data.fines | $Price %] [% ELSE %] [% data.fines | $Price %] [% END %]", + "[% IF data.fines < 0 %] [% data.fines | $Price %] [% ELSIF data.fines > 0 %] [% data.fines | $Price %] [% ELSE %] [% data.fines | $Price %] [% END %]", "dt_borrowernotes": "[% data.borrowernotes | html_line_break | collapse | $To %]", "dt_action": -- 2.39.5