]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Thu, 17 Dec 2020 14:39:19 +0000 (14:39 +0000)
commitfe8ab2e9c7234dcfbba10d1bbcd0980e5c11e5ed
tree96cc8c3d9bafcd57c04bbeb764ddadfc3e6065a5
parentebd18bb7645ed29248e27a3fc67df348008e3120
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>
(cherry picked from commit 012229c5ea77a009dc708db4370bf499e48dad01)
(cherry picked from commit 57fa54cd7a71a704408cb3630c70bbb53de2b6fd)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/cash_registers.tt