Added Locale option for company, this works in conjunction with the way the currency is displayed

This commit is contained in:
johnnyq
2022-02-18 11:14:14 -05:00
parent af465607d3
commit 16968e0b97
11 changed files with 946 additions and 16 deletions

View File

@@ -69,6 +69,7 @@
$session_company_name = $row['company_name'];
$session_company_country = $row['company_country'];
$session_company_locale = $row['company_locale'];
$session_company_currency = $row['company_currency'];
include("get_settings.php");
@@ -89,6 +90,6 @@
$num_alerts = $row['num'];
//Set Currency Format
$currency_format = numfmt_create('en-US', NumberFormatter::CURRENCY);
$currency_format = numfmt_create($session_company_locale, NumberFormatter::CURRENCY);
?>