diff --git a/about.pl b/about.pl index 6b44ea852b..ba77ca6d44 100755 --- a/about.pl +++ b/about.pl @@ -77,6 +77,8 @@ my $errZebraConnection = C4::Context->Zconn("biblioserver",0)->errcode(); my $warnIsRootUser = (! $loggedinuser); +my $warnNoActiveCurrency = (! defined C4::Budgets->GetCurrency()); + $template->param( kohaVersion => $kohaVersion, osVersion => $osVersion, @@ -93,6 +95,7 @@ $template->param( warnPrefAnonymousPatron => $warnPrefAnonymousPatron, errZebraConnection => $errZebraConnection, warnIsRootUser => $warnIsRootUser, + warnNoActiveCurrency => $warnNoActiveCurrency, ); my @components = (); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt index 58b3416387..e073948eea 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt @@ -104,9 +104,9 @@

Please log in instead with a regular staff account. To create a staff account, create a library, a patron category 'Staff' and add a new patron. Then give this patron permissions from 'More' in the toolbar.

[% END %]

Warnings regarding the system configuration

- [% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatron %] + [% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatron || warnNoActiveCurrency %] - + [% IF (warnPrefBiblioAddsAuthorities) %] [% END %] @@ -116,6 +116,9 @@ [% IF warnPrefAnonymousPatron %] [% END %] + [% IF warnNoActiveCurrency %] + + [% END %]
PreferencesPreferences and parameters
Warning System preference 'AutoCreateAuthorities' set, but needs 'BiblioAddsAuthorities' set as well.
Warning System preference 'OPACPrivacy' set, but AnonymousPatron preference is set to '0'. Set it to a valid borrower number if you want that this feature works correctly.
Warning No active currency is defined. Please go to Administration:Currencies & Exchange rates and mark one currency as active.
[% ELSE %]

No warnings