From e086a3f5372e2b44b4dad759a86f544dede515da Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 18 Mar 2015 16:49:52 +0100 Subject: [PATCH] [PASSED QA] Bug 2542: Validate the amount of a manual invoice/create MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt index 13500ab..a17764d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt @@ -45,7 +45,7 @@ $(document).ready(function(){
  • -
  • Example: 5.00
  • +
  • Example: 5.00
  • Cancel
    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt index 445fffe..520eb2d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt @@ -69,7 +69,7 @@ type_fees['[% invoice_types_loo.authorised_value %]'] = "[% invoice_types_loo.li
  • -
  • Example: 5.00
  • +
  • Example: 5.00
  • Cancel
    -- 1.9.1