mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-24 12:34:39 +03:00
currencyUSBasedFormat has been fixed
This commit is contained in:
parent
0bbb4be044
commit
4c5a6b0183
@ -733,7 +733,7 @@ bool ScriptEngineManager::createCurrencyUSBasedFormatFunction(){
|
||||
fd.setDescription("currencyUSBasedFormat(\""+tr("Value")+",\""+tr("CurrencySymbol")+"\")");
|
||||
fd.setScriptWrapper(QString("function currencyUSBasedFormat(value, currencySymbol){"
|
||||
" if(typeof(currencySymbol)==='undefined') currencySymbol = \"\"; "
|
||||
"return %1.currencyFormat(value,currencySymbol);}"
|
||||
"return %1.currencyUSBasedFormat(value,currencySymbol);}"
|
||||
).arg(LimeReport::Const::FUNCTION_MANAGER_NAME)
|
||||
);
|
||||
return addFunction(fd);
|
||||
|
Loading…
Reference in New Issue
Block a user