- [% category.categorycode |html %] |
+ [% category.categorycode | html %] |
- [% category.description |html %]
+ [% category.description | html %]
|
[% SWITCH category.category_type %]
@@ -340,22 +496,39 @@
|
[% IF ( category.enrolmentperiod ) %]
- [% category.enrolmentperiod %] months
+ [% category.enrolmentperiod | html %] months
[% ELSE %]
until [% category.enrolmentperioddate | $KohaDates %]
[% END %]
|
- [% category.dateofbirthrequired %] years |
- [% category.upperagelimit %] years |
- [% category.enrolmentfee | $Price %] |
+ [% IF (category.dateofbirthrequired) %]
+ [% category.dateofbirthrequired | html %] years |
+ [% ELSE %]
+ - |
+ [% END %]
+ [% IF (category.upperagelimit) %]
+ [% category.upperagelimit | html %] years |
+ [% ELSE %]
+ - |
+ [% END %]
+ [% IF (category.enrolmentfee > 0) %]
+ [% category.enrolmentfee | $Price %] |
+ [% ELSE %]
+ - |
+ [% END %]
[% IF ( category.overduenoticerequired ) %]Yes[% ELSE %]No[% END %] |
[% IF ( category.hidelostitems ) %]Hidden[% ELSE %]Shown[% END %] |
- [% category.reservefee | $Price %] |
+ [% IF (category.reservefee > 0) %]
+ [% category.reservefee | $Price %] |
+ [% ELSE %]
+ - |
+ [% END %]
[% IF Koha.Preference('EnhancedMessagingPreferences') %]
[% SET default_messaging = category.default_messaging %]
[% IF default_messaging.size %]
[% FOREACH prefs IN default_messaging %]
+ [% NEXT IF !Koha.Preference( 'ILLModule' ) && prefs.message_name.match('^Ill_') %]
[% FOREACH transport IN prefs.transports %]
[% IF ( transport.transport ) %]
[% IF ( prefs.Item_Due ) %]Item due
@@ -364,9 +537,11 @@
[% ELSIF ( prefs.Hold_Filled ) %]Hold filled
[% ELSIF ( prefs.Item_Check_in ) %]Item check-in
[% ELSIF ( prefs.Item_Checkout ) %]Item checkout
+ [% ELSIF ( prefs.Ill_ready ) %]Interlibrary loan ready
+ [% ELSIF ( prefs.Ill_unavailable ) %]Interlibrary loan unavailable
[% ELSE %]Unknown
[% END %]:
- [% transport.transport %]
+ [% transport.transport | html %]
[% ELSE %]None [% END %]
[% END %]
[% END %]
@@ -382,17 +557,29 @@
[% FOREACH branch IN branch_limitations %]
[% branches_str = branches_str _ " " _ branch.branchname _ "(" _ branch.branchcode _ ")" %]
[% END %]
-
+
[% IF branch_limitations.size > 1 %]
- [% branch_limitations.size %] branches limitations
+ [% branch_limitations.size | html %] library limitations
[% ELSE %]
- [% branch_limitations.size %] branch limitation
+ [% branch_limitations.size | html %] library limitation
[% END %]
[% ELSE %]
No limitation
[% END %]
|
+ [% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' ) %]
+
+ [% SWITCH category.checkprevcheckout %]
+ [% CASE 'yes' %]
+ Yes
+ [% CASE 'no' %]
+ No
+ [% CASE 'inherit' %]
+ Inherit
+ [% END %]
+ |
+ [% END %]
[% SWITCH category.default_privacy %]
[% CASE 'default' %]
@@ -403,9 +590,16 @@
Forever
[% END %]
|
+
+ [% IF category.exclude_from_local_holds_priority %]
+ Yes
+ [% ELSE %]
+ No
+ [% END %]
+ |
- Edit
- Delete
+ Edit
+ Delete
|
[% END %]
@@ -416,10 +610,25 @@
[% END %]
[% END %]
-
-
-