Skip to content
Snippets Groups Projects
Commit 8e5c9c74 authored by Preexo's avatar Preexo
Browse files

#126 : swapped default seperator for grouping to avoid same seperator for decimal and grouiping

parent b2f90568
No related branches found
No related tags found
1 merge request!58#126 : swapped default seperator for grouping to avoid same seperator for decimal and grouiping
Loading
  • Manuel @manuelgit ·
    Contributor

    Yes, and that change should be done also in modules/Users/Users.php line 751 for user creation

    Another improve (optional) is add a currency_grouping_separator "none" so we can have this: 123456,78 instead of this: 123.456,78

    Maybe opening a new ticket for this formats not show in inventory creation like quotes invoices etc

    		if(empty($this->column_fields['currency_decimal_separator'])) {
    			$this->column_fields['currency_decimal_separator'] = ',';
    		}
    
    		if(empty($this->column_fields['currency_grouping_separator'])) {
    			$this->column_fields['currency_grouping_separator'] = '.';
    		}
    

    and 1053

    $this->column_fields['currency_decimal_separator'] = $this->currency_decimal_separator = ',';
    			$this->column_fields['currency_grouping_separator'] = $this->currency_grouping_separator = '.';
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment