[Vtigercrm-commits] [vtiger-commits] r9134 - /vtigercrm/trunk/Smarty/templates/CurrencyEditView.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Aug 24 10:27:33 EDT 2006
Author: richie
Date: Thu Aug 24 08:27:29 2006
New Revision: 9134
Log:
changes made to fix the currency related issue --Minnie
Modified:
vtigercrm/trunk/Smarty/templates/CurrencyEditView.tpl
Modified: vtigercrm/trunk/Smarty/templates/CurrencyEditView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/CurrencyEditView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/CurrencyEditView.tpl Thu Aug 24 08:27:29 2006
@@ -128,7 +128,13 @@
if (!emptyCheck("currency_symbol","Currency Symbol","text")) return false
if (!emptyCheck("conversion_rate","Conversion Rate","text")) return false
if (!emptyCheck("currency_status","Currency Status","text")) return false
- return true;
+ if(isNaN(getObj("conversion_rate").value) || eval(getObj("conversion_rate")
+.value) == 0)
+ {
+ alert("Enter valid Conversion Rate")
+ return false
+ }
+ return true;
}
</script>
More information about the vtigercrm-commits
mailing list