@@ -, +, @@ about missing registers - Log in to the staff interface as a user with "manage_cash_registers" permission. - Locate a patron who has outstanding fines. - Under Accounting -> Make a payment, click the "Pay" button next to a fine. - The page should show the message about missing cash registers with a button which take you directly to the "Add new cash register" form. - Perform the same check by selecting the checkbox next to a fine and clicking the "Pay amount" button and the "Pay selected" button. - Test the message shown at: - Tools -> Cashup registers. - Point of sale -> Register details - Point of sale -> Library details - Perform the same tests when logged in as a user without permission to manage cash registers. The messages shown in the previous steps should omit the button linking to cash register management. --- .../prog/en/modules/members/paycollect.tt | 21 +++++++++++++------ .../intranet-tmpl/prog/en/modules/pos/pay.tt | 14 ++++++++++--- .../prog/en/modules/pos/register.tt | 14 ++++++++++--- .../prog/en/modules/pos/registers.tt | 15 +++++++++---- 4 files changed, 48 insertions(+), 16 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt @@ -7,6 +7,19 @@ [% PROCESS 'payments.inc' %] [% PROCESS 'accounts.inc' %] [% INCLUDE 'doc-head-open.inc' %] +[% BLOCK cash_register_required %] +
+[% END %]