From 3e6b86e1da5889bb31705659c0f9e91b366e4382 Mon Sep 17 00:00:00 2001
From: Andrew Isherwood <andrew.isherwood@ptfs-europe.com>
Date: Mon, 6 Jan 2020 12:04:53 +0000
Subject: [PATCH] Bug 23112: (follow-up) Address QA feedback

As per comment #46
---
 koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt
index 5088252f60..b6d736e127 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt
@@ -113,7 +113,7 @@
 
                 [% ELSIF query_type == 'check_out' and !whole.error %]
                     [% IF !whole.stage || whole.stage == 'form' %]
-                        <h1 id="ill-issue-title">Issue requested item to [% request.patron.firstname %] [% request.patron.surname %]</h1>
+                        <h1 id="ill-issue-title">Issue requested item to [% INCLUDE 'patron-title.inc' patron = request.patron %]</h1>
                         [% IF !request.biblio_id || request.biblio_id.length == 0 %]
                         <div class="alert">This item cannot be issued as it has no biblio record associated with it</div>
                         [% END %]
@@ -163,7 +163,7 @@
                                             [% IF whole.value.errors.inhouse %]
                                             <span class="required">You must choose a valid patron</span>
                                             [% END %]
-                                            <div class="hint">If you do not wish to check out the item to [% request.patron.firstname | html %] [% request.patron.surname | html %] and would rather issue it to an in-house statistical patron, choose the patron here</div>
+                                            <div class="hint">If you do not wish to check out the item to [% INCLUDE 'patron-title.inc' patron = request.patron %] and would rather issue it to an in-house statistical patron, choose the patron here</div>
                                         </li>
                                         <li class="ill_checkout_item_type">
                                             <label for="item_type" class="ill_checkout_item_type_label required">Item type:</label>
@@ -244,7 +244,7 @@
                             <ol>
                                 <li>
                                     <label>Checked out to:</label>
-                                    [% whole.value.patron.firstname | html %] [% whole.value.patron.surname | html %]
+                                    [% INCLUDE 'patron-title.inc' patron = whole.value.patron %]
                                 </li>
                                 <li>
                                     <label>Due date:</label>
@@ -720,7 +720,6 @@
     </script>
     [% INCLUDE 'ill-list-table-strings.inc' %]
     [% Asset.js("js/ill-list-table.js") | $raw %]
-    [% Asset.js("js/ill-check-out.js") | $raw %]
 [% END %]
 
 [% TRY %]
-- 
2.11.0