OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

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

Rev 142 Rev 156
Line 41... Line 41...
41
 
41
 
42
    private DateFormat format = new SimpleDateFormat("ddMMyyyy");
42
    private DateFormat format = new SimpleDateFormat("ddMMyyyy");
43
    private ComptaPropsConfiguration conf = ((ComptaPropsConfiguration) Configuration.getInstance());
43
    private ComptaPropsConfiguration conf = ((ComptaPropsConfiguration) Configuration.getInstance());
44
    private N4DS n4ds;
44
    private N4DS n4ds;
45
 
45
 
46
    Date d = new Date(116, 0, 1);
46
    Date d = new Date(117, 0, 1);
47
    Date d2 = new Date(116, 11, 31);
47
    Date d2 = new Date(117, 11, 31);
48
 
48
 
49
    DecimalFormat decimalFormat = new DecimalFormat("0.00");
49
    DecimalFormat decimalFormat = new DecimalFormat("0.00");
50
 
50
 
51
    // FIXME Salarie renvoye
51
    // FIXME Salarie renvoye
52
 
52
 
Line 61... Line 61...
61
        writeS30(row);
61
        writeS30(row);
62
        writeS41(row, rowSociete);
62
        writeS41(row, rowSociete);
63
        writeS44(row);
63
        writeS44(row);
64
        writeS45(row);
64
        writeS45(row);
65
        writeS48(row);
65
        writeS48(row);
66
        writeS65(row);
66
        //writeS65(row);
67
    }
67
    }
68
 
68
 
69
    private void writeS45(final SQLRow rowSalarie) throws IOException {
69
    private void writeS45(final SQLRow rowSalarie) throws IOException {
70
        // // FIXME
70
        // // FIXME
71
        // n4ds.write("S44.G01.00.001", "07");
71
        // n4ds.write("S44.G01.00.001", "07");
Line 266... Line 266...
266
        // code contrat
266
        // code contrat
267
        SQLRow rowCodeContrat = rowContrat.getForeignRow("ID_CODE_CONTRAT_TRAVAIL");
267
        SQLRow rowCodeContrat = rowContrat.getForeignRow("ID_CODE_CONTRAT_TRAVAIL");
268
        n4ds.write("S40.G10.05.012.001", rowCodeContrat.getString("CODE"));
268
        n4ds.write("S40.G10.05.012.001", rowCodeContrat.getString("CODE"));
269
 
269
 
270
        // code droit contrat
270
        // code droit contrat
271
        SQLRow rowCodeDroitContrat = rowContrat.getForeignRow("ID_CODE_DROIT_CONTRAT");
271
        // SQLRow rowCodeDroitContrat = rowContrat.getForeignRow("ID_CODE_DROIT_CONTRAT");
272
        n4ds.write("S40.G10.05.012.002", rowCodeDroitContrat.getString("CODE"));
272
        // n4ds.write("S40.G10.05.012.002", rowCodeDroitContrat.getString("CODE"));
273
 
273
 
274
        // Code intitulé du contrat de travail
274
        // Code intitulé du contrat de travail
275
        n4ds.write("S40.G10.05.012.003", "90");
275
        n4ds.write("S40.G10.05.012.003", "90");
276
 
276
 
277
        // FIXME code modalité d'activité
277
        // FIXME code modalité d'activité