]> git.koha-community.org Git - koha.git/commit
Bug 2542: Validate the amount of a manual invoice/create
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 18 Mar 2015 15:49:52 +0000 (16:49 +0100)
committerChris Cormack <chris@bigballofwax.co.nz>
Sun, 12 Apr 2015 07:53:01 +0000 (19:53 +1200)
commitcc0c351390aa6a02641f32ecb447f2b481107d18
treead38ee975c05b4cb7b0e0d1a923e0ccda7ab3b96
parent7185160b04605631061b98e05213ba9d3d3f5e25
Bug 2542: Validate the amount of a manual invoice/create

If a manual invoice/credit amount is not correctly set, it should not be
accepted.

Test plan:
Try to create a manual invoice and a manual credit with an amount containing
something else than numbers.
It should not be possible.

Followed test plan. Patch behaves OK, including that negative values are not allowed.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 0e279fb2e01dd27fd9d932bc20fc9de563c5be82)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt