RON needs to be added as a new currency in CURRENCY_SYMBOLS = %w[€ $ £ ¥].freeze.
In order to adhere to the way contributing is done in Consul (documentation), we need to create app/models/custom/budget.rb and add this new currency in a customization of the budget model.
We also need to change how the currency is displayed. The format should be <sum> <currency> (as in 20 RON). The current way in which Consul displayed currency is:
Make sure to add require_dependency at the top of the file as in the examples in the documentation.
RON needs to be added as a new currency in
CURRENCY_SYMBOLS = %w[€ $ £ ¥].freeze
.In order to adhere to the way contributing is done in Consul (documentation), we need to create
app/models/custom/budget.rb
and add this new currency in a customization of thebudget
model.We also need to change how the currency is displayed. The format should be
<sum> <currency>
(as in20 RON
). The current way in which Consul displayed currency is:Make sure to add
require_dependency
at the top of the file as in the examples in the documentation.