From 4cbb1e18de34bda8803fd6fb92300918ba2ccf8e Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Thu, 20 Feb 2025 11:51:47 +0000 Subject: [PATCH] Bug 32630: Update patron attribute display Only show this attribute if defined --- .../prog/en/modules/ill/ill-requests.tt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 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 1801b777942..c97a6ca7f6b 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 @@ -571,11 +571,13 @@ [% request.orderid | html %] [% END %] -
  • - Patron: - [% borrowerlink = "/cgi-bin/koha/members/moremember.pl" _ "?borrowernumber=" _ request.patron.borrowernumber %] - [% request.patron.firstname _ " " _ request.patron.surname _ " [" _ request.patron.cardnumber _ "]" | html %] -
  • + [% IF request.borrowernumber %] +
  • + Patron: + [% borrowerlink = "/cgi-bin/koha/members/moremember.pl" _ "?borrowernumber=" _ request.patron.borrowernumber %] + [% request.patron.firstname _ " " _ request.patron.surname _ " [" _ request.patron.cardnumber _ "]" | html %] +
  • + [% END %] [% IF request.biblio_id %]
  • Bibliographic record ID: -- 2.39.5