Bugzilla – Attachment 103222 Details for
Bug 14229
Link to accounting tab from fines column in patron search results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14229: Add link from patron search results fine to accounting tab in patron account
Bug-14229-Add-link-from-patron-search-results-fine.patch (text/plain), 2.32 KB, created by
David Nind
on 2020-04-19 19:20:11 UTC
(
hide
)
Description:
Bug 14229: Add link from patron search results fine to accounting tab in patron account
Filename:
MIME Type:
Creator:
David Nind
Created:
2020-04-19 19:20:11 UTC
Size:
2.32 KB
patch
obsolete
>From 2072737004ec6dbddad669033c76edc5d981f42e Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >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 <david@davidnind.com> >--- > .../intranet-tmpl/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 %]<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": >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14229
:
103041
|
103043
|
103222
|
103259
|
103260