Subversion Repositories SmartDukaan

Rev

Rev 36984 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 36984 Rev 37003
Line 1079... Line 1079...
1079
        } else {
1079
        } else {
1080
            lead.setColor("Yellow");
1080
            lead.setColor("Yellow");
1081
        }
1081
        }
1082
        lead.setNotinterestedReason(createLeadActivityRequest.getReason());
1082
        lead.setNotinterestedReason(createLeadActivityRequest.getReason());
1083
        lead.setUpdatedTimestamp(LocalDateTime.now());
1083
        lead.setUpdatedTimestamp(LocalDateTime.now());
-
 
1084
        // Persist the mutated Lead row. Without this the audit activity is written but
-
 
1085
        // the main lead table keeps the old status/assignTo — the list view shows the
-
 
1086
        // stale row while the activity dialog shows the new state.
-
 
1087
        leadRepository.persist(lead);
1084
 
1088
 
1085
        int authId = 0;
1089
        int authId = 0;
1086
        authId = lead.getAssignTo();
1090
        authId = lead.getAssignTo();
1087
        Map<Integer, LeadActivity> leadActivityMap = new HashMap<>();
1091
        Map<Integer, LeadActivity> leadActivityMap = new HashMap<>();
1088
 
1092