Files
openfoodnetwork/app/assets/javascripts/admin
Jean-Baptiste Bellet d066f0b94d Enable displayable unit price for price with comma as decimal separator
Retrieve the current decimal separator used to display price (`I18n.toCurrency()`), and check if number is formatted with only if this is `,`. If so, remplace comma by point, to pass the check `!isNaN`, and format unit price
2021-05-24 10:55:05 +02:00
..
2021-02-08 22:09:06 +01:00
2018-01-17 12:03:27 +11:00
2021-03-27 11:21:18 -07:00
2021-03-27 11:21:18 -07:00
2021-03-27 11:21:18 -07:00
2021-03-27 11:21:18 -07:00
2021-03-27 11:21:18 -07:00
2020-05-16 14:19:25 +01:00
2021-02-08 22:09:06 +01:00
2021-04-08 12:37:17 +01:00
2021-03-27 11:21:18 -07:00
2021-03-27 11:21:18 -07:00