[% BLOCK options_for_libraries %] [% FOREACH l IN libraries %] [% IF l.selected %] [% ELSE %] [% END%] [% END %] [% END %] [% BLOCK options_for_desks %] [% FOREACH d IN desks %] [% IF d.branchcode == branch %] [% IF selected == d.desk_id %] [% ELSE %] [% END %] [% ELSE %] [% END %] [% END %] [% END %] [% BLOCK options_for_registers %] [% FOREACH r IN registers %] [% IF r.branch == Branches.GetLoggedInBranchcode %] [% IF r.selected %] [% ELSE %] [% END%] [% ELSE %] [% END %] [% END %] [% END %] [% BLOCK options_for_authorised_value_categories %] [% FOREACH avc IN authorised_value_categories %] [% IF avc.selected %] [% ELSE %] [% END %] [% END %] [% END %] [% BLOCK options_for_authorised_values %] [% FOREACH av IN authorised_values %] [% IF av.authorised_value == selected_av %] [% ELSE %] [% END %] [% END %] [% END %] [% BLOCK options_for_item_types %] [% FOREACH itemtype IN itemtypes %] [% IF itemtype.itemtype == selected_itemtype %] [% END %] [% END %] [% BLOCK subfields_for_item %]
Show/hide columns: [% FOREACH header IN item_header_loop %] [% END %]
[% END %] | Title | Holds | [% FOREACH item_header IN headers %] [% IF item_header.column_name %][% ELSE %] | [% END %] [% item_header.header_value | html %] | [% END %]||||
---|---|---|---|---|---|---|---|---|
Cannot edit | [% ELSE %][% END %] [% ELSIF checkboxes_delete %] [% UNLESS can_be_edited %] | Cannot delete | [% ELSE %] [% IF item.safe_to_delete %][% ELSE %] [% SET messages = item.safe_to_delete.messages %] [% FOR m IN messages %] [% SWITCH m.message %] [% CASE "book_on_loan" %][% SET cannot_delete_reason = t("Item is checked out") %] [% CASE "not_same_branch" %][% SET cannot_delete_reason = t("Item does not belong to your library") %] [% CASE "book_reserved" %][% SET cannot_delete_reason = t("Item has a waiting hold") %] [% CASE "linked_analytics" %][% SET cannot_delete_reason = t("Item has linked analytics") %] [% CASE "last_item_for_hold" %][% SET cannot_delete_reason = t("Last item for bibliographic record with biblio-level hold on it") %] [% CASE %][% SET cannot_delete_reason = t("Unknown reason") _ '(' _ m.message _ ')' %] [% END %] [% END %] | [% END %] [% END %] [% END %] | [% IF item.holds %] [% IF item.item_holds %] [% ELSE %] [% END %] [% ELSE %] [% IF item.holds %] [% ELSE %] [% END %] [% END # /IF item.holds %] [% IF item.holds %] [% item.item_holds | html %]/[% item.holds | html %] [% ELSE %] [% item.holds | html %] [% END %] | [% FOREACH header IN headers %] [% SET attribute = header.attribute %] [% IF header.attribute AND date_fields.grep('^' _ attribute _ '$').size %][% item.$attribute | $KohaDates %] | [% ELSE %][% item.$attribute | html %] | [% END %] [% END %]