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)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 8 Apr 2015 17:48:12 +0000 (14:48 -0300)
commit0e279fb2e01dd27fd9d932bc20fc9de563c5be82
treed5d2cb32eb86e80e503f9e00a01dbfe19658a636
parentc4a45759232b87712c67dd01631a3f7cb696b967
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>
koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt