From 69576a1dee4222e6d63b5fa3a7b64e646abb97ca Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 20 Feb 2015 11:31:52 +0100 Subject: [PATCH 6/6] 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 121d046..a95f0a9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt @@ -282,10 +282,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 -- 1.7.10.4