mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-27 10:31:50 -04:00
Language additions and code corrections
This commit is contained in:
@@ -311,7 +311,7 @@ class Config extends Secure_Controller
|
||||
$number_locale = $this->input->post('number_locale');
|
||||
$fmt = new \NumberFormatter($number_locale, \NumberFormatter::CURRENCY);
|
||||
$currency_symbol = empty($this->input->post('currency_symbol')) ? $fmt->getSymbol(\NumberFormatter::CURRENCY_SYMBOL) : $this->input->post('currency_symbol');
|
||||
$currency_code = empty($this->input->post('currency_code')) ? $fmt->getSymbol(\NumberFormatter::CURRENCY_CODE) : $this->input->post('currency_code');
|
||||
$currency_code = empty($this->input->post('currency_code')) ? $fmt->getTextAttribute(\NumberFormatter::CURRENCY_CODE) : $this->input->post('currency_code');
|
||||
|
||||
if($this->input->post('thousands_separator') == 'false')
|
||||
{
|
||||
|
||||
@@ -44,6 +44,7 @@ $lang["config_company_select_image"] = "Select Image";
|
||||
$lang["config_company_website_url"] = "Company website is not a valid URL (http://...)";
|
||||
$lang["config_country_codes"] = "Country Codes";
|
||||
$lang["config_country_codes_tooltip"] = "Comma separated list of country codes for nominatim address lookup";
|
||||
$lang["config_currency_code"] = "Currency Code";
|
||||
$lang["config_currency_decimals"] = "Currency Decimals";
|
||||
$lang["config_currency_symbol"] = "Currency Symbol";
|
||||
$lang["config_customer_reward"] = "Reward";
|
||||
|
||||
Reference in New Issue
Block a user