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)
committerPedro Amorim <pedro.amorim@ptfs-europe.com>
Thu, 17 Aug 2023 15:56:29 +0000 (15:56 +0000)
commit1a340d0030da4b6bb797391fb2327fa51fcb0bc6
tree2eb1da863f1638d8648386d16a1ca7c3cfee6459
parent9c801dc346ed86b94d0955f2dbe03eee2e88c568
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>
(cherry picked from commit 32bddca28690bb05695d3e25fbd5764b7af0a06d)
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt