Bug 17171: (QA follow-up) Using patron-title.inc for names
[koha-equinox.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / circulation_batch_checkouts.tt
index 76eb7ed..281eec1 100644 (file)
               [% END %]
 
               [% IF checkout_info.alert.RETURNED_FROM_ANOTHER %]
-                  <div class="dialog alert">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.</div>
+                  <div class="dialog alert">Item was checked out to [% INCLUDE 'patron-title.inc' patron = checkout_info.alert.RETURNED_FROM_ANOTHER.patron %] and was returned automatically.</div>
               [% END %]
 
               [% IF checkout_info.IMPOSSIBLE %]