[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE AuthorisedValues %] [% USE Price %] [% 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. 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:

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

[% END %]
  • [% IF itemtype.imageurl %] [% ELSE %] [% END %] [% IF itemtype.imageurl %] [% 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. This fee is charged at checkout/renewal time for each hour between the checkout/renewal date and due date for loans specifie in hours.
  6. Select 'All libraries' if this authorized value must be displayed all the time. Otherwise select libraries you want to associate with this value.
  7. 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') %] [% 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') %][% END %] [% FOREACH itemtype IN itemtypes %] [% UNLESS Koha.Preference('noItemTypeImages') %] [% END %] [% END %]
ImageCode Description 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 %] [% itemtype.itemtype | html %] [% 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 %]
[% 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.branches.size > 0 %] [% branches_str = "" %] [% FOREACH branch IN itemtype.branches %] [% branches_str = branches_str _ " " _ branch.branchname _ " (" _ branch.branchcode _ ")" %] [% END %] [% IF itemtype.branches.size > 1 %] [% itemtype.branches.size | html %] library limitations [% ELSE %] [% itemtype.branches.size | 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' %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]