[% USE Koha %] [% USE AuthorisedValues %] [% USE Price %] [% INCLUDE 'doc-head-open.inc' %] Koha › Administration › Item types [% IF op == 'add_form' %]› [% IF ( itemtype ) %] Modify item type '[% itemtype.itemtype %]' [% ELSE %] Add item type [% END %] [% END %] [% IF op == 'delete_confirm' %]› [% IF ( total ) %] Cannot delete item type '[% itemtype.itemtype %]' [% ELSE %] Delete item type '[% itemtype.itemtype %]'? [% END %] [% END %] [% IF op == 'delete_confirmed' %]› Data deleted [% END %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'greybox.inc' %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %]
[% IF op == 'list' %][% END %] [% FOREACH m IN messages %]
[% SWITCH m.code %] [% CASE 'error_on_update' %] An error occurred when updating this item type. Perhaps the value already exists. [% CASE 'error_on_insert' %] An error occurred when inserting this item type. Perhaps the value already exists. [% CASE 'error_on_delete' %] An error occurred when deleting this item type. Check the logs. [% CASE 'success_on_update' %] Item type updated successfully. [% CASE 'success_on_insert' %] Item type inserted successfully. [% CASE 'success_on_delete' %] Item type deleted successfully. [% CASE 'already_exists' %] This item type already exists. [% CASE 'cannot_be_deleted' %] Cannot delete this item type.

This record is used [% m.total %] times. Deletion is not possible.

[% CASE %] [% m.code %] [% END %]
[% END %] [% IF op == 'add_form' %] [% IF itemtype %]

Modify item type

[% ELSE %]

Add item type

[% END %]
    [% IF itemtype %]
  1. Item type: [% itemtype.itemtype %]
  2. [% ELSE %]
  3. Required
  4. [% END %]
  5. Required [% IF can_be_translated %] Translate into other languages [% END %]
  6. Search category (Options are defined as the authorized values for the ITEMTYPECAT category)
  7. [% IF Koha.Preference('noItemTypeImages') %]
  8. Image: Item type images are disabled. To enable them, turn off the noItemTypeImages system preference
  9. [% END %]
[% UNLESS Koha.Preference('noItemTypeImages') %]
Choose an icon:
  • None
  • [% FOREACH imageset IN imagesets %] [% IF ( imageset.imagesetactive ) %]
  • [% ELSE %]
  • [% END %] [% imageset.imagesetname %]
  • [% END %] [% IF itemtype.image_location.match('^http') %]
  • [% ELSE %]
  • [% END %]Remote image

[% FOREACH imageset IN imagesets %]
    [% FOREACH image IN imageset.images %]
  • [% END %]

[% END %]
  • [% IF remote_image %] [% ELSE %] [% END %] [% IF ( remote_image ) %] [% END %]

[% END %]
  1. [% IF ( itemtype.hideinopac ) %] [% ELSE %] [% END %] (if checked, items of this type will be hidden as filters in OPAC's advanced search)
  2. [% IF itemtype.notforloan %] [% ELSE %] [% END %] (if checked, no item of this type can be issued. If not checked, every item of this type can be issued unless notforloan is set for a specific item)
  3. Enter a summary that will overwrite the default one in search results lists. Example, for a website itemtype :

    <a href="[856u]">open site</a> will show the link just below the title

Cancel
[% END %] [% IF op == 'delete_confirm' %]

Delete item type '[% itemtype.itemtype %]'?

[% UNLESS Koha.Preference('noItemTypeImages') %] [% END %]
Item type [% itemtype.itemtype %]
Description[% itemtype.translated_description %]
Image [% IF itemtype.image_location %][% END %]
Rental charge[% itemtype.rentalcharge | $Price %]
[% END %] [% IF op == 'list' %]

Item types administration

[% IF itemtypes %] [% UNLESS Koha.Preference('noItemTypeImages') %][% END %] [% FOREACH itemtype IN itemtypes %] [% UNLESS Koha.Preference('noItemTypeImages') %] [% END %] [% END %]
ImageCode Description Search category Not for loan Hide in OPAC Charge Checkin message Actions
[% IF itemtype.image_location %][% ELSE %] [% END %] [% itemtype.itemtype %] [% IF itemtype.translated_descriptions.size %] [% itemtype.description %] (default)
[% FOR description IN itemtype.translated_descriptions %] [% IF description.translation == itemtype.translated_description %] [% description.translation %] [% ELSE %] [% description.translation %] ([% description.lang %]) [% END %]
[% END %] [% ELSE %] [% itemtype.description %] [% END %]
[% itemtype.searchcategory %] [% IF ( itemtype.notforloan ) %]Yes[% ELSE %] [% END %] [% IF ( itemtype.hideinopac ) %]Yes[% ELSE %] [% END %] [% UNLESS ( itemtype.notforloan ) %] [% itemtype.rentalcharge | $Price %] [% END %] [% itemtype.checkinmsg | html_line_break %] Edit Delete
[% ELSE %]
There are no itemtypes defined
[% END %] [% END %]
[% INCLUDE 'admin-menu.inc' %]
[% INCLUDE 'intranet-bottom.inc' %]