- Posts: 1
- Thank you received: 0
Change "period" to comma on amount
- Fabio Alves
- Topic Author
- Offline
- New Member
Less
More
5 years 7 months ago #117236
by Fabio Alves
Change "period" to comma on amount was created by Fabio Alves
Hi,
Its posible to change "period" to "comma" on amount ? I need to show amount in brazilian real amount (like "R$ 10.000,00").
Thanks
Its posible to change "period" to "comma" on amount ? I need to show amount in brazilian real amount (like "R$ 10.000,00").
Thanks
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12554
- Thank you received: 1626
5 years 7 months ago #117254
by Mr. Dam
Replied by Mr. Dam on topic Change "period" to comma on amount
Hi Fabio,
You can change the money format through function: "showMoney" in file: root -> administrator -> components -> com_osservicesbooking -> helpers -> helper.php
This code
Thanks
Dam
You can change the money format through function: "showMoney" in file: root -> administrator -> components -> com_osservicesbooking -> helpers -> helper.php
This code
Code:
$money .= number_format($amount,2,'.','')." ";
Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.