[% USE Branches %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] [% IF is_edit || course_reserve %]Edit item[% ELSE %]Add items[% END %] › Course reserves › Koha [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %]
[% IF course_reserve && !is_edit%]
This course already has this item on reserve.
[% END %] [% IF course_item %] [% IF item %]
Number of courses reserving this item: [% course_item.course_reserves.count | html %]
[% ELSE %]
Number of courses reserving this bibliographic record: [% course_item.course_reserves.count | html %]
[% END %] [% END %]
[% IF item # adding an item to course items %]
[% IF is_edit || course_reserve %] Edit [% biblio.title | html %] in [% course.course_name | html %] [% ELSE %] Add [% biblio.title | html %] to [% course.course_name | html %] [% END %]
  1. Barcode: [% item.barcode | html %]
  2. [% IF item_level_itypes %]
  3. [% IF course_item.itype_enabled %] [% ELSE %] [% END %] [% IF course_item.itype_enabled %] [% END %] [% FOREACH it IN itypes %] [% IF it.itemtype == course_item.itype %] [% ELSE %] [% END %] [% END %]
  4. [% END %]
  5. [% IF course_item.ccode_enabled %] [% ELSE %] [% END %] [% IF course_item.ccode_enabled %] [% END %] [% FOREACH c IN ccodes %] [% IF c.authorised_value == course_item.ccode %] [% ELSE %] [% END %] [% END %]
  6. [% IF course_item.location_enabled %] [% ELSE %] [% END %] [% IF course_item.location_enabled %] [% END %] [% FOREACH s IN locations %] [% IF s.authorised_value == course_item.location %] [% ELSE %] [% END %] [% END %]
  7. [% IF course_item.homebranch_enabled %] [% ELSE %] [% END %] [% IF course_item.homebranch_enabled %] [% END %] [% FOREACH b IN Branches.all() %] [% IF course_item.homebranch.defined && ( ( course.enabled == 'yes' && b.branchcode == item.homebranch ) || ( course.enabled == 'no' && b.branchcode == course_item.homebranch ) ) %] [% ELSE %] [% END %] [% END %]
  8. [% IF course_item.holdingbranch_enabled %] [% ELSE %] [% END %] [% IF course_item.holdingbranch_enabled %] [% END %] [% FOREACH b IN Branches.all() %] [% IF b.branchcode == course_item.holdingbranch %] [% ELSE %] [% END %] [% END %]

Checking the box next to the field label will enable changes to that field. Leave boxes unchecked to make no change.
Any items with existing course reserves will have their on reserve values updated.

[% ELSE # adding a biblio to course items %]
[% IF is_edit || course_reserve %] Edit [% biblio.title | html %] in [% course.course_name | html %] [% ELSE %] Add [% biblio.title | html %] to [% course.course_name | html %] [% END %]
  1. Biblionumber: [% biblio.biblionumber | html %]
[% END %]
Cancel
[% MACRO jsinclude BLOCK %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]