From ee5705920bf2712efe565362a2895302e22024c2 Mon Sep 17 00:00:00 2001 From: shahrukh-compuco Date: Mon, 20 Nov 2023 17:28:42 +0500 Subject: [PATCH] BTHAB-253: Add validation for discount amount field --- managed/CustomGroup_Product_Discounts.mgd.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/managed/CustomGroup_Product_Discounts.mgd.php b/managed/CustomGroup_Product_Discounts.mgd.php index 163677024..664d3fe72 100644 --- a/managed/CustomGroup_Product_Discounts.mgd.php +++ b/managed/CustomGroup_Product_Discounts.mgd.php @@ -58,7 +58,7 @@ 'help_pre' => NULL, 'help_post' => 'Specify a discount that will automatically be applied when adding a product line item to a quotation if the contact is a member of this type.', 'mask' => NULL, - 'attributes' => NULL, + 'attributes' => ' pattern="([0-9]*[.])?[0-9]+" ', 'javascript' => NULL, 'is_active' => TRUE, 'is_view' => FALSE,