CoreBOSBB

Full Version: error on net value on payments
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
System calculate a net value with wrong, value.

See attached
please reproduce online
try setting credit to true
But the value is wrong, not?

Correct value is 500 ... not 499

and In demo, currency olnly display EURO or Dollar and a problem with a Real, because a inversion of comma and decimal point ...

even I include a Brazil Real, in currency, and setting in users preferences ...

See attached images
In my test, I need inform a expression always with a decimal point right?

I setting user with a Brazilian stadand. but when I try using a expression with comma, system shows

Fatal error: Uncaught Exception: Was expecting a close bracket in /usr/share/eCRM/ecrmweb-master/modules/com_vtiger_workflow/expression_engine/VTParser.inc:97 Stack trace: #0 /usr/share/eCRM/ecrmweb-master/modules/com_vtiger_workflow/expression_engine/VTParser.inc(188): VTExpressionParser->atom() #1 /usr/share/eCRM/ecrmweb-master/modules/com_vtiger_workflow/expression_engine/VTParser.inc(176): VTExpressionParser->unaryOp() #2 /usr/share/eCRM/ecrmweb-master/modules/com_vtiger_workflow/expression_engine/VTParser.inc(166): VTExpressionParser->binOpPrec(-1) #3 /usr/share/eCRM/ecrmweb-master/modules/com_vtiger_workflow/expression_engine/VTParser.inc(166): VTExpressionParser->binOpPrec(0) #4 /usr/share/eCRM/ecrmweb-master/modules/com_vtiger_workflow/expression_engine/VTParser.inc(166): VTExpressionParser->binOpPrec(1) #5 /usr/share/eCRM/ecrmweb-master/modules/com_vtiger_workflow/expression_engine/VTParser.inc(166): VTExpressionParser->binOpPrec(2) #6 /usr/share/eCRM/ecrmweb-master/modules/com_vtiger_workflow/expression_engine/V in /usr/share/eCRM/ecrmweb-master/modules/com_vtiger_workflow/expression_engine/VTParser.inc on line 97


example

I wish, add a more than one field, to calculte a cost and a financial cost ( with credicard )

(amount * 0.03) + cf_1045 ( works, only I use a decimal point ) if I user a comma, system shows message above ...
Yes, expressions and formulas always use US format