Thursday, November 20, 2008 ..:: Forums ::.. Register  Login
 Forums Minimize
SearchForum Home
     
  Mainstream Forums  Bugs  Java Script Err...
 Java Script Error when creating payment
 
nyounaki
46 posts
Joined
12/11/2007

Java Script Error when creating payment
Posted: 03 Jan 08 6:29 PM

When trying to create new incomming payment -> when selecting the invoice from the list a java script error is displayed preventing showing the invoice amount into the specific field the java error script is :

Line : 6

Char: 2

Error: 'num_grp_sep' is undefined

Code : 0

url : localhost/splendidcrm/payment/edit.aspx

I have IE6

Thanks

 

support
2094 posts
1st
Joined
1/3/2006

Re: Java Script Error when creating payment
Posted: 03 Jan 08 8:04 PM

Add the following to ~/Payments/EditView.ascx

var num_grp_sep = '<%= Sql.IsEmptyString(Session["USER_SETTINGS/GROUP_SEPARATOR" ]) ? "," : Sql.ToString(Session["USER_SETTINGS/GROUP_SEPARATOR" ]) %>';

var dec_sep = '<%= Sql.IsEmptyString(Session["USER_SETTINGS/DECIMAL_SEPARATOR"]) ? "." : Sql.ToString(Session["USER_SETTINGS/DECIMAL_SEPARATOR"]) %>';

nyounaki
46 posts
Joined
12/11/2007

Re: Java Script Error when creating payment
Posted: 04 Jan 08 7:22 AM

Many Thanks I have add the java script and the error is not appearing but the field amount should be default inherited from the invoice when selecting the invoice  .that is right or wrong ? (I'm not sure )

can you clarify ?.

  Mainstream Forums  Bugs  Java Script Err...

Forum Home  Search       

Copyright (c) 2006-2008 SplendidCRM Software, Inc. All Rights Reserved.   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2008 by Perpetual Motion Interactive Systems Inc.
SplendidCRM and SplendidCRM Software are trademarks of SplendidCRM Software, Inc. SugarCRM is a trademark of SugarCRM Inc. in the United States, the European Union and other countries. All other trademarks used in this web site are the property of their respective owners.