OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

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

Rev 174 Rev 177
Line 89... Line 89...
89
import javax.swing.event.DocumentEvent;
89
import javax.swing.event.DocumentEvent;
90
import javax.swing.event.DocumentListener;
90
import javax.swing.event.DocumentListener;
91
import javax.swing.event.TableModelEvent;
91
import javax.swing.event.TableModelEvent;
92
import javax.swing.event.TableModelListener;
92
import javax.swing.event.TableModelListener;
93
 
93
 
-
 
94
import com.ibm.icu.math.BigDecimal;
-
 
95
 
94
public class CommandeSQLComponent extends TransfertBaseSQLComponent {
96
public class CommandeSQLComponent extends TransfertBaseSQLComponent {
95
 
97
 
96
    private CommandeItemTable table = new CommandeItemTable();
98
    private CommandeItemTable table = new CommandeItemTable();
97
    private PanelOOSQLComponent panelOO;
99
    private PanelOOSQLComponent panelOO;
98
 
100
 
Line 1185... Line 1187...
1185
 
1187
 
1186
            for (final SQLRow rowElt : myListItem) {
1188
            for (final SQLRow rowElt : myListItem) {
1187
 
1189
 
1188
                final SQLRowValues rowVals = rowElt.createUpdateRow();
1190
                final SQLRowValues rowVals = rowElt.createUpdateRow();
1189
                rowVals.clearPrimaryKeys();
1191
                rowVals.clearPrimaryKeys();
-
 
1192
                rowVals.put("RECU", Boolean.FALSE);
-
 
1193
                rowVals.put("RECU_FORCED", Boolean.FALSE);
-
 
1194
                rowVals.put("QTE_RECUE", BigDecimal.ZERO);
1190
                this.table.getModel().addRow(rowVals);
1195
                this.table.getModel().addRow(rowVals);
1191
                final int rowIndex = this.table.getModel().getRowCount() - 1;
1196
                final int rowIndex = this.table.getModel().getRowCount() - 1;
1192
                this.table.getModel().fireTableModelModified(rowIndex);
1197
                this.table.getModel().fireTableModelModified(rowIndex);
1193
            }
1198
            }
1194
        } else {
1199
        } else {