From 2c6bdf8d0003da8ab40d4ba7378013c575245d0f Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Mon, 1 Apr 2019 19:38:17 +0000 Subject: [PATCH] Bug 17171: (QA Follow up) Using patron-title.inc for names Signed-off-by: Liz Rea --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 2 +- .../intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index 52ba77c2e2..1706c82d12 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -75,7 +75,7 @@ [% END %] [% IF alert.RETURNED_FROM_ANOTHER %] -
Item was checked out to [% alert.RETURNED_FROM_ANOTHER.patron.firstname %] [% alert.RETURNED_FROM_ANOTHER.patron.surname %] ([% alert.RETURNED_FROM_ANOTHER.patron.cardnumber %]) and was returned automatically.
+
Item was checked out to [% INCLUDE 'patron-title.inc' patron=alert.RETURNED_FROM_ANOTHER.patron %] ([% alert.RETURNED_FROM_ANOTHER.patron.cardnumber %]) and was returned automatically.
[% END %] [% IF ( nopermission ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt index 76eb7ed83c..afba264ba2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt @@ -199,7 +199,7 @@ [% END %] [% IF checkout_info.alert.RETURNED_FROM_ANOTHER %] -
Item was checked out to [% alert.RETURNED_FROM_ANOTHER.patron.firstname %] [% alert.RETURNED_FROM_ANOTHER.patron.surname %] ([% alert.RETURNED_FROM_ANOTHER.patron.cardnumber %]) and was returned automatically.
+
Item was checked out to [% INCLUDE 'patron-title.inc' patron=checkout_info.alert.RETURNED_FROM_ANOTHER.patron %] and was returned automatically.
[% END %] [% IF checkout_info.IMPOSSIBLE %] -- 2.11.0