- Author
- llturro
Definition at line 21 of file CrmMenu.java.
◆ addToMenu()
Reimplemented from org.turro.menu.ElephantMenu.
Definition at line 24 of file CrmMenu.java.
25 bar.addMenu(
"Commercial", Permission.from(
"sale-action",
"sale-prospect",
"campaign",
"customer",
"vendor"))
27 .addMenuitem(
"Sale actions",
"appointment",
"/crm/saleactions.zul", Permission.from(
"sale-prospect:list"))
28 .addMenuitem(
"Sale prospects",
"sale",
"/crm/saleprospects.zul", Permission.from(
"sale-prospect:list"))
29 .addMenuitem(
"Activity",
"activity",
"/crm/activity.zul", Permission.from(
"sale-prospect:list"))
30 .addMenuitem(
"Campaigns",
"campaign",
"/crm/campaigns.zul", Permission.from(
"campaign:list"))
31 .addMenuitem(
"Customers",
"vendor",
"/crm/customers.zul", Permission.from(
"customer:list"))
33 .addMenuitem(
"Vendors",
"vendor",
"/crm/vendors.zul", Permission.from(
"vendor:list"))
34 .addMenuitem(
"Formulas",
"formula",
"/crm/formulas.zul", Permission.from(
"formula:list"))
35 .addMenuitem(
"Touch points",
"/crm/touchpoints.zul", Permission.from(
"touchpoint:list"))
36 .addMenuitem(
"Activity sectors",
"sector",
"/crm/activitysectors.zul", Permission.from(
"activity-sector:list"))
37 .addMenuitem(
"Technologies",
"technology",
"/crm/technologies.zul", Permission.from(
"activity-sector:list"))
39 .addMenuitem(
"New campaign",
"campaign_new", (EventListener) (Event event) -> {
41 },
false, Permission.from(
"campaign:new"))
42 .addMenuitem(
"New sale prospect",
"sale_new", (EventListener) (Event event) -> {
44 },
false, Permission.from(
"sale-prospect:new"))
45 .addMenuitem(
"New customer",
"customer_new", (EventListener) (Event event) -> {
47 },
false, Permission.from(
"customer:new"))
48 .addMenuitem(
"New vendor",
"vendor_new", (EventListener) (Event event) -> {
50 },
false, Permission.from(
"vendor:new"));
◆ showActivity()
Definition at line 82 of file CrmMenu.java.
83 HashMap<String, Object> map =
new HashMap<String, Object>();
84 map.put(
"vendor", vendor);
85 map.put(
"saleProspect", saleProspect);
86 map.put(
"customer", customer);
◆ showCampaign()
static void org.turro.crm.zul.menu.CrmMenu.showCampaign |
( |
Long |
id | ) |
|
|
static |
◆ showCustomer()
static void org.turro.crm.zul.menu.CrmMenu.showCustomer |
( |
long |
id | ) |
|
|
static |
◆ showSaleActions() [1/2]
static void org.turro.crm.zul.menu.CrmMenu.showSaleActions |
( |
Vendor |
vendor, |
|
|
SaleProspect |
saleProspect |
|
) |
| |
|
static |
◆ showSaleActions() [2/2]
static void org.turro.crm.zul.menu.CrmMenu.showSaleActions |
( |
Vendor |
vendor, |
|
|
SaleProspect |
saleProspect, |
|
|
Date |
from, |
|
|
Date |
to |
|
) |
| |
|
static |
Definition at line 73 of file CrmMenu.java.
74 HashMap<String, Object> map =
new HashMap<String, Object>();
75 map.put(
"vendor", vendor);
76 map.put(
"salep", saleProspect);
77 map.put(
"from", from);
79 showZulFile(
"Sale actions",
"/crm/saleactions.zul", map);
◆ showSaleProspect()
static void org.turro.crm.zul.menu.CrmMenu.showSaleProspect |
( |
Long |
id | ) |
|
|
static |
Definition at line 65 of file CrmMenu.java.
66 showEntity(
id,
"saleProspectId",
"Sale prospect",
"/crm/saleprospect.zul");
◆ showVendor()
static void org.turro.crm.zul.menu.CrmMenu.showVendor |
( |
long |
id | ) |
|
|
static |
The documentation for this class was generated from the following file: