OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

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

Rev 180 Rev 182
Line 1... Line 1...
1
/*
1
/*
2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3
 * 
3
 * 
4
 * Copyright 2011 OpenConcerto, by ILM Informatique. All rights reserved.
4
 * Copyright 2011-2019 OpenConcerto, by ILM Informatique. All rights reserved.
5
 * 
5
 * 
6
 * The contents of this file are subject to the terms of the GNU General Public License Version 3
6
 * The contents of this file are subject to the terms of the GNU General Public License Version 3
7
 * only ("GPL"). You may not use this file except in compliance with the License. You can obtain a
7
 * only ("GPL"). You may not use this file except in compliance with the License. You can obtain a
8
 * copy of the License at http://www.gnu.org/licenses/gpl-3.0.html See the License for the specific
8
 * copy of the License at http://www.gnu.org/licenses/gpl-3.0.html See the License for the specific
9
 * language governing permissions and limitations under the License.
9
 * language governing permissions and limitations under the License.
Line 271... Line 271...
271
                    } else {
271
                    } else {
272
                        this.addRequiredSQLObject(selFF, ffName);
272
                        this.addRequiredSQLObject(selFF, ffName);
273
                    }
273
                    }
274
                }
274
                }
275
 
275
 
-
 
276
                // ccode congés payés
-
 
277
                JLabel labelCodeConges = new JLabel(getLabelFor("ID_CODE_CAISSE_CONGES_PAYES"));
-
 
278
                labelCodeConges.setHorizontalAlignment(SwingConstants.RIGHT);
-
 
279
 
-
 
280
                c.gridy++;
-
 
281
                c.gridx = 0;
-
 
282
                c.weightx = 0;
-
 
283
                this.add(labelCodeConges, c);
-
 
284
                c.gridx++;
-
 
285
                c.weightx = 1;
-
 
286
                ElementComboBox boxConges = new ElementComboBox(true);
-
 
287
                this.add(boxConges, c);
-
 
288
                this.addView(boxConges, "ID_CODE_CAISSE_CONGES_PAYES");
-
 
289
 
-
 
290
                // Statut profesionnel
-
 
291
                JLabel labelTauxProf = new JLabel(getLabelFor("TAUX_FRAIS_PROFESSIONNELS"));
-
 
292
                labelTauxProf.setHorizontalAlignment(SwingConstants.RIGHT);
-
 
293
                JTextField tauxProf = new JTextField();
-
 
294
                c.gridx++;
-
 
295
                c.weightx = 0;
-
 
296
                this.add(labelTauxProf, c);
-
 
297
                c.gridx++;
-
 
298
                c.weightx = 1;
-
 
299
                this.add(tauxProf, c);
-
 
300
                this.addView(tauxProf, "TAUX_FRAIS_PROFESSIONNELS");
-
 
301
 
276
                // Code Arrco, agirc retirés du contrat et ajoutés dans les caisses de cotisations
302
                // Code Arrco, agirc retirés du contrat et ajoutés dans les caisses de cotisations
277
 
303
 
278
                // Code UGRR
304
                // Code UGRR
279
 
305
 
280
                // JLabel labelCodeUGRR = new JLabel(getLabelFor("CODE_IRC_UGRR"));
306
                // JLabel labelCodeUGRR = new JLabel(getLabelFor("CODE_IRC_UGRR"));
Line 423... Line 449...
423
                c.gridx++;
449
                c.gridx++;
424
                c.weightx = 1;
450
                c.weightx = 1;
425
                this.add(textDateFin, c);
451
                this.add(textDateFin, c);
426
                addSQLObject(textDateFin, "DATE_PREV_FIN");
452
                addSQLObject(textDateFin, "DATE_PREV_FIN");
427
 
453
 
-
 
454
                // Déplacer dans les arrets chomage intempérie
428
                JLabel labelAmen = new JLabel(getLabelFor("ID_CODE_AMENAGEMENT_PARTIEL"));
455
                // JLabel labelAmen = new JLabel(getLabelFor("ID_CODE_AMENAGEMENT_PARTIEL"));
429
                labelAmen.setHorizontalAlignment(SwingConstants.RIGHT);
456
                // labelAmen.setHorizontalAlignment(SwingConstants.RIGHT);
430
                ElementComboBox selAmen = new ElementComboBox();
457
                // ElementComboBox selAmen = new ElementComboBox();
431
                selAmen.setInfoIconVisible(false);
458
                // selAmen.setInfoIconVisible(false);
432
                c.gridy++;
459
                // c.gridy++;
433
                c.gridx = 0;
460
                // c.gridx = 0;
434
                c.weightx = 0;
461
                // c.weightx = 0;
435
                this.add(labelAmen, c);
462
                // this.add(labelAmen, c);
436
                c.gridx++;
463
                // c.gridx++;
437
                c.weightx = 1;
464
                // c.weightx = 1;
438
                this.add(selAmen, c);
465
                // this.add(selAmen, c);
439
                this.addSQLObject(selAmen, "ID_CODE_AMENAGEMENT_PARTIEL");
466
                // this.addSQLObject(selAmen, "ID_CODE_AMENAGEMENT_PARTIEL");
440
 
-
 
-
 
467
                //
441
                JLabel labelSupsension = new JLabel(getLabelFor("ID_CODE_SUSPENSION"));
468
                // JLabel labelSupsension = new JLabel(getLabelFor("ID_CODE_SUSPENSION"));
442
                labelSupsension.setHorizontalAlignment(SwingConstants.RIGHT);
469
                // labelSupsension.setHorizontalAlignment(SwingConstants.RIGHT);
443
                ElementComboBox selSupsension = new ElementComboBox();
470
                // ElementComboBox selSupsension = new ElementComboBox();
444
                selSupsension.setInfoIconVisible(false);
471
                // selSupsension.setInfoIconVisible(false);
445
                c.gridx++;
472
                // c.gridx++;
446
                c.weightx = 0;
473
                // c.weightx = 0;
447
                this.add(labelSupsension, c);
474
                // this.add(labelSupsension, c);
448
                c.gridx++;
475
                // c.gridx++;
449
                c.weightx = 1;
476
                // c.weightx = 1;
450
                this.add(selSupsension, c);
477
                // this.add(selSupsension, c);
451
                this.addSQLObject(selSupsension, "ID_CODE_SUSPENSION");
478
                // this.addSQLObject(selSupsension, "ID_CODE_SUSPENSION");
452
 
-
 
-
 
479
                //
453
                JLabel labelDateDebutSusp = new JLabel(getLabelFor("DATE_DEBUT_SUSPENSION"));
480
                // JLabel labelDateDebutSusp = new JLabel(getLabelFor("DATE_DEBUT_SUSPENSION"));
454
                labelDateDebutSusp.setHorizontalAlignment(SwingConstants.RIGHT);
481
                // labelDateDebutSusp.setHorizontalAlignment(SwingConstants.RIGHT);
455
                JDate textDateDebutSups = new JDate();
482
                // JDate textDateDebutSups = new JDate();
456
                c.gridy++;
483
                // c.gridy++;
457
                c.gridx = 0;
484
                // c.gridx = 0;
458
                c.weightx = 0;
485
                // c.weightx = 0;
459
                this.add(labelDateDebutSusp, c);
486
                // this.add(labelDateDebutSusp, c);
460
                c.gridx++;
487
                // c.gridx++;
461
                c.weightx = 1;
488
                // c.weightx = 1;
462
                this.add(textDateDebutSups, c);
489
                // this.add(textDateDebutSups, c);
463
                this.addSQLObject(textDateDebutSups, "DATE_DEBUT_SUSPENSION");
490
                // this.addSQLObject(textDateDebutSups, "DATE_DEBUT_SUSPENSION");
464
 
-
 
-
 
491
                //
465
                JLabel labelDateFinSups = new JLabel(getLabelFor("DATE_FIN_SUSPENSION"));
492
                // JLabel labelDateFinSups = new JLabel(getLabelFor("DATE_FIN_SUSPENSION"));
466
                labelDateFinSups.setHorizontalAlignment(SwingConstants.RIGHT);
493
                // labelDateFinSups.setHorizontalAlignment(SwingConstants.RIGHT);
467
                JDate textDateFinSuspension = new JDate();
494
                // JDate textDateFinSuspension = new JDate();
468
                c.gridx++;
495
                // c.gridx++;
469
                c.weightx = 0;
496
                // c.weightx = 0;
470
                this.add(labelDateFinSups, c);
497
                // this.add(labelDateFinSups, c);
471
                c.gridx++;
498
                // c.gridx++;
472
                c.weightx = 1;
499
                // c.weightx = 1;
473
                this.add(textDateFinSuspension, c);
500
                // this.add(textDateFinSuspension, c);
474
                this.addSQLObject(textDateFinSuspension, "DATE_FIN_SUSPENSION");
501
                // this.addSQLObject(textDateFinSuspension, "DATE_FIN_SUSPENSION");
475
 
502
 
476
                this.addRequiredSQLObject(selCodeCatSocio, "ID_CODE_EMPLOI");
503
                this.addRequiredSQLObject(selCodeCatSocio, "ID_CODE_EMPLOI");
477
                this.addRequiredSQLObject(selContratTravail, "ID_CODE_CONTRAT_TRAVAIL");
504
                this.addRequiredSQLObject(selContratTravail, "ID_CODE_CONTRAT_TRAVAIL");
478
                this.addRequiredSQLObject(selDroitContrat, "ID_CODE_DROIT_CONTRAT");
505
                this.addRequiredSQLObject(selDroitContrat, "ID_CODE_DROIT_CONTRAT");
479
                this.addRequiredSQLObject(selStatutProf, "ID_CODE_STATUT_PROF");
506
                this.addRequiredSQLObject(selStatutProf, "ID_CODE_STATUT_PROF");