]> git.koha-community.org Git - koha.git/commit
Bug 26946: Set maxlength for cash register name
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 9 Nov 2020 12:57:13 +0000 (12:57 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 9 Dec 2020 10:23:43 +0000 (11:23 +0100)
commit012229c5ea77a009dc708db4370bf499e48dad01
tree6be9e6ae2c28d00b794d0d120b2e8fac59a4dad0
parent9b62806a979fea789661b3d85113b57dbff0e62d
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 <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/cash_registers.tt