OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

Rev 156 | Rev 177 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 156 Rev 174
Line 27... Line 27...
27
import javax.swing.ButtonGroup;
27
import javax.swing.ButtonGroup;
28
import javax.swing.JCheckBox;
28
import javax.swing.JCheckBox;
29
 
29
 
30
public class GestionCommercialeGlobalPreferencePanel extends JavaPrefPreferencePanel {
30
public class GestionCommercialeGlobalPreferencePanel extends JavaPrefPreferencePanel {
31
    public static String TRANSFERT_REF = "TransfertRef";
31
    public static String TRANSFERT_REF = "TransfertRef";
-
 
32
    public static String COMMANDE_FOURNISSEUR_EN_COURS = "CommandeFournisseurEncours";
32
    public static String TRANSFERT_MULTI_REF = "TransfertMultiRef";
33
    public static String TRANSFERT_MULTI_REF = "TransfertMultiRef";
33
    public static String TRANSFERT_NO_REF = "TransfertNoRef";
34
    public static String TRANSFERT_NO_REF = "TransfertNoRef";
34
    public static String ACOMPTE_DEVIS = "AcompteDevis";
35
    public static String ACOMPTE_DEVIS = "AcompteDevis";
35
    public static String ORDER_PACKAGING_MANAGEMENT = "OrderPackagingManagement";
36
    public static String ORDER_PACKAGING_MANAGEMENT = "OrderPackagingManagement";
36
    public static String ADDRESS_SPEC = "AddressSpec";
37
    public static String ADDRESS_SPEC = "AddressSpec";
-
 
38
    public static String CATEGORIE_COMPTABLE_SPEC = "CategorieComptableSpec";
37
    public static String GESTION_TIMBRE_FISCAL = "GestionTimbreFiscal";
39
    public static String GESTION_TIMBRE_FISCAL = "GestionTimbreFiscal";
38
    public static String TAUX_TIMBRE_FISCAL = "TauxTimbreFiscal";
40
    public static String TAUX_TIMBRE_FISCAL = "TauxTimbreFiscal";
39
    public static String BARCODE_INSERTION = "BarcodeInsertion";
41
    public static String BARCODE_INSERTION = "BarcodeInsertion";
40
    public static String CREATE_ECR_CHQ = "CreateEcritureCheque";
42
    public static String CREATE_ECR_CHQ = "CreateEcritureCheque";
41
    public static String CHIFFRAGE_COMMANDE_CLIENT = "ChiffrageCmdClient";
43
    public static String CHIFFRAGE_COMMANDE_CLIENT = "ChiffrageCmdClient";
Line 67... Line 69...
67
 
69
 
68
        PrefView<Boolean> orderQuoting = new PrefView<Boolean>(PrefType.BOOLEAN_TYPE, "Gérer le chiffrage détaillés des commandes clients", CHIFFRAGE_COMMANDE_CLIENT);
70
        PrefView<Boolean> orderQuoting = new PrefView<Boolean>(PrefType.BOOLEAN_TYPE, "Gérer le chiffrage détaillés des commandes clients", CHIFFRAGE_COMMANDE_CLIENT);
69
        orderQuoting.setDefaultValue(Boolean.FALSE);
71
        orderQuoting.setDefaultValue(Boolean.FALSE);
70
        this.addView(orderQuoting);
72
        this.addView(orderQuoting);
71
 
73
 
-
 
74
        PrefView<Boolean> cmdEnCours = new PrefView<Boolean>(PrefType.BOOLEAN_TYPE, "Activer la gestion des commandes fournisseurs en cours", COMMANDE_FOURNISSEUR_EN_COURS);
-
 
75
        cmdEnCours.setDefaultValue(Boolean.FALSE);
-
 
76
        this.addView(cmdEnCours);
-
 
77
 
72
        PrefView<Boolean> viewAcompteDevis = new PrefView<Boolean>(PrefType.BOOLEAN_TYPE, "Gérer les acomptes sur devis", ACOMPTE_DEVIS);
78
        PrefView<Boolean> viewAcompteDevis = new PrefView<Boolean>(PrefType.BOOLEAN_TYPE, "Gérer les acomptes sur devis", ACOMPTE_DEVIS);
73
        viewAcompteDevis.setDefaultValue(Boolean.FALSE);
79
        viewAcompteDevis.setDefaultValue(Boolean.FALSE);
74
        this.addView(viewAcompteDevis);
80
        this.addView(viewAcompteDevis);
75
 
81
 
76
        PrefView<Boolean> addressSpec = new PrefView<Boolean>(PrefType.BOOLEAN_TYPE, "Afficher les sélecteurs d'adresse spécifique", ADDRESS_SPEC);
82
        PrefView<Boolean> addressSpec = new PrefView<Boolean>(PrefType.BOOLEAN_TYPE, "Afficher les sélecteurs d'adresse spécifique", ADDRESS_SPEC);
77
        addressSpec.setDefaultValue(Boolean.TRUE);
83
        addressSpec.setDefaultValue(Boolean.TRUE);
78
        this.addView(addressSpec);
84
        this.addView(addressSpec);
79
 
85
        
-
 
86
        PrefView<Boolean> catComptableSpec = new PrefView<Boolean>(PrefType.BOOLEAN_TYPE, "Afficher les sélecteurs de catégorie comptable spécifique", CATEGORIE_COMPTABLE_SPEC);
-
 
87
        catComptableSpec.setDefaultValue(Boolean.FALSE);
-
 
88
        this.addView(catComptableSpec);
-
 
89
 
80
        PrefView<Boolean> gestTimbreFisc = new PrefView<Boolean>(PrefType.BOOLEAN_TYPE, "Activer la gestion du timbre fiscal", GESTION_TIMBRE_FISCAL);
90
        PrefView<Boolean> gestTimbreFisc = new PrefView<Boolean>(PrefType.BOOLEAN_TYPE, "Activer la gestion du timbre fiscal", GESTION_TIMBRE_FISCAL);
81
        gestTimbreFisc.setDefaultValue(Boolean.FALSE);
91
        gestTimbreFisc.setDefaultValue(Boolean.FALSE);
82
        this.addView(gestTimbreFisc);
92
        this.addView(gestTimbreFisc);
83
 
93
 
84
        PrefView<Double> tauxTimbreFisc = new PrefView<Double>(PrefType.DOUBLE_TYPE, "Taux du timbre fiscal", TAUX_TIMBRE_FISCAL);
94
        PrefView<Double> tauxTimbreFisc = new PrefView<Double>(PrefType.DOUBLE_TYPE, "Taux du timbre fiscal", TAUX_TIMBRE_FISCAL);