Subversion Repositories SmartDukaan

Rev

Rev 3390 | Rev 3408 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3390 Rev 3398
Line 102... Line 102...
102
            activity.setTicketDescription(ticket.getDescription());
102
            activity.setTicketDescription(ticket.getDescription());
103
            activity.setTicketPriority(ticket.getPriority());
103
            activity.setTicketPriority(ticket.getPriority());
104
            activity.setTicketStatus(ticket.getStatus());
104
            activity.setTicketStatus(ticket.getStatus());
105
            activity.setType(ActivityType.RECEIVED_EMAIL_FROM_CUSTOMER);
105
            activity.setType(ActivityType.RECEIVED_EMAIL_FROM_CUSTOMER);
106
            activity.setCreatorId(CRMConstants.ADMIN_AGENT_ID);
106
            activity.setCreatorId(CRMConstants.ADMIN_AGENT_ID);
-
 
107
            activity.setIsRead(false);
107
 
108
 
108
            if (ticket.isSetCustomerId()) {
109
            if (ticket.isSetCustomerId()) {
109
                activity.setCustomerId(ticket.getCustomerId());
110
                activity.setCustomerId(ticket.getCustomerId());
110
            }
111
            }
111
 
112
 
Line 161... Line 162...
161
        activity.setTicketDescription(ticket.getDescription());
162
        activity.setTicketDescription(ticket.getDescription());
162
        activity.setTicketPriority(ticket.getPriority());
163
        activity.setTicketPriority(ticket.getPriority());
163
        activity.setTicketStatus(ticket.getStatus());
164
        activity.setTicketStatus(ticket.getStatus());
164
        activity.setType(ActivityType.RECEIVED_EMAIL_FROM_CUSTOMER);
165
        activity.setType(ActivityType.RECEIVED_EMAIL_FROM_CUSTOMER);
165
        activity.setCreatorId(CRMConstants.ADMIN_AGENT_ID);
166
        activity.setCreatorId(CRMConstants.ADMIN_AGENT_ID);
-
 
167
        activity.setIsRead(false);
166
 
168
 
167
        client = new CRMClient().getClient();
169
        client = new CRMClient().getClient();
168
        client.insertTicket(ticket, activity);
170
        client.insertTicket(ticket, activity);
169
    }
171
    }
170
 
172