OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 132 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 132 Rev 142
Line 46... Line 46...
46
        this.baseCurrencyCode = baseCurrencyCode;
46
        this.baseCurrencyCode = baseCurrencyCode;
47
        this.root = rootSociete;
47
        this.root = rootSociete;
48
    }
48
    }
49
 
49
 
50
    public CurrencyConverter() {
50
    public CurrencyConverter() {
51
        this(ComptaPropsConfiguration.getInstanceCompta().getRootSociete(), ComptaPropsConfiguration.getInstanceCompta().getRowSociete().getForeign("ID_DEVISE").getString("CODE"), "EUR");
51
        this(ComptaPropsConfiguration.getInstanceCompta().getRootSociete(), ComptaPropsConfiguration.getInstanceCompta().getCurrency().getCode(), "EUR");
52
    }
52
    }
53
 
53
 
54
    public String getCompanyCurrencyCode() {
54
    public String getCompanyCurrencyCode() {
55
        return companyCurrencyCode;
55
        return companyCurrencyCode;
56
    }
56
    }