Dépôt officiel du code source de l'ERP OpenConcerto
/trunk/Modules/Module Customer Support/src/org/openconcerto/modules/customersupport/CustomerSupportTicketSheetXML.java |
---|
File deleted |
/trunk/Modules/Module Customer Support/src/org/openconcerto/modules/customersupport/CustomerTicketHistorySQLElement.java |
---|
26,6 → 26,7 |
public CustomerTicketHistorySQLElement(AbstractModule module) { |
super(module, Module.TABLE_CUSTOMER_SUPPORT_TICKET_HISTORY); |
this.setL18nLocation(CustomerTicketHistorySQLElement.class); |
PredicateRowAction actionAttachment = new PredicateRowAction(new AttachmentAction().getAction(), true); |
actionAttachment.setPredicate(IListeEvent.getSingleSelectionPredicate()); |
getRowActions().add(actionAttachment); |
/trunk/Modules/Module Customer Support/src/org/openconcerto/modules/customersupport/Module.java |
---|
170,4 → 170,19 |
// nothing to stop |
} |
public static void main(String[] args) throws IOException { |
System.setProperty(ConnexionPanel.QUICK_LOGIN, "true"); |
final File propsFile = new File("module.properties"); |
System.out.println(propsFile.getAbsolutePath()); |
final ModuleFactory factory = new RuntimeModuleFactory(propsFile); |
SQLRequestLog.setEnabled(true); |
SQLRequestLog.showFrame(); |
// uncomment to create and use the jar |
final ModulePackager modulePackager = new ModulePackager(propsFile, new File("bin/")); |
modulePackager.writeToDir(new File("../OpenConcerto/Modules")); |
ModuleManager.getInstance().addFactories(new File("../OpenConcerto/Modules")); |
ModuleManager.getInstance().addFactoryAndStart(factory, false); |
Gestion.main(args); |
} |
} |
/trunk/Modules/Module Customer Support/src/org/openconcerto/modules/customersupport/CustomerSupportTicketSQLElement.java |
---|
12,7 → 12,6 |
import org.openconcerto.erp.core.common.ui.IListFilterDatePanel; |
import org.openconcerto.erp.core.common.ui.PanelFrame; |
import org.openconcerto.erp.model.MouseSheetXmlListeListener; |
import org.openconcerto.erp.modules.AbstractModule; |
import org.openconcerto.erp.modules.ModuleElement; |
import org.openconcerto.sql.element.GlobalMapper; |
35,6 → 34,7 |
public CustomerSupportTicketSQLElement(final AbstractModule module) { |
super(module, Module.TABLE_CUSTOMER_SUPPORT_TICKET); |
this.setL18nLocation(CustomerSupportTicketSQLElement.class); |
// Suivi |
final RowAction.PredicateRowAction addSuiviAction = new RowAction.PredicateRowAction(new AbstractAction("Suivi du ticket") { |
92,9 → 92,6 |
addHistoriqueAction.setPredicate(IListeEvent.createSelectionCountPredicate(0, Integer.MAX_VALUE)); |
getRowActions().add(addHistoriqueAction); |
MouseSheetXmlListeListener l = new MouseSheetXmlListeListener(CustomerSupportTicketSheetXML.class); |
getRowActions().addAll(l.getRowActions()); |
} |
@Override |
/trunk/Modules/Module Customer Support/src/org/openconcerto/modules/customersupport/SQLElementNames_en.xml |
---|
New file |
0,0 → 1,3 |
<translations> |
<element refid="customersupportticket.ticket" name="support ticket" /> |
</translations> |
/trunk/Modules/Module Customer Support/src/org/openconcerto/modules/customersupport/SQLElementNames_fr.xml |
---|
New file |
0,0 → 1,5 |
<translations> |
<element refid="customersupport.ticket" nameClass="masculine" name="ticket de support" /> |
<element refid="customersupport.ticket.history" nameClass="feminine" name="Intervention sur ticket" /> |
</translations> |
/trunk/Modules/Module Customer Support/src/org/openconcerto/modules/customersupport/labels_fr.xml |
---|
1,6 → 1,6 |
<?xml version="1.0" encoding="UTF-8" ?> |
<ROOT> |
<element refid="customersupport.ticket" nameClass="masculine" name="ticket de support"> |
<TABLE name="CUSTOMER_SUPPORT_TICKET"> |
<FIELD name="STATUS" label="Status" /> |
<FIELD name="LABEL" label="Libellé" /> |
<FIELD name="ID_CLIENT" label="Client" /> |
12,11 → 12,11 |
<FIELD name="REMIND_DATE" label="Prochain rappel le" /> |
<FIELD name="DATE" label="Date" /> |
<FIELD name="CLOSED_AND_ARCHIVED" label="Archivé" /> |
</element> |
<element refid="customersupport.ticket.history" nameClass="feminine" name="Intervention sur ticket"> |
</TABLE> |
<TABLE name="CUSTOMER_SUPPORT_TICKET_HISTORY"> |
<FIELD name="ID_CUSTOMER_SUPPORT_TICKET" label="Ticket" /> |
<FIELD name="ID_USER_COMMON" label="Utilisateur en charge" /> |
<FIELD name="INFORMATION" label="Détails de l'intervention" /> |
<FIELD name="DATE" label="Date" /> |
</element> |
</TABLE> |
</ROOT> |