Commit graph

15 commits

Author SHA1 Message Date
Kimmo Puputti
22b0aa512b Don't throw error when dealing with other currencies
The app can handle many currencies, and changing the default currency
shouldn't break the Styleguide.
2017-11-28 15:14:29 +02:00
Kimmo Puputti
90ab9c9a69 Format with latest Prettier 2017-10-13 10:11:51 +03:00
Kimmo Puputti
a238265e94 Rename minorUnitDivisors to subUnitDivisors 2017-08-28 13:41:36 +03:00
Kimmo Puputti
178937ab27 Try not to pass around subUnitDivisor 2017-08-28 11:14:22 +03:00
Kimmo Puputti
55e9574ce8 Avoid passing around currencyConfig 2017-08-25 10:59:15 +03:00
Kimmo Puputti
cb41d90d7b Remove currencyConfig from formatMoney params 2017-08-25 10:09:52 +03:00
Kimmo Puputti
a214a04901 Remove subUnitDivisor from convertMoneyToNumber params 2017-08-25 10:09:52 +03:00
Kimmo Puputti
ac0f43fb62 Validate currency bounds 2017-08-23 15:15:48 +03:00
Kimmo Puputti
58674649f1 Handle goog.math.Long in Money handling 2017-08-22 12:37:41 +03:00
Kimmo Puputti
a317261abb Add helper function to format money values 2017-08-02 10:48:37 +03:00
Vesa Luusua
a31545ad4c Show price on ListingPage and ListingCards 2017-03-23 17:11:36 +02:00
Vesa Luusua
1a5a587be4 Convert Money to number 2017-03-23 17:11:21 +02:00
Vesa Luusua
ae7b999774 Rename usePoint (real meaning useComma) and refactoring 2017-03-23 15:32:41 +02:00
Vesa Luusua
9344bdc00d Pass subUnitDivisor through config to components 2017-03-23 15:32:41 +02:00
Vesa Luusua
0de0ff723d CurrencyInput component and value formatting as strings 2017-03-23 15:32:40 +02:00