OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Compare Revisions

Regard whitespace Rev 151 → Rev 156

/trunk/OpenConcerto/src/org/openconcerto/erp/core/humanresources/payroll/action/NouveauClassementConventionnelAction.java
File deleted
/trunk/OpenConcerto/src/org/openconcerto/erp/core/humanresources/payroll/action/NouveauReglementPayeAction.java
File deleted
/trunk/OpenConcerto/src/org/openconcerto/erp/core/humanresources/payroll/action/NouvelleFichePayeAction.java
File deleted
/trunk/OpenConcerto/src/org/openconcerto/erp/core/humanresources/payroll/action/NouvelleRubriqueNetAction.java
File deleted
/trunk/OpenConcerto/src/org/openconcerto/erp/core/humanresources/payroll/action/NouvelleVariableSalarieAction.java
File deleted
/trunk/OpenConcerto/src/org/openconcerto/erp/core/humanresources/payroll/action/NouvelleRubriqueBrutAction.java
File deleted
/trunk/OpenConcerto/src/org/openconcerto/erp/core/humanresources/payroll/action/NouvelleRubriqueCotisationAction.java
File deleted
/trunk/OpenConcerto/src/org/openconcerto/erp/core/humanresources/payroll/action/NouveauProfiPayelAction.java
File deleted
/trunk/OpenConcerto/src/org/openconcerto/erp/core/humanresources/payroll/action/NouvelleCaisseCotisationAction.java
File deleted
/trunk/OpenConcerto/src/org/openconcerto/erp/core/humanresources/payroll/action/NouveauCumulCongesAction.java
File deleted
/trunk/OpenConcerto/src/org/openconcerto/erp/core/humanresources/payroll/action/NouveauCumulAction.java
File deleted
/trunk/OpenConcerto/src/org/openconcerto/erp/core/humanresources/payroll/action/NouveauInfosSalariePayeAction.java
File deleted
/trunk/OpenConcerto/src/org/openconcerto/erp/core/humanresources/payroll/action/NouveauRegimeBaseAction.java
13,22 → 13,14
package org.openconcerto.erp.core.humanresources.payroll.action;
 
import org.openconcerto.erp.action.CreateFrameAbstractAction;
import org.openconcerto.sql.Configuration;
import org.openconcerto.sql.view.EditFrame;
import org.openconcerto.erp.action.CreateEditFrameAbstractAction;
import org.openconcerto.erp.core.humanresources.payroll.element.RegimeBaseSQLElement;
import org.openconcerto.sql.PropsConfiguration;
 
import javax.swing.Action;
import javax.swing.JFrame;
public class NouveauRegimeBaseAction extends CreateEditFrameAbstractAction<RegimeBaseSQLElement> {
 
public class NouveauRegimeBaseAction extends CreateFrameAbstractAction {
 
public NouveauRegimeBaseAction() {
super();
this.putValue(Action.NAME, "Choix des régimes");
public NouveauRegimeBaseAction(final PropsConfiguration conf) {
super(conf, RegimeBaseSQLElement.class);
}
 
@Override
public JFrame createFrame() {
return new EditFrame(Configuration.getInstance().getDirectory().getElement("REGIME_BASE"));
}
}
/trunk/OpenConcerto/src/org/openconcerto/erp/core/humanresources/payroll/action/ListeDesVariablesPayes.java
14,7 → 14,7
package org.openconcerto.erp.core.humanresources.payroll.action;
 
import org.openconcerto.erp.action.CreateFrameAbstractAction;
import org.openconcerto.sql.Configuration;
import org.openconcerto.erp.config.ComptaPropsConfiguration;
import org.openconcerto.sql.view.IListFrame;
import org.openconcerto.sql.view.ListeAddPanel;
 
24,7 → 24,6
import javax.swing.JButton;
import javax.swing.JFrame;
 
 
public class ListeDesVariablesPayes extends CreateFrameAbstractAction {
 
public ListeDesVariablesPayes() {
34,8 → 33,8
 
public JFrame createFrame() {
 
final NouvelleVariablePayeAction actionNewVar = new NouvelleVariablePayeAction();
final ListeAddPanel listeVar = new ListeAddPanel(Configuration.getInstance().getDirectory().getElement("VARIABLE_PAYE")) {
final NouvelleVariablePayeAction actionNewVar = new NouvelleVariablePayeAction(ComptaPropsConfiguration.getInstanceCompta());
final ListeAddPanel listeVar = new ListeAddPanel(actionNewVar.getElem()) {
protected void handleAction(JButton source, ActionEvent evt) {
 
if (source == this.buttonAjouter) {
/trunk/OpenConcerto/src/org/openconcerto/erp/core/humanresources/payroll/action/NouvelleVariablePayeAction.java
13,22 → 13,14
package org.openconcerto.erp.core.humanresources.payroll.action;
 
import org.openconcerto.erp.action.CreateFrameAbstractAction;
import org.openconcerto.sql.Configuration;
import org.openconcerto.sql.view.EditFrame;
import org.openconcerto.erp.action.CreateEditFrameAbstractAction;
import org.openconcerto.erp.core.humanresources.payroll.element.VariablePayeSQLElement;
import org.openconcerto.sql.PropsConfiguration;
 
import javax.swing.Action;
import javax.swing.JFrame;
public class NouvelleVariablePayeAction extends CreateEditFrameAbstractAction<VariablePayeSQLElement> {
 
public class NouvelleVariablePayeAction extends CreateFrameAbstractAction {
 
public NouvelleVariablePayeAction() {
super();
this.putValue(Action.NAME, "Test variable");
public NouvelleVariablePayeAction(final PropsConfiguration conf) {
super(conf, VariablePayeSQLElement.class);
}
 
@Override
public JFrame createFrame() {
return new EditFrame(Configuration.getInstance().getDirectory().getElement("VARIABLE_PAYE"));
}
}
/trunk/OpenConcerto/src/org/openconcerto/erp/core/humanresources/payroll/action/NouvelleSaisieKmAction.java
13,30 → 13,14
package org.openconcerto.erp.core.humanresources.payroll.action;
 
import org.openconcerto.erp.action.CreateFrameAbstractAction;
import org.openconcerto.sql.Configuration;
import org.openconcerto.sql.view.EditFrame;
import org.openconcerto.erp.action.CreateEditFrameAbstractAction;
import org.openconcerto.erp.core.finance.accounting.element.SaisieKmSQLElement;
import org.openconcerto.sql.PropsConfiguration;
 
import javax.swing.Action;
import javax.swing.JFrame;
public class NouvelleSaisieKmAction extends CreateEditFrameAbstractAction<SaisieKmSQLElement> {
 
public class NouvelleSaisieKmAction extends CreateFrameAbstractAction {
public NouvelleSaisieKmAction() {
super();
this.putValue(Action.NAME, "Ecritures comptables");
public NouvelleSaisieKmAction(final PropsConfiguration conf) {
super(conf, SaisieKmSQLElement.class);
}
 
@Override
public JFrame createFrame() {
final EditFrame editFrame = new EditFrame(Configuration.getInstance().getDirectory().getElement("SAISIE_KM")) {
@Override
public void inserted(int id) {
super.inserted(id);
if (getPanel().alwaysVisible()) {
getSQLComponent().resetValue();
}
}
};
return editFrame;
}
}
/trunk/OpenConcerto/src/org/openconcerto/erp/core/humanresources/payroll/action/NouvelAcompteAction.java
13,21 → 13,14
package org.openconcerto.erp.core.humanresources.payroll.action;
 
import org.openconcerto.erp.action.CreateFrameAbstractAction;
import org.openconcerto.sql.Configuration;
import org.openconcerto.sql.view.EditFrame;
import org.openconcerto.erp.action.CreateEditFrameAbstractAction;
import org.openconcerto.erp.core.humanresources.payroll.element.AcompteSQLElement;
import org.openconcerto.sql.PropsConfiguration;
 
import javax.swing.Action;
import javax.swing.JFrame;
public class NouvelAcompteAction extends CreateEditFrameAbstractAction<AcompteSQLElement> {
 
public class NouvelAcompteAction extends CreateFrameAbstractAction {
public NouvelAcompteAction(final PropsConfiguration conf) {
super(conf, AcompteSQLElement.class);
}
public NouvelAcompteAction() {
super();
this.putValue(Action.NAME, "Acompte");
}
@Override
public JFrame createFrame() {
return new EditFrame(Configuration.getInstance().getDirectory().getElement("ACOMPTE"));
}
}