From ce2930fdb336f11e0782d62d49fd7d78cc310d97 Mon Sep 17 00:00:00 2001 From: Carlos Pacha Date: Mon, 24 Jan 2011 14:57:30 +0000 Subject: [PATCH] correction bug 5870, added $ symbol in a field currency --- gulliver/system/class.xmlform.php | 2 +- workflow/engine/xmlform/dynaforms/fields/currency.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php index 01781a58f..3c059f4b5 100644 --- a/gulliver/system/class.xmlform.php +++ b/gulliver/system/class.xmlform.php @@ -1387,7 +1387,7 @@ class XmlForm_Field_Currency extends XmlForm_Field_SimpleText { var $readOnly = false; var $maxLength = 15; - var $mask = '_###,###,###,###;###,###,###,###.##'; + var $mask = '_###,###,###,###;###,###,###,###.## $'; var $currency = '$'; //Atributes only for grids var $formula = ''; diff --git a/workflow/engine/xmlform/dynaforms/fields/currency.xml b/workflow/engine/xmlform/dynaforms/fields/currency.xml index d0f6bd43e..1c34ecab8 100644 --- a/workflow/engine/xmlform/dynaforms/fields/currency.xml +++ b/workflow/engine/xmlform/dynaforms/fields/currency.xml @@ -34,7 +34,7 @@ SELECT XMLNODE_NAME, TYPE FROM dynaForm WHERE XMLNODE_NAME = @@PME_XMLNODE_NAME Validate - + Mask @@ -131,4 +131,4 @@ function cancel(){ } ]]> - \ No newline at end of file +