From f37ecacc64e20a760019c20ed2380cdfced56895 Mon Sep 17 00:00:00 2001 From: Lucas Gass <lucas@bywatersolutions.com> Date: Thu, 7 Sep 2023 22:52:00 +0000 Subject: [PATCH] Bug 34377: Add managing librarain 1. From the patron Accounting tab > "Create manual credit". 2. From the patron Accounting tab > "Create manua 3. Go to the Transaction tab (members/boraccount.pl) and click the 'Details' button. 4. Do this for both a debit and a credit. 5. No info. about which librarain administered the credit/debit. 6. Apply patch 7. Try 3 -6 again, notice the table now shows which librarian administed the credit/debit. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> --- .../prog/en/modules/members/accountline-details.tt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt index 894e712799f..6d35df4f274 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt @@ -88,6 +88,7 @@ [% END %] <th>Amount</th> <th>Outstanding</th> + <th>Librarian</th> </tr> </thead> @@ -151,6 +152,16 @@ <td> [% accountline.amountoutstanding | $Price %] </td> + <td> + [% IF accountline.manager_id %] + <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% accountline.manager_id | uri %]"> + [% IF accountline.manager.firstname %] + [% accountline.manager.firstname | html %] [% accountline.manager.surname | html %] + [% ELSE %] + [% accountline.manager.surname | html %] + [% END %] + </a> + [% END %] </tr> </tbody> </table> -- 2.41.0