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 <david@davidnind.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
e5001c5a37
commit
2dc31f65ae
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
|||
"dt_od_checkouts":
|
||||
"[% IF data.overdues %]<span class='overdue'><strong>[% data.overdues | html %]</strong></span>[% ELSE %][% data.overdues | html %][% END %] / [% data.issues | html %]",
|
||||
"dt_fines":
|
||||
"<span style='text-align: right; display: block;'>[% IF data.fines < 0 %]<span class='credit'>[% data.fines | $Price %]</span> [% ELSIF data.fines > 0 %] <span class='debit'><strong>[% data.fines | $Price %]</strong></span> [% ELSE %] [% data.fines | $Price %] [% END %]</span>",
|
||||
"<span style='text-align: right; display: block;'><a href=\"/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% data.borrowernumber | html %]\">[% IF data.fines < 0 %] <span class='credit'>[% data.fines | $Price %]</span> [% ELSIF data.fines > 0 %] <span class='debit'><strong>[% data.fines | $Price %]</strong></span> [% ELSE %] [% data.fines | $Price %] [% END %]</a></span>",
|
||||
"dt_borrowernotes":
|
||||
"[% data.borrowernotes | html_line_break | collapse | $To %]",
|
||||
"dt_action":
|
||||
|
|
Loading…
Reference in a new issue