[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE AuthorisedValues %] [% USE Price %] [% USE TablesSettings %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Administration › Item types [% IF op == 'add_form' %]› [% IF ( itemtype ) %] Modify item type '[% itemtype.itemtype | html %]' [% ELSE %] Add item type [% END %] [% END %] [% IF op == 'delete_confirm' %]› [% IF ( total ) %] Cannot delete item type '[% itemtype.itemtype | html %]' [% ELSE %] Delete item type '[% itemtype.itemtype | html %]'? [% END %] [% END %] [% IF op == 'delete_confirmed' %]› Data deleted [% END %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'prefs-admin-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 in use. Deletion is not possible.

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

Modify item type

[% ELSE %]

Add item type

[% END %]
    [% IF itemtype %]
  1. Item type: [% itemtype.itemtype | html %]
  2. [% ELSE %]
  3. Required
  4. [% END %]
  5. [% IF !is_a_parent && parent_types %] [% ELSIF is_a_parent %]

    Is a parent to another type, cannot have a parent

    [% ELSE %]

    No available parent types

    [% END %] Defining a parent type will apply checkout limits for all children as described on the circulation rules page.
  6. Required [% IF can_be_translated %] Translate into other languages [% END %]
  7. Search category Options are defined as the authorized values for the ITEMTYPECAT category.
  8. [% IF ( Koha.Preference('noItemTypeImages') && Koha.Preference('OpacNoItemTypeImages') ) %]
  9. Image: Item type images are disabled. To enable them, turn off the noItemTypeImages or OpacNoItemTypeImages system preferences
  10. [% END %]
[% UNLESS Koha.Preference('noItemTypeImages') && Koha.Preference('OpacNoItemTypeImages') %]
Choose an icon:

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

[% END %]
  • [% SET image_location = itemtype.image_location('intranet') %] [% IF image_location.match('^http') %] [% IF itemtype.imageurl %] [% END %] [% ELSE %] [% 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. This fee is charged once per checkout/renewal per item
  4. This fee is charged at checkout/renewal time for each day between the checkout/renewal date and due date for loans specified in days.
  5. [% IF itemtype.rentalcharge_daily_calendar %] [% ELSE %] [% END %] If checked, daily charge will be calculated using the calendar to exclude holidays. If not checked, the fee will be calculated based on the number of days until due, directly.
  6. This fee is charged at checkout/renewal time for each hour between the checkout/renewal date and due date for loans specified in hours.
  7. [% IF itemtype.rentalcharge_hourly_calendar %] [% ELSE %] [% END %] If checked, hourly charge will be calculated using the calendar to exclude holidays. If not checked, the fee will be calculated based on the number of hours until due, directly.
  8. Select 'All libraries' if all libraries use this item type. Otherwise, select the specific libraries that use this item type.
  9. 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 | html %]'?

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

Item types administration

[% IF itemtypes %] [% UNLESS Koha.Preference('noItemTypeImages') && Koha.Preference('OpacNoItemTypeImages') %][% END %] [% FOREACH itemtype IN itemtypes %] [% UNLESS Koha.Preference('noItemTypeImages') && Koha.Preference('OpacNoItemTypeImages') %] [% END %] [% END %]
ImageDescription Code Parent code Search category Not for loan Hide in OPAC Rental charge Daily rental charge Hourly rental charge Default replacement cost Processing fee (when lost) Checkin message Library limitations Actions
[% SET image_location = itemtype.image_location('intranet') %] [% IF image_location %][% ELSE %] [% END %] [% IF itemtype.parent_type %] [% IF itemtype.parent.translated_descriptions.size %] [% itemtype.parent.description | html %] (default)
[% ELSE %] [% itemtype.parent.description | html %] [% END %]
[% IF itemtype.translated_descriptions.size %] [% itemtype.description | html %] (default)
[% FOR description IN itemtype.translated_descriptions %] [% IF description.translation == itemtype.translated_description %] -- [% description.translation | html %] [% ELSE %] -- [% description.translation | html %] ([% description.lang | html %]) [% END %]
[% END %] [% ELSE %] -- [% itemtype.description | html %] [% END %] [% ELSE %] [% IF itemtype.translated_descriptions.size %] [% itemtype.description | html %] (default)
[% FOR description IN itemtype.translated_descriptions %] [% IF description.translation == itemtype.translated_description %] [% description.translation | html %] [% ELSE %] [% description.translation | html %] ([% description.lang | html %]) [% END %]
[% END %] [% ELSE %] [% itemtype.description | html %] [% END %] [% END %]
[% itemtype.itemtype | html %] [% itemtype.parent_type | html %] [% AuthorisedValues.GetByCode( 'ITEMTYPECAT', itemtype.searchcategory ) | html %] [% IF ( itemtype.notforloan ) %]Yes[% ELSE %] [% END %] [% IF ( itemtype.hideinopac ) %]Yes[% ELSE %] [% END %] [% UNLESS ( itemtype.notforloan ) %] [% itemtype.rentalcharge | $Price %] [% END %] [% UNLESS ( itemtype.notforloan ) %] [% itemtype.rentalcharge_daily | $Price %] [% END %] [% UNLESS ( itemtype.notforloan ) %] [% itemtype.rentalcharge_hourly | $Price %] [% END %] [% itemtype.defaultreplacecost | $Price %] [% itemtype.processfee | $Price %] [% itemtype.checkinmsg | html_line_break | $raw %] [% IF itemtype.library_limits %] [% libraries_str = "" %] [% FOREACH library IN itemtype.library_limits %] [%- IF loop.first -%] [% libraries_str = library.branchname _ " (" _ library.branchcode _ ")" %] [% ELSE %] [% libraries_str = libraries_str _ "\n" _ library.branchname _ " (" _ library.branchcode _ ")" %] [% END %] [% END %] [% IF itemtype.library_limits.count > 1 %] [% itemtype.library_limits.count | html %] library limitations [% ELSE %] [% itemtype.library_limits.count | html %] library limitation [% END %] [% ELSE %] No limitation [% END %] Edit Delete
[% ELSE %]
There are no itemtypes defined
[% END %] [% END %]
[% MACRO jsinclude BLOCK %] [% Asset.js("js/admin-menu.js") | $raw %] [% INCLUDE 'greybox.inc' %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'columns_settings.inc' %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]