From c6058953da3a486fbf09aa8950c68c62a532c802 Mon Sep 17 00:00:00 2001 From: Josef Moravec Date: Fri, 16 Feb 2018 09:57:48 +0000 Subject: [PATCH] Bug 18789: (QA follow-up) Fix showing patron name when checking in Test plan: 1) Have a patron with more then one checkouts 2) Check in one of the checkouts --> without patch patron name is not shown in checked-in items table --> with patch the patron is shown with name, category, number of checkouts and both links are working Signed-off-by: Josef Moravec Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 6395eb5413..2d4f805017 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -657,20 +657,20 @@ [% riloo.dateaccessioned | $KohaDates %] [% ItemTypes.GetDescription( riloo.itemtype ) %] [% AuthorisedValues.GetByCode('CCODE', riloo.ccode) %] [% IF ( riloo.duedate ) %] - - [% riloo.borsurname %], [% riloo.borfirstname %] ([% riloo.borcategorycode %]) + + [% riloo.patron.surname %], [% riloo.patron.firstname %] ([% riloo.patron.category.description %]) [% IF riloo.borissuescount %] Checkouts: - [% riloo.borissuescount %] + [% riloo.borissuescount %] [% END %] [% ELSE %]Not checked out[% END %] - [% IF ( riloo.bornote ) %]

[% riloo.bornote %]

[% END %] + [% IF ( riloo.patron.borrowernotes ) %]

[% riloo.patron.borrowernotes %]

[% END %] [% IF ( riloo.itemnote ) %]

[% riloo.itemnote %]

[% END %] [% IF ( riloo.itemnotes_nonpublic ) %]

[% riloo.itemnotes_nonpublic %]

[% END %] -- 2.39.5