mirror of
https://github.com/we-promise/sure.git
synced 2026-04-20 20:44:08 +00:00
Multi-currency support (#425)
* Initial foundational pass at multi-currency * Default format currency * More work on currency and exchanging * Re-build currencies on change * Currency import/setup * Background job overhaul + cheaper OXR plan support * Lint fixes * Test fixes * Multi-currency setup instructions * Allow decimals in the balance field * Spacing fix for form --------- Signed-off-by: Josh Pigford <josh@joshpigford.com>
This commit is contained in:
13
test/fixtures/exchange_rates.yml
vendored
Normal file
13
test/fixtures/exchange_rates.yml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
base_currency: one
|
||||
converted_currency: one
|
||||
rate: 9.99
|
||||
date: 2024-02-09
|
||||
|
||||
two:
|
||||
base_currency: two
|
||||
converted_currency: two
|
||||
rate: 9.99
|
||||
date: 2024-02-09
|
||||
Reference in New Issue
Block a user