@@ -, +, @@ --- .../opac-tmpl/bootstrap/en/modules/opac-account.tt | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt @@ -1,6 +1,7 @@ [% USE Koha %] [% USE KohaDates %] [% SET ENABLE_OPAC_PAYMENTS = Koha.Preference('EnablePayPalOpacPayments') %] +[% SET DISPLAY_PAYMENT_BLOCK = 0 %] [% INCLUDE 'doc-head-open.inc' %] [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Your fines and charges @@ -93,6 +94,7 @@ [% IF ENABLE_OPAC_PAYMENTS %] [% IF ACCOUNT_LINE.amountoutstanding > 0 %] + [% SET DISPLAY_PAYMENT_BLOCK = 1 %] [% END %] @@ -132,7 +134,7 @@ - [% IF ENABLE_OPAC_PAYMENTS %] + [% IF ENABLE_OPAC_PAYMENTS && DISPLAY_PAYMENT_BLOCK %]