From cf4449e23787a44dda5b1d29dc2f39a247f97b36 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 20 Feb 2015 11:31:52 +0100 Subject: [PATCH] Bug 12395: Display created_by even if firstname is missing on receiving On receiving orders, "no name" was displayed if the firstname of creator was not filled. The surname should be displayed. Signed-off-by: Paola Rossi --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt index b372baaf2c..30b0b6c2ae 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt @@ -289,10 +289,8 @@
  • - [% IF (creator && creator.firstname && creator.surname) %] - [% IF creator.firstname %] - [% creator.firstname %] - [% END %] + [% IF creator and (creator.firstname or creator.surname) %] + [% creator.firstname %] [% creator.surname %] [% ELSE %] No name -- 2.14.2