OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

Rev 174 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 174 Rev 177
Line 227... Line 227...
227
            cellCredit.setCellValue(credit / 100.0D);
227
            cellCredit.setCellValue(credit / 100.0D);
228
 
228
 
229
            Cell cellDebAbo = row.createCell(11);
229
            Cell cellDebAbo = row.createCell(11);
230
            Cell cellFinAbo = row.createCell(12);
230
            Cell cellFinAbo = row.createCell(12);
231
 
231
 
232
            if (rowValsSource != null && rowValsSource.contains("ID_ABONNEMENT") && rowValsSource.getTable().getName().equals("ID_SAISIE_VENTE_FACTURE") && cpt.startsWith("41")) {
232
            if (rowValsSource != null && rowValsSource.contains("ID_ABONNEMENT") && rowValsSource.getTable().getName().equals("SAISIE_VENTE_FACTURE") && cpt.startsWith("41")) {
233
                SQLRowAccessor rowValsAbo = rowValsSource.getForeign("ID_ABONNEMENT");
233
                SQLRowAccessor rowValsAbo = rowValsSource.getForeign("ID_ABONNEMENT");
234
                if (rowValsAbo != null && !rowValsAbo.isUndefined()) {
234
                if (rowValsAbo != null && !rowValsAbo.isUndefined()) {
235
                    final Calendar calDeb = rowValsAbo.getDate("DATE_DEBUT_FACTURE");
235
                    final Calendar calDeb = rowValsAbo.getDate("DATE_DEBUT_FACTURE");
236
                    if (calDeb != null) {
236
                    if (calDeb != null) {
237
                        cellDebAbo.setCellValue(calDeb.getTime());
237
                        cellDebAbo.setCellValue(calDeb.getTime());