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:
parent
adfdd3b21f
commit
e1c9386bd8
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue