From 57fa54cd7a71a704408cb3630c70bbb53de2b6fd Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 9 Nov 2020 12:57:13 +0000 Subject: [PATCH] Bug 26946: Set maxlength for cash register name The cash register names is limited to 24 characters at the database level and so that restriction should also be reflected in the UI. Test plan 1/ Add or Edit a cash register ( admin > accounts > cash registers ) 2/ Note that you can enter a cash register name longer than 24 characters, but upon save the value is truncated. 3/ Apply patch 4/ Note you can not longer enter a cash register name longer than 24 characters. 5/ Signoff Signed-off-by: Sally Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Jonathan Druart (cherry picked from commit 012229c5ea77a009dc708db4370bf499e48dad01) --- .../intranet-tmpl/prog/en/modules/admin/cash_registers.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cash_registers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cash_registers.tt index 8b4784d448..95b3c04761 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cash_registers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cash_registers.tt @@ -75,13 +75,13 @@
  • - + Required
  • - +
  • @@ -96,7 +96,7 @@
  • - +
  • -- 2.39.5