Dépôt officiel du code source de l'ERP OpenConcerto
/trunk/OpenConcerto/src/org/openconcerto/erp/core/sales/invoice/ui/ListeDesEcheancesClientsPanel.java |
---|
29,7 → 29,6 |
import org.openconcerto.sql.model.SQLRow; |
import org.openconcerto.sql.model.SQLRowValues; |
import org.openconcerto.sql.model.SQLTable; |
import org.openconcerto.sql.users.UserManager; |
import org.openconcerto.sql.users.rights.UserRightsManager; |
import org.openconcerto.sql.view.EditFrame; |
import org.openconcerto.sql.view.EditPanelListener; |
124,7 → 123,7 |
// Bouton Relancer |
this.relancer = new JButton("Relancer"); |
this.relancer.setHorizontalAlignment(SwingConstants.RIGHT); |
if (UserManager.getInstance().getCurrentUser().getRights().haveRight(NXRights.GESTION_ENCAISSEMENT.getCode())) { |
if (UserRightsManager.getCurrentUserRights().haveRight(NXRights.GESTION_ENCAISSEMENT.getCode())) { |
c.gridx++; |
this.add(this.relancer, c); |
this.relancer.addActionListener(new ActionListener() { |
139,7 → 138,7 |
this.encaisser.setHorizontalAlignment(SwingConstants.RIGHT); |
c.gridx++; |
c.weightx = 0; |
if (UserManager.getInstance().getCurrentUser().getRights().haveRight(NXRights.GESTION_ENCAISSEMENT.getCode())) { |
if (UserRightsManager.getCurrentUserRights().haveRight(NXRights.GESTION_ENCAISSEMENT.getCode())) { |
this.add(this.encaisser, c); |
} |