@@ -, +, @@ --- .../intranet-tmpl/prog/en/modules/circ/article-requests.tt | 11 +++++++++++ 1 file changed, 11 insertions(+) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt @@ -42,6 +42,13 @@ [% END %] +[% BLOCK item_status %] + [% IF myitem.onloan %]Checked out + [% ELSIF myitem.holds({ found => ['W', 'T'] }).count > 0 %]On hold + [% ELSIF myitem.notforloan > 0 OR myitem.itemtype({ effective => 1 }).notforloan %]Not for loan + [% ELSIF myitem.notforloan < 0 %]On order + [% END %] +[% END %] [% INCLUDE 'header.inc' %] @@ -107,6 +114,7 @@ Collection Item type Call number + Status Copy number Enumeration Barcode @@ -176,6 +184,7 @@ [% ar.item.itemcallnumber | html %] + [% PROCESS 'item_status' myitem = ar.item IF ar.item %] [% ar.item.copynumber | html %] [% ar.item.enumchron | html %] [% ar.item.barcode | html %] @@ -212,6 +221,7 @@ Collection Item type Call number + Status Copy number Enumeration Barcode @@ -281,6 +291,7 @@ [% ar.item.itemcallnumber | html %] + [% PROCESS 'item_status' myitem = ar.item IF ar.item %] [% ar.item.copynumber | html %] [% ar.item.enumchron | html %] [% ar.item.barcode | html %] --