- [% type || 'N/A' | html %]
+ [% IF type %][% type | html %][% ELSE %]N/A[% END %]
@@ -559,8 +559,8 @@
Request type:
- % type = request.get_type %]
- [% type || 'N/A' | html %]
+ [% type = request.get_type %]
+ [% IF type %][% type | html %][% ELSE %]N/A[% END %]
Cost:
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt
@@ -136,7 +136,9 @@
[% IF request.metadata.Title %][% request.metadata.Title | html %][% ELSE %]N/A[% END %]
[% request.backend | html %]
-
[% type || 'N/A' | html %]
+
+ [% IF type %][% type | html %][% ELSE %]N/A[% END %]
+
[% request.capabilities.$status.name | html %]
[% request.placed | $KohaDates %]
[% request.updated | $KohaDates %]
@@ -180,7 +182,7 @@
- [% type || 'N/A' | html %]
+ [% IF type %][% type | html %][% ELSE %]N/A[% END %]