Browse Source

Bug 24786: (QA follow-up) Handle no defined registers

This patch hides the register selection option from the login page if no
registers have yet been defined on the system.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
20.11.x
Martin Renvoize 1 year ago
committed by Jonathan Druart
parent
commit
3865e38ebb
  1. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt

2
koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt

@ -97,7 +97,7 @@
</p>
[% END %]
[% IF Koha.Preference('UseCashRegisters') %]
[% IF Koha.Preference('UseCashRegisters') && Registers.all().size %]
<p>
<label for="register_id">Cash register:</label>
<select name="register_id" id="register_id" class="input" tabindex="4">

Loading…
Cancel
Save