[% INCLUDE 'doc-head-open.inc' %] Koha › Administration › Patron categories › [% IF ( add_form ) %][% IF ( categorycode ) %]Modify category '[% categorycode |html %]'[% ELSE %]New category[% END %][% END %] [% IF ( add_validate ) %]Data recorded[% END %] [% IF ( delete_confirm ) %][% IF ( totalgtzero ) %]Cannot delete: category [% categorycode |html %] in use[% ELSE %]Confirm deletion of category '[% categorycode |html %]'[% END %][% END %] [% IF ( delete_confirmed ) %]Category deleted[% END %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'calendar.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'patrons-admin-search.inc' %]
[% IF ( add_form ) %]
[% IF ( categorycode ) %]

Modify category [% categorycode |html %]

[% ELSE %]

New category

[% END %]
    [% IF ( categorycode ) %]
  1. Category code[% categorycode |html %]
  2. [% ELSE %]
  3. [% END %]
  4. Choose one
    1. months
    2. Cannot have "months" and "until date" at the same time
  5. years
  6. years
  7. Select All if this category type must to be displayed all the time. Otherwise select librairies you want to associate with this value.
[% IF ( EnhancedMessagingPreferences ) %]

Default messaging preferences for this patron category

[% INCLUDE 'messaging-preference-form.inc' %]
[% END %]
[% END %] [% IF ( add_validate ) %]

Data recorded

[% END %] [% IF ( delete_confirm ) %]
[% IF ( totalgtzero ) %] Category [% categorycode |html %] is in use. Deletion not possible![% ELSE %] Confirm deletion of category [% categorycode |html %][% END %] [% IF ( totalgtzero ) %]
This category is used [% total %] times. Deletion not possible
[% END %]
Category code: [% categorycode |html %]
Description: [% description |html %]
Enrollment period: [% IF ( enrolmentperiod ) %] [% enrolmentperiod %] months [% ELSE %] until [% enrolmentperioddate %] [% END %]
Age required: [% dateofbirthrequired %] years
Upperage limit: [% upperagelimit %] years
Enrollment fee: [% enrolmentfee %]
Receives overdue notices: [% IF ( overduenoticerequired ) %]Yes[% ELSE %]No[% END %]
Lost items in staff client[% IF ( hidelostitems ) %]Hidden by default[% ELSE %]Shown[% END %]
Hold fee: [% reservefee %]
[% IF ( totalgtzero ) %] [% ELSE %] Cancel [% END %]
[% END %] [% IF ( delete_confirmed ) %]

Category deleted

[% END %] [% IF ( else ) %]

Patron category administration

[% IF ( searchfield ) %] You Searched for [% searchfield %] [% END %] [% IF ( loop ) %]
[% INCLUDE 'table-pager.inc' perpage='20' %]
[% IF ( EnhancedMessagingPreferences ) %] [% END %] [% FOREACH loo IN loop %] [% IF ( EnhancedMessagingPreferences ) %] [% END %] [% END %]
Code Category name Type Enrollment period Age required Upper age limit Enrollment fee Overdue Lost items Hold feeMessagingBranches limitations  
[% loo.categorycode |html %] [% loo.description |html %] [% IF ( loo.type_A ) %]Adult[% END %] [% IF ( loo.type_C ) %]Child[% END %] [% IF ( loo.type_P ) %]Prof.[% END %] [% IF ( loo.type_I ) %]Org.[% END %] [% IF ( loo.type_S ) %]Staff[% END %] [% IF ( loo.type_X ) %]Statistical[% END %] [% IF ( loo.enrolmentperiod ) %] [% loo.enrolmentperiod %] months [% ELSE %] until [% loo.enrolmentperioddate %] [% END %] [% loo.dateofbirthrequired %] years [% loo.upperagelimit %] years [% loo.enrolmentfee %] [% IF ( loo.overduenoticerequired ) %]Yes[% ELSE %]No[% END %] [% IF ( loo.hidelostitems ) %]Hidden[% ELSE %]Shown[% END %] [% loo.reservefee %] [% IF ( loo.messaging_prefs ) %] [% FOREACH prefs IN loo.messaging_prefs %] [% 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 %]
[% IF loo.branches.size > 0 %] [% branches_str = "" %] [% FOREACH branch IN loo.branches %] [% branches_str = branches_str _ " " _ branch.branchname _ "(" _ branch.branchcode _ ")" %] [% END %] [% IF loo.branches.size > 1 %] [% loo.branches.size %] branches limitations [% ELSE %] [% loo.branches.size %] branch limitation [% END %] [% ELSE %] No limitation [% END %] Edit Delete
[% ELSE %]
No categories have been defined. Create a new category.
[% END %] [% END %]
[% INCLUDE 'admin-menu.inc' %]
[% INCLUDE 'intranet-bottom.inc' %]