OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

Rev 156 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 156 Rev 174
Line 75... Line 75...
75
    @Override
75
    @Override
76
    protected List<String> getListFields() {
76
    protected List<String> getListFields() {
77
        final List<String> l = new ArrayList<>();
77
        final List<String> l = new ArrayList<>();
78
        l.add("NUMERO");
78
        l.add("NUMERO");
79
        l.add("DATE");
79
        l.add("DATE");
-
 
80
        if(getTable().contains("ID_COMMERCIAL")) {
-
 
81
            l.add("ID_COMMERCIAL");
-
 
82
        }
-
 
83
        
80
        l.add("ID_CLIENT");
84
        l.add("ID_CLIENT");
81
        DefaultProps props = DefaultNXProps.getInstance();
85
        DefaultProps props = DefaultNXProps.getInstance();
82
        Boolean b = props.getBooleanValue("ArticleShowPoids");
86
        Boolean b = props.getBooleanValue("ArticleShowPoids");
83
        if (b) {
87
        if (b) {
84
            l.add("TOTAL_POIDS");
88
            l.add("TOTAL_POIDS");