OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

Rev 151 | Rev 182 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 151 Rev 156
Line 20... Line 20...
20
import org.openconcerto.erp.core.common.ui.AbstractVenteArticleItemTable;
20
import org.openconcerto.erp.core.common.ui.AbstractVenteArticleItemTable;
21
import org.openconcerto.erp.core.common.ui.DeviseField;
21
import org.openconcerto.erp.core.common.ui.DeviseField;
22
import org.openconcerto.erp.core.common.ui.PanelFrame;
22
import org.openconcerto.erp.core.common.ui.PanelFrame;
23
import org.openconcerto.erp.core.edm.AttachmentAction;
23
import org.openconcerto.erp.core.edm.AttachmentAction;
24
import org.openconcerto.erp.core.finance.accounting.element.EcritureSQLElement;
24
import org.openconcerto.erp.core.finance.accounting.element.EcritureSQLElement;
-
 
25
import org.openconcerto.erp.core.finance.payment.element.ModeDeReglementSQLElement;
25
import org.openconcerto.erp.core.sales.account.PartialInvoiceEditGroup;
26
import org.openconcerto.erp.core.sales.account.PartialInvoiceEditGroup;
26
import org.openconcerto.erp.core.sales.account.VenteFactureSituationSQLComponent;
27
import org.openconcerto.erp.core.sales.account.VenteFactureSituationSQLComponent;
27
import org.openconcerto.erp.core.sales.account.VenteFactureSoldeEditGroup;
28
import org.openconcerto.erp.core.sales.account.VenteFactureSoldeEditGroup;
28
import org.openconcerto.erp.core.sales.account.VenteFactureSoldeSQLComponent;
29
import org.openconcerto.erp.core.sales.account.VenteFactureSoldeSQLComponent;
29
import org.openconcerto.erp.core.sales.invoice.component.SaisieVenteFactureSQLComponent;
30
import org.openconcerto.erp.core.sales.invoice.component.SaisieVenteFactureSQLComponent;
30
import org.openconcerto.erp.core.sales.invoice.report.VenteFactureXmlSheet;
31
import org.openconcerto.erp.core.sales.invoice.report.VenteFactureXmlSheet;
-
 
32
import org.openconcerto.erp.core.sales.invoice.ui.DateReglementRenderer;
31
import org.openconcerto.erp.core.sales.product.element.ReferenceArticleSQLElement;
33
import org.openconcerto.erp.core.sales.product.element.ReferenceArticleSQLElement;
32
import org.openconcerto.erp.core.sales.shipment.component.BonDeLivraisonSQLComponent;
34
import org.openconcerto.erp.core.sales.shipment.component.BonDeLivraisonSQLComponent;
33
import org.openconcerto.erp.core.supplychain.stock.element.MouvementStockSQLElement;
35
import org.openconcerto.erp.core.supplychain.stock.element.MouvementStockSQLElement;
34
import org.openconcerto.erp.generationEcritures.GenerationMvtRetourNatexis;
36
import org.openconcerto.erp.generationEcritures.GenerationMvtRetourNatexis;
35
import org.openconcerto.erp.generationEcritures.GenerationMvtSaisieVenteFacture;
37
import org.openconcerto.erp.generationEcritures.GenerationMvtSaisieVenteFacture;
Line 86... Line 88...
86
import java.awt.GridBagLayout;
88
import java.awt.GridBagLayout;
87
import java.awt.event.ActionEvent;
89
import java.awt.event.ActionEvent;
88
import java.awt.event.ActionListener;
90
import java.awt.event.ActionListener;
89
import java.math.BigDecimal;
91
import java.math.BigDecimal;
90
import java.math.RoundingMode;
92
import java.math.RoundingMode;
-
 
93
import java.sql.Date;
91
import java.sql.SQLException;
94
import java.sql.SQLException;
92
import java.util.ArrayList;
95
import java.util.ArrayList;
93
import java.util.Arrays;
96
import java.util.Arrays;
94
import java.util.Collection;
97
import java.util.Collection;
95
import java.util.Collections;
98
import java.util.Collections;
Line 184... Line 187...
184
                    // getForeignElement("ID_CLIENT")).printLabel(IListe.get(e).getSelectedRow().getForeign("ID_CLIENT"),
187
                    // getForeignElement("ID_CLIENT")).printLabel(IListe.get(e).getSelectedRow().getForeign("ID_CLIENT"),
185
                    // property);
188
                    // property);
186
                }
189
                }
187
            }, false, "customerrelationship.customer.label.print");
190
            }, false, "customerrelationship.customer.label.print");
188
            actionPrintLabel.setPredicate(IListeEvent.getSingleSelectionPredicate());
191
            actionPrintLabel.setPredicate(IListeEvent.getSingleSelectionPredicate());
189
           // l.add(actionPrintLabel);
192
            // l.add(actionPrintLabel);
190
        }
193
        }
191
        RowAction actionClone = new RowAction(new AbstractAction() {
194
        RowAction actionClone = new RowAction(new AbstractAction() {
192
            public void actionPerformed(ActionEvent e) {
195
            public void actionPerformed(ActionEvent e) {
193
 
196
 
194
                SQLElement eltFact = Configuration.getInstance().getDirectory().getElement("SAISIE_VENTE_FACTURE");
197
                SQLElement eltFact = Configuration.getInstance().getDirectory().getElement("SAISIE_VENTE_FACTURE");
Line 626... Line 629...
626
                FrameUtil.showPacked(f);
629
                FrameUtil.showPacked(f);
627
            }
630
            }
628
 
631
 
629
        });
632
        });
630
    }
633
    }
-
 
634
 
-
 
635
    @Override
-
 
636
    protected String createCode() {
-
 
637
        return "sales.invoice";
-
 
638
    }
631
}
639
}