19 package org.turro.crm.zul.sale;
21 import java.util.ArrayList;
22 import java.util.Date;
23 import java.util.EnumSet;
24 import org.turro.crm.db.CrmPU;
25 import org.turro.crm.entity.ProspectStage;
26 import org.turro.crm.entity.ProspectType;
27 import org.turro.crm.entity.SaleAction;
28 import org.turro.crm.entity.SaleProspect;
29 import org.turro.crm.entity.TouchPoint;
30 import org.turro.elephant.util.Messages;
31 import org.turro.i18n.I_;
32 import org.turro.jpa.Dao;
33 import org.turro.status.Status;
45 this.saleProspect = saleProspect;
68 final ArrayList<SaleAction> saleActions =
new ArrayList<SaleAction>();
78 sa.setEndingTouchPoint(
null);
83 sa.setEndingTouchPoint(
null);
98 if(!saleActions.isEmpty()) {
100 .
add(saleActions.size() +
" " +
I_.
get(
"Sale actions")).
show(() -> {
static final int SA_PENDING
void setStage(ProspectStage stage)
SaleActionSet getSaleActions()
boolean canChangeTo(ProspectStage newStage)
ProspectStageWrapper(SaleProspect saleProspect, Date now)
ProspectStage doCheckStatus(Date now)
ProspectStage doChangeTo(final ProspectStage newStage)
static Messages confirmProcess()
Messages add(String word)
static String get(String msg)