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 98... Line 98...
98
        l.add("DATE");
98
        l.add("DATE");
99
        l.add("ID_MOUVEMENT");
99
        l.add("ID_MOUVEMENT");
100
        l.add("DATE_VENTE");
100
        l.add("DATE_VENTE");
101
        l.add(getMinDateFieldName());
101
        l.add(getMinDateFieldName());
102
        l.add("ID_CLIENT");
102
        l.add("ID_CLIENT");
-
 
103
        final ShowAs showAs = new ShowAs(getTable().getDBRoot());
-
 
104
        if (getTable().contains("ID_BANQUE")) {
-
 
105
            l.add("ID_BANQUE");
-
 
106
            showAs.show(getTable().getForeignTable("ID_BANQUE"), "NOM");
-
 
107
        }
103
        l.add("MONTANT");
108
        l.add("MONTANT");
104
 
109
 
105
        final ShowAs showAs = new ShowAs(getTable().getDBRoot());
-
 
106
 
110
 
107
        final SQLTable mvtT = getTable().getForeignTable("ID_MOUVEMENT");
111
        final SQLTable mvtT = getTable().getForeignTable("ID_MOUVEMENT");
108
        showAs.show(mvtT, "ID_PIECE");
112
        showAs.show(mvtT, "ID_PIECE");
109
        showAs.show(mvtT.getForeignTable("ID_PIECE"), "NOM");
113
        showAs.show(mvtT.getForeignTable("ID_PIECE"), "NOM");
110
 
114