Line 1... |
Line 1... |
1 |
/*
|
1 |
/*
|
2 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
|
2 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
|
3 |
*
|
3 |
*
|
4 |
* Copyright 2011 OpenConcerto, by ILM Informatique. All rights reserved.
|
4 |
* Copyright 2011-2019 OpenConcerto, by ILM Informatique. All rights reserved.
|
5 |
*
|
5 |
*
|
6 |
* The contents of this file are subject to the terms of the GNU General Public License Version 3
|
6 |
* The contents of this file are subject to the terms of the GNU General Public License Version 3
|
7 |
* only ("GPL"). You may not use this file except in compliance with the License. You can obtain a
|
7 |
* only ("GPL"). You may not use this file except in compliance with the License. You can obtain a
|
8 |
* copy of the License at http://www.gnu.org/licenses/gpl-3.0.html See the License for the specific
|
8 |
* copy of the License at http://www.gnu.org/licenses/gpl-3.0.html See the License for the specific
|
9 |
* language governing permissions and limitations under the License.
|
9 |
* language governing permissions and limitations under the License.
|
Line 264... |
Line 264... |
264 |
// // Dupliquer
|
264 |
// // Dupliquer
|
265 |
RowAction cloneAction = getCloneAction();
|
265 |
RowAction cloneAction = getCloneAction();
|
266 |
|
266 |
|
267 |
rowsActions.add(cloneAction);
|
267 |
rowsActions.add(cloneAction);
|
268 |
|
268 |
|
269 |
MouseSheetXmlListeListener mouseSheetXmlListeListener = new MouseSheetXmlListeListener(DevisXmlSheet.class);
|
269 |
MouseSheetXmlListeListener mouseSheetXmlListeListener = new MouseSheetXmlListeListener(this, DevisXmlSheet.class);
|
270 |
mouseSheetXmlListeListener.setGenerateHeader(true);
|
270 |
mouseSheetXmlListeListener.setGenerateHeader(true);
|
271 |
mouseSheetXmlListeListener.setShowHeader(true);
|
271 |
mouseSheetXmlListeListener.setShowHeader(true);
|
272 |
|
272 |
|
273 |
rowsActions.addAll(mouseSheetXmlListeListener.getRowActions());
|
273 |
rowsActions.addAll(mouseSheetXmlListeListener.getRowActions());
|
274 |
|
274 |
|
Line 655... |
Line 655... |
655 |
if (UserRightsManager.getCurrentUserRights().haveRight(AbstractVenteArticleItemTable.SHOW_PRIX_ACHAT_CODE)) {
|
655 |
if (UserRightsManager.getCurrentUserRights().haveRight(AbstractVenteArticleItemTable.SHOW_PRIX_ACHAT_CODE)) {
|
656 |
l.add("T_HA");
|
656 |
l.add("T_HA");
|
657 |
}
|
657 |
}
|
658 |
l.add("T_HT");
|
658 |
l.add("T_HT");
|
659 |
l.add("T_TTC");
|
659 |
l.add("T_TTC");
|
- |
|
660 |
if (getTable().contains("TRANSFORMATION")) {
|
- |
|
661 |
l.add("TRANSFORMATION");
|
- |
|
662 |
}
|
660 |
SQLPreferences prefs = SQLPreferences.getMemCached(getTable().getDBRoot());
|
663 |
SQLPreferences prefs = SQLPreferences.getMemCached(getTable().getDBRoot());
|
661 |
if (prefs.getBoolean(GestionCommercialeGlobalPreferencePanel.ACOMPTE_DEVIS, false)) {
|
664 |
if (prefs.getBoolean(GestionCommercialeGlobalPreferencePanel.ACOMPTE_DEVIS, false)) {
|
662 |
l.add("T_ACOMPTE");
|
665 |
l.add("T_ACOMPTE");
|
663 |
}
|
666 |
}
|
664 |
l.add("INFOS");
|
667 |
l.add("INFOS");
|