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 <paola.rossi@cineca.it>
Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2015-02-20 11:31:52 +01:00 committed by Nick Clemens
parent adfdd3b21f
commit e1c9386bd8
1 changed files with 2 additions and 4 deletions

View File

@ -176,10 +176,8 @@
<li>
<label for="creator">Created by: </label>
<span>
[% 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