OS Property support center

Make Currency Format - 10,00,00,000

  • kalesh.suby
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
12 years 8 months ago #18487 by kalesh.suby
Make Currency Format - 10,00,00,000 was created by kalesh.suby
Hi,

I would like to make Indian rupee currency format as

10,00,00,000

Just commas
No Decimals


Which file should I change?

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago #18488 by Mr. Dam
Replied by Mr. Dam on topic Re: Make Currency Format - 10,00,00,000
Please open file : administrator > components > com_osproperty > classes > configuration > general > currency

Change this code
$option_moneyformat = array();
$option_moneyformat[] = JHtml::_('select.option',0,JTextOs::_('Select Money format'));
$option_moneyformat[] = JHtml::_('select.option',1,JText::_('1.000.000,00'));
$option_moneyformat[] = JHtml::_('select.option',2,JText::_('1 000 000,00'));
$option_moneyformat[] = JHtml::_('select.option',3,JText::_('1,000,000.00'));

echo JHtml::_('select.genericlist',$option_moneyformat,'configuration[general_currency_money_format]','class="inputbox"','value','text',isset($configs)? $configs:0);

to
$option_moneyformat = array();
$option_moneyformat[] = JHtml::_('select.option',0,JTextOs::_('Select Money format'));
$option_moneyformat[] = JHtml::_('select.option',1,JText::_('1.000.000,00'));
$option_moneyformat[] = JHtml::_('select.option',2,JText::_('1 000 000,00'));
$option_moneyformat[] = JHtml::_('select.option',3,JText::_('1,000,000.00'));
$option_moneyformat[] = JHtml::_('select.option',4,JText::_('1.000.000'));
$option_moneyformat[] = JHtml::_('select.option',5,JText::_('1 000 000'));
$option_moneyformat[] = JHtml::_('select.option',6,JText::_('1,000,000'));
echo JHtml::_('select.genericlist',$option_moneyformat,'configuration[general_currency_money_format]','class="inputbox"','value','text',isset($configs)? $configs:0);

Thanks
Dam

Please Log in or Create an account to join the conversation.

More
8 years 1 month ago #96661 by shri ram
Replied by shri ram on topic Re: Make Currency Format - 10,00,00,000
It Doesn't change the format even after i changed the code you provided @dam

Please Log in or Create an account to join the conversation.

More
8 years 1 month ago #96758 by Mr. Dam
Replied by Mr. Dam on topic Re: Make Currency Format - 10,00,00,000
Hi,
As i told you through ticket system, OS Property doesn't support your currency format.
Thanks
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan