[% USE KohaDates -%] [% 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 ( patrons_in_category > 0 ) %]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 'datatables.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 branches if this category type must to be displayed all the time. Otherwise select libraries you want to associate with this value.
  8. Choose whether patrons of this category be blocked from public catalog actions such as renewing and placing holds when their cards have expired.
  9. Controls how long a patrons checkout history is kept for new patrons of this category. "Never" anonymizes checkouts on return, and "Forever" keeps a patron's checkout history indefinitely. When set to "Default", the amount of history kept is controlled by the cronjob batch_anonymise.pl which should be set up by your system administrator.
[% 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 ( patrons_in_category > 0 ) %] 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 | $KohaDates %] [% 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 %]
Default privacy: [% SWITCH category.default_privacy %] [% CASE 'default' %] Default [% CASE 'never' %] Never [% CASE 'forever' %] Forever [% END %]
[% 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 ) %]
[% 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 Default privacy    
[% 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 | $KohaDates %] [% 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 %] [% SWITCH loo.default_privacy %] [% CASE 'default' %] Default [% CASE 'never' %] Never [% CASE 'forever' %] Forever [% END %] Edit Delete
[% ELSE %]
No categories have been defined. Create a new category.
[% END %] [% END %]
[% INCLUDE 'admin-menu.inc' %]
[% INCLUDE 'intranet-bottom.inc' %]