[% 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.
[% END %]
[% IF op == 'add_form' %]
[% IF itemtype %]
This record is in use. Deletion is not possible.
[% CASE %] [% m.code | html %] [% END %]Modify item type
[% ELSE %]Add item type
[% END %] [% END %] [% IF op == 'delete_confirm' %]Delete item type '[% itemtype.itemtype | html %]'?
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 %] |
Item types administration
[% IF itemtypes %]Image | [% END %]Code | Description | Search category | Not for loan | Hide in OPAC | Charge | Default replacement cost | Processing fee (when lost) | Checkin message | Actions | [% FOREACH itemtype IN itemtypes %]
---|---|---|---|---|---|---|---|---|---|---|
[% SET image_location = itemtype.image_location('intranet') %] [% IF image_location %][% ELSE %] [% END %] | [% 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 %] | [% itemtype.defaultreplacecost | $Price %] | [% itemtype.processfee | $Price %] | [% itemtype.checkinmsg | html_line_break | $raw %] | Edit Delete |