@@ -, +, @@
---
.../prog/en/modules/members/boraccount.tt | 27 +++++++++----------
members/boraccount.pl | 27 +------------------
2 files changed, 14 insertions(+), 40 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt
@@ -8,6 +8,7 @@
[% USE Price %]
[% USE Branches %]
[% SET footerjs = 1 %]
+[% SET registers = Registers.all( filters => { current_branch => 1 } ) %]
[% PROCESS 'accounts.inc' %]
@@ -143,6 +144,11 @@
+ [% IF Koha.Preference('UseCashRegisters') && ( registers.size == 0 ) %]
+
+ You must have at least one cash register associated with this branch before you can record cash payouts.
+
+ [% END %]
+ [% IF Koha.Preference('UseCashRegisters') && ( registers.size == 0 ) %]
+
+ You must have at least one cash register associated with this branch before you can record cash refunds.
+
+ [% END %]