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 95... Line 95...
95
 
95
 
96
                // Nom Banque
96
                // Nom Banque
97
                JLabel labelNomBq = new JLabel(getLabelFor("NOM_BANQUE"));
97
                JLabel labelNomBq = new JLabel(getLabelFor("NOM_BANQUE"));
98
                labelNomBq.setHorizontalAlignment(SwingConstants.RIGHT);
98
                labelNomBq.setHorizontalAlignment(SwingConstants.RIGHT);
99
                SQLTextCombo textNomBq = new SQLTextCombo();
99
                SQLTextCombo textNomBq = new SQLTextCombo();
100
 
-
 
-
 
100
                c.weightx = 0;
101
                panelBanque.add(labelNomBq, c);
101
                panelBanque.add(labelNomBq, c);
102
                c.gridx++;
102
                c.gridx++;
103
                c.weightx = 1;
103
                c.weightx = 1;
104
                panelBanque.add(textNomBq, c);
104
                panelBanque.add(textNomBq, c);
105
                c.weightx = 0;
105
                c.weightx = 0;
106
 
106
 
-
 
107
                // IBAN
-
 
108
                JLabel labelIBAN = new JLabel(getLabelFor("IBAN"));
-
 
109
                labelIBAN.setHorizontalAlignment(SwingConstants.RIGHT);
-
 
110
                JTextField textIBAN = new JTextField();
-
 
111
 
-
 
112
                c.gridy++;
-
 
113
                c.gridx = 0;
-
 
114
                c.weightx = 0;
-
 
115
                panelBanque.add(labelIBAN, c);
-
 
116
                c.gridx++;
-
 
117
                c.weightx = 1;
-
 
118
                panelBanque.add(textIBAN, c);
-
 
119
 
-
 
120
                // BIC
-
 
121
                JLabel labelBIC = new JLabel(getLabelFor("BIC"));
-
 
122
                labelBIC.setHorizontalAlignment(SwingConstants.RIGHT);
-
 
123
                JTextField textBIC = new JTextField();
-
 
124
 
-
 
125
                c.gridy++;
-
 
126
                c.gridx = 0;
-
 
127
                c.weightx = 0;
-
 
128
                panelBanque.add(labelBIC, c);
-
 
129
                c.gridx++;
-
 
130
                c.weightx = 1;
-
 
131
                panelBanque.add(textBIC, c);
-
 
132
 
107
                // RIB
133
                // RIB
108
                JLabel labelRIB = new JLabel(getLabelFor("RIB"));
134
                JLabel labelRIB = new JLabel(getLabelFor("RIB"));
109
                labelRIB.setHorizontalAlignment(SwingConstants.RIGHT);
135
                labelRIB.setHorizontalAlignment(SwingConstants.RIGHT);
110
                JTextField textRIB = new JTextField();
136
                JTextField textRIB = new JTextField();
111
 
137
 
Line 151... Line 177...
151
                c.gridwidth = 1;
177
                c.gridwidth = 1;
152
                c.weightx = 0;
178
                c.weightx = 0;
153
                c.gridy++;
179
                c.gridy++;
154
                panelReglement.add(radioLe, c);
180
                panelReglement.add(radioLe, c);
155
                c.gridx++;
181
                c.gridx++;
-
 
182
                c.weightx = 1;
156
                panelReglement.add(textLe, c);
183
                panelReglement.add(textLe, c);
157
                textLe.setText("31");
184
                textLe.setText("31");
158
                c.gridx++;
185
                c.gridx++;
159
                c.weightx = 1;
186
                c.weightx = 0;
160
                panelReglement.add(labelDu, c);
187
                panelReglement.add(labelDu, c);
-
 
188
                c.weightx = 1;
161
 
189
 
162
                c.gridy++;
190
                c.gridy++;
163
                c.gridx = 0;
191
                c.gridx = 0;
164
                c.gridwidth = GridBagConstraints.REMAINDER;
192
                c.gridwidth = GridBagConstraints.REMAINDER;
165
                panelReglement.add(radioFin, c);
193
                panelReglement.add(radioFin, c);
Line 208... Line 236...
208
                ISQLCompteSelector compteSal = new ISQLCompteSelector();
236
                ISQLCompteSelector compteSal = new ISQLCompteSelector();
209
 
237
 
210
                c.gridx = 0;
238
                c.gridx = 0;
211
                c.gridy = 0;
239
                c.gridy = 0;
212
                c.gridwidth = 1;
240
                c.gridwidth = 1;
-
 
241
                c.weightx = 0;
213
                panelCompta.add(labelCompteSal, c);
242
                panelCompta.add(labelCompteSal, c);
214
                c.gridx++;
243
                c.gridx++;
215
                c.weightx = 1;
244
                c.weightx = 1;
216
                panelCompta.add(compteSal, c);
245
                panelCompta.add(compteSal, c);
217
 
246
 
Line 223... Line 252...
223
                c.anchor = GridBagConstraints.NORTHWEST;
252
                c.anchor = GridBagConstraints.NORTHWEST;
224
                this.add(panelCompta, c);
253
                this.add(panelCompta, c);
225
 
254
 
226
                this.addSQLObject(textNomBq, "NOM_BANQUE");
255
                this.addSQLObject(textNomBq, "NOM_BANQUE");
227
                this.addSQLObject(textRIB, "RIB");
256
                this.addSQLObject(textRIB, "RIB");
-
 
257
                this.addSQLObject(textIBAN, "IBAN");
-
 
258
                this.addSQLObject(textBIC, "BIC");
228
                this.addRequiredSQLObject(typeRegl, "ID_MODE_REGLEMENT_PAYE");
259
                this.addRequiredSQLObject(typeRegl, "ID_MODE_REGLEMENT_PAYE");
229
                this.addRequiredSQLObject(textLe, "LE");
260
                this.addRequiredSQLObject(textLe, "LE");
230
                this.addRequiredSQLObject(compteSal, "ID_COMPTE_PCE");
261
                this.addRequiredSQLObject(compteSal, "ID_COMPTE_PCE");
231
                // compteSal.init();
262
                // compteSal.init();
232
            }
263
            }