]> git.koha-community.org Git - koha.git/commit
Bug 33028: Add TT filters for Price and pattern checks to input fields
authorKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 16 Jun 2023 16:59:22 +0000 (16:59 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 8 Aug 2023 06:04:15 +0000 (20:04 -1000)
commit32bddca28690bb05695d3e25fbd5764b7af0a06d
tree3dd121b9c81157aa14f7e00d15b1d05fd4eb83ba
parentfeb6ceaa249b938e1214c4e4bb104f043d1b5bb4
Bug 33028: Add TT filters for Price and pattern checks to input fields

With this patch, all monetary values in the table will be displayed
formatted.

Also, the input will be checked against our agreed pattern to make
sure no false values can be entered.

Missing: When editing a rule, we need to unformat the value, so that
instead of the display format we have the input format available
for editing.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 3c2d40bb4a05687eca67a8e06befd5d43d0a4b9d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt