@@ -, +, @@
zero ages and fees
- Go to Home > Administration > Patron categories
- Verify that you have 0 years and/or only years in Age required and Uper age limit colums
- Verify that you have Enrollment and Hold fees of 0.00
- Apply patch
- Verify that such values are replaced by - to enhance table readability
---
.../prog/en/modules/admin/categories.tt | 24 ++++++++++++++++++----
1 file changed, 20 insertions(+), 4 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt
@@ -386,12 +386,28 @@
until [% category.enrolmentperioddate | $KohaDates %]
[% END %]
-
[% category.dateofbirthrequired %] years |
- [% category.upperagelimit %] years |
- [% category.enrolmentfee | $Price %] |
+ [% IF (category.dateofbirthrequired) %]
+ [% category.dateofbirthrequired %] years |
+ [% ELSE %]
+ - |
+ [% END %]
+ [% IF (category.upperagelimit) %]
+ [% category.upperagelimit %] 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 %]
--
|