@@ -, +, @@ loan value in OPAC detail page --- koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc +++ a/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc @@ -91,10 +91,10 @@ [% END %] -[% SET restricted_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => item.withdrawn, opac => 1 ) %] +[% SET restricted_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.restricted', authorised_value => item.restricted, opac => 1 ) %] [% IF item.notforloan %] [% SET itemavailable = 0 %] - [% notforloan_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => item.withdrawn, opac => 1 ) %] + [% notforloan_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan, opac => 1 ) %] [% IF notforloan_lib %] [% notforloan_lib | html %] [% IF restricted_lib %]([% restricted_lib | html %])[% END %] [% ELSE %] @@ -103,6 +103,10 @@ [% ELSIF item.itemtype.notforloan %] [% SET itemavailable = 0 %] Not for loan [% IF restricted_lib %]([% restricted_lib | html %])[% END %] +[% ELSE %] + [% IF restricted_lib %] + [% restricted_lib | html %] + [% END %] [% END %] [% IF ( item.bundle_host ) %] --