[% USE Koha %] [% USE KohaDates %] [% USE Price %] [% INCLUDE 'doc-head-open.inc' %]
Code | Category name | Type | Enrollment period | Age required | Upper age limit | Enrollment fee | Overdue | Lost items | Hold fee | [% IF ( EnhancedMessagingPreferences ) %]Messaging | [% END %]Branches limitations | Default privacy | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
[% category.categorycode |html %] | [% category.description |html %] | [% SWITCH category.category_type %] [% CASE 'A' %]Adult [% CASE 'C' %]Child [% CASE 'P' %]Prof. [% CASE 'I' %]Org. [% CASE 'S' %]Staff [% CASE 'X' %]Statistical [% END %] | [% IF ( category.enrolmentperiod ) %] [% category.enrolmentperiod %] months [% ELSE %] until [% category.enrolmentperioddate | $KohaDates %] [% END %] | [% category.dateofbirthrequired %] years | [% category.upperagelimit %] years | [% category.enrolmentfee | $Price %] | [% IF ( category.overduenoticerequired ) %]Yes[% ELSE %]No[% END %] | [% IF ( category.hidelostitems ) %]Hidden[% ELSE %]Shown[% END %] | [% category.reservefee | $Price %] | [% IF Koha.Preference('EnhancedMessagingPreferences') %]
[% SET default_messaging = category.default_messaging %]
[% IF default_messaging.size %]
[% FOREACH prefs IN default_messaging %]
[% FOREACH transport IN prefs.transports %]
[% IF ( transport.transport ) %]
[% IF ( prefs.Item_Due ) %]Item due
[% ELSIF ( prefs.Advance_Notice ) %]Advance notice
[% ELSIF ( prefs.Upcoming_Events ) %]Upcoming events
[% ELSIF ( prefs.Hold_Filled ) %]Hold filled
[% ELSIF ( prefs.Item_Check_in ) %]Item check-in
[% ELSIF ( prefs.Item_Checkout ) %]Item checkout
[% ELSE %]Unknown
[% END %]:
[% transport.transport %] [% ELSE %]None [% END %] [% END %] [% END %] [% ELSE %] None [% END %] |
[% END %]
[% SET branch_limitations = category.branch_limitations %] [% IF branch_limitations.size > 0 %] [% branches_str = "" %] [% FOREACH branch IN branch_limitations %] [% branches_str = branches_str _ " " _ branch.branchname _ "(" _ branch.branchcode _ ")" %] [% END %] [% IF branch_limitations.size > 1 %] [% branch_limitations.size %] branches limitations [% ELSE %] [% branch_limitations.size %] branch limitation [% END %] [% ELSE %] No limitation [% END %] | [% SWITCH category.default_privacy %] [% CASE 'default' %] Default [% CASE 'never' %] Never [% CASE 'forever' %] Forever [% END %] | Edit | Delete |