| Line 84... |
Line 84... |
| 84 |
if(tktCategory != null) {
|
84 |
if(tktCategory != null) {
|
| 85 |
ticket.setCategory(tktCategory);
|
85 |
ticket.setCategory(tktCategory);
|
| 86 |
} else {
|
86 |
} else {
|
| 87 |
ticket.setCategory(TicketCategory.OTHER);
|
87 |
ticket.setCategory(TicketCategory.OTHER);
|
| 88 |
}
|
88 |
}
|
| - |
|
89 |
if(ticket.getCategory().equals(TicketCategory.Bulk_Order_ENQUIRY)){
|
| - |
|
90 |
ticket.setDescription("From: " + userCommunication.getReplyTo() +
|
| - |
|
91 |
"\n\nSubject: " + userCommunication.getSubject() +
|
| - |
|
92 |
"\n\nBody: " + userCommunication.getMessage());
|
| - |
|
93 |
}
|
| 89 |
if(!ticket.getCategory().equals(TicketCategory.RECHARGE_RELATED)) {
|
94 |
else if(!ticket.getCategory().equals(TicketCategory.RECHARGE_RELATED)) {
|
| 90 |
ticket.setAirwayBillNo(userCommunication.getAirwaybillNo());
|
95 |
ticket.setAirwayBillNo(userCommunication.getAirwaybillNo());
|
| 91 |
ticket.setDescription("From: " + userCommunication.getReplyTo() +
|
96 |
ticket.setDescription("From: " + userCommunication.getReplyTo() +
|
| 92 |
"\n\nSubject: " + userCommunication.getSubject() +
|
97 |
"\n\nSubject: " + userCommunication.getSubject() +
|
| 93 |
"\n\nBody: " + userCommunication.getMessage());
|
98 |
"\n\nBody: " + userCommunication.getMessage());
|
| - |
|
99 |
}
|
| 94 |
} else {
|
100 |
else {
|
| 95 |
ticket.setDescription("From: " + userCommunication.getReplyTo() +
|
101 |
ticket.setDescription("From: " + userCommunication.getReplyTo() +
|
| 96 |
"\n\nSubject: " + userCommunication.getSubject() +
|
102 |
"\n\nSubject: " + userCommunication.getSubject() +
|
| 97 |
"\n\nBody: " + userCommunication.getMessage() +
|
103 |
"\n\nBody: " + userCommunication.getMessage() +
|
| 98 |
"\n\nDevice Number:" + userCommunication.getAirwaybillNo());
|
104 |
"\n\nDevice Number:" + userCommunication.getAirwaybillNo());
|
| 99 |
}
|
105 |
}
|
| 100 |
if(userCommunication.getCommunicationType().getValue() == 2) {
|
106 |
if(userCommunication.getCommunicationType().getValue() == 2 || userCommunication.getCommunicationType().getValue() == 21) {
|
| 101 |
ticket.setAssigneeId(DEF_ASSIGNEE_FOR_ORDER_CANCEL);
|
107 |
ticket.setAssigneeId(DEF_ASSIGNEE_FOR_ORDER_CANCEL);
|
| 102 |
}
|
108 |
}
|
| 103 |
ticket.setCustomerEmailId(userCommunication.getReplyTo());
|
109 |
ticket.setCustomerEmailId(userCommunication.getReplyTo());
|
| 104 |
ticket.setOrderId(userCommunication.getOrderId());
|
110 |
ticket.setOrderId(userCommunication.getOrderId());
|
| 105 |
ticket.setCreatorId(ADMIN_AGENT_ID);
|
111 |
ticket.setCreatorId(ADMIN_AGENT_ID);
|