Line 41... |
Line 41... |
41 |
public static String BARCODE_INSERTION = "BarcodeInsertion";
|
41 |
public static String BARCODE_INSERTION = "BarcodeInsertion";
|
42 |
public static String CREATE_ECR_CHQ = "CreateEcritureCheque";
|
42 |
public static String CREATE_ECR_CHQ = "CreateEcritureCheque";
|
43 |
public static String CHIFFRAGE_COMMANDE_CLIENT = "ChiffrageCmdClient";
|
43 |
public static String CHIFFRAGE_COMMANDE_CLIENT = "ChiffrageCmdClient";
|
44 |
public static String IMPUT_ECART = "ImputEcart";
|
44 |
public static String IMPUT_ECART = "ImputEcart";
|
45 |
public static String FRAIS_DOCUMENT = "GestionFraisDocuments";
|
45 |
public static String FRAIS_DOCUMENT = "GestionFraisDocuments";
|
- |
|
46 |
public static String COMPTE_CLIENT_AUTO = "CompteClientAuto";
|
46 |
|
47 |
|
47 |
public GestionCommercialeGlobalPreferencePanel() {
|
48 |
public GestionCommercialeGlobalPreferencePanel() {
|
48 |
super("Gestion des pièces commerciales", null);
|
49 |
super("Gestion des pièces commerciales", null);
|
49 |
setPrefs(new SQLPreferences(((ComptaPropsConfiguration) Configuration.getInstance()).getRootSociete()));
|
50 |
setPrefs(new SQLPreferences(((ComptaPropsConfiguration) Configuration.getInstance()).getRootSociete()));
|
50 |
}
|
51 |
}
|
51 |
|
52 |
|
52 |
@Override
|
53 |
@Override
|
53 |
protected void addViews() {
|
54 |
protected void addViews() {
|
- |
|
55 |
PrefView<Boolean> viewCompteClientAuto = new PrefView<Boolean>(PrefType.BOOLEAN_TYPE, "Créer les comptes clients en automatique à la création", COMPTE_CLIENT_AUTO);
|
- |
|
56 |
viewCompteClientAuto.setDefaultValue(Boolean.FALSE);
|
- |
|
57 |
this.addView(viewCompteClientAuto);
|
- |
|
58 |
|
54 |
PrefView<Boolean> viewTransfert = new PrefView<Boolean>(PrefType.BOOLEAN_TYPE, "Transférer les numéros des pièces commeriales en tant que référence", TRANSFERT_REF);
|
59 |
PrefView<Boolean> viewTransfert = new PrefView<Boolean>(PrefType.BOOLEAN_TYPE, "Transférer les numéros des pièces commeriales en tant que référence", TRANSFERT_REF);
|
55 |
viewTransfert.setDefaultValue(Boolean.TRUE);
|
60 |
viewTransfert.setDefaultValue(Boolean.TRUE);
|
56 |
this.addView(viewTransfert);
|
61 |
this.addView(viewTransfert);
|
57 |
|
62 |
|
58 |
PrefView<Boolean> viewMultiTransfert = new PrefView<Boolean>(PrefType.BOOLEAN_TYPE, "Transférer les numéros des pièces commerciales dans le corps", TRANSFERT_MULTI_REF);
|
63 |
PrefView<Boolean> viewMultiTransfert = new PrefView<Boolean>(PrefType.BOOLEAN_TYPE, "Transférer les numéros des pièces commerciales dans le corps", TRANSFERT_MULTI_REF);
|