2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 19:15:41 +00:00

Merge pull request #1746 from matmair/human-readable-cur

make currency selection options human-readable
This commit is contained in:
Oliver
2021-07-03 08:40:15 +10:00
committed by GitHub

View File

@ -28,7 +28,7 @@ def currency_code_mappings():
"""
Returns the current currency choices
"""
return [(a, a) for a in settings.CURRENCIES]
return [(a, CURRENCIES[a].name) for a in settings.CURRENCIES]
def currency_codes():