From d89e7d9fd9b02f005729adfaf3feddc18778991b Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 18 Mar 2015 16:49:52 +0100 Subject: [PATCH] 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. --- 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
    -- 2.1.0