Merge pull request #28745 from akhilnarang/set-webform-sysdefaults-currency

fix: set `currency` system setting in webform `frappe.boot.sysdefaults`
This commit is contained in:
Akhil Narang 2024-12-11 18:15:48 +05:30 committed by GitHub
commit 264155635a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -179,6 +179,7 @@ def get_boot_data():
"time_format": get_time_format(),
"first_day_of_the_week": get_first_day_of_the_week(),
"number_format": get_number_format().string,
"currency": frappe.get_system_settings("currency"),
},
"time_zone": {
"system": get_system_timezone(),