OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

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

Rev 149 Rev 156
Line 70... Line 70...
70
                }
70
                }
71
            }
71
            }
72
        }
72
        }
73
 
73
 
74
        SQLRow rowMvtSource = tableMouvement.getRow(mvtSource);
74
        SQLRow rowMvtSource = tableMouvement.getRow(mvtSource);
-
 
75
        if (rowMvtSource == null) {
-
 
76
            throw new IllegalStateException("Aucun mouvement source associé aux échéances.\n(Mouvement source : " + mvtSource + ", REGLER_MONTANT " + regMontantRow.getID() + ")");
-
 
77
        }
75
 
78
 
76
        // si paiement comptant
79
        // si paiement comptant
77
        if ((modeRegRow.getInt("AJOURS") == 0) && (modeRegRow.getInt("LENJOUR") == 0)) {
80
        if ((modeRegRow.getInt("AJOURS") == 0) && (modeRegRow.getInt("LENJOUR") == 0)) {
78
 
81
 
79
            System.err.println("Règlement Comptant");
82
            System.err.println("Règlement Comptant");