Subversion Repositories SmartDukaan

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37630 2 d 7 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/ feat(mail): wire inactive-recipient filter and clean hardcoded addresses

Wire MailRecipientFilter into googleMailSender and gmailRelaySender. Remove inactive/unknown addresses from recipient and access lists, bulk uploader gate to akhil.kumar.
 
37558 8 d 3 h ranu /trunk/ system generated leak bgc l2 can assign to l1 without any geo location  
37557 8 d 5 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ system generated leak bgc l2 can assign to l1 without any geo location  
37355 29 d 7 h aman /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ AI lead intake (fofo, live): assign new leads to a random active BGC L1 instead of the hardcoded Khushbu/Archana round-robin  
37324 31 d 4 h aman /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Lead Management: restrict lead view to field-level sales only (L1-L3). Any SALES position at any level previously forced the own+reportees lead filter, so senior sales heads (L4+ BM/RSM/NSM/co-founder L7) lost visibility of all leads and their dashboard charts collapsed. hasCategory check replaced with isFieldSales() at both view-filter sites; assignee validation untouched.  
37287 38 d 3 h ranu /trunk/ warehouse access  
37048 70 d 2 h ranu /trunk/profitmandi-fofo/src/main/ serching work globally lead management  
37047 70 d 2 h ranu /trunk/profitmandi-fofo/src/main/ targeted calling count on today po rbm  
37036 71 d 2 h aman /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ AI lead intake: round-robin auto-assignment between Khushbu Saxena (authId 134) and Archana Ramola (authId 126), one lead at a time, instead of the hardcoded Shankar Mushran (53). Toggle advances only on a real create (not dedup hits).  
37035 72 d 3 h aman /trunk/profitmandi-fofo/src/main/ AI lead intake in fofo app (deployable via fofo_deploy): add POST /add/lead to fofo LeadController mirroring the profitmandi-web contract (Auth-Token->401, dedup by mobile, NOT-NULL coalesced, stores state+recordingUrl, status=pending, SUCCESS envelope); exclude /add/lead from auth/role/post interceptors in WebConfig; add ai.lead.intake.token to dev/staging/prod (same values as profitmandi-web). Bot repoints host apis.smartdukaan.com -> partners.smartdukaan.com, same path/token/payload.  
37003 76 d 10 h ranu /trunk/profitmandi-fofo/src/main/ positions without partner  
36984 78 d 3 h aman /trunk/ Lead Management: (1) fix date-range CSV download to mirror the on-screen view - all statuses in range PLUS follow-ups - so it no longer returns empty or 500s on empty windows; guard empty result set. (2) Add global lead search (name/mobile/outlet/city across ALL leads, any status/date) wired to the existing lead-table search box (Enter = search all). Bump JS cache version to 369.  
36982 78 d 4 h aman /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Lead download (downloadDateWiseLead): date-range export now returns all selected statuses including follow-up within From-To. Previously follow-ups ignored the date range and selecting All dropped the other statuses.  
36818 99 d 5 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ code commit for agenda fill time stamp  
36792 104 d 2 h ranu /trunk/profitmandi-fofo/src/main/ some enhancement and bug fixes  
36789 104 d 9 h ranu /trunk/profitmandi-fofo/src/main/ some enhancement and bug fixes  
36787 104 d 10 h ranu /trunk/ some enhancement and bug fixes  
36761 107 d 1 h ranu /trunk/profitmandi-fofo/src/main/ some Enhancements or changes  
36741 110 d 3 h ranu /trunk/profitmandi-fofo/src/main/ beat plan info commit  
36644 117 d 18 h ranu /trunk/ route plan map  
36642 118 d 0 h ranu /trunk/ route plan map  
36101 171 d 3 h ranu /trunk/ weekly rating system live on calling module  
35841 205 d 5 h amit /trunk/profitmandi-fofo/src/main/ Remove 6-month date range restriction on leads fetch/download filter  
35769 213 d 4 h amit /trunk/ Lead management fixes: date range filter, schedule timestamp from latest activity, source in edit lead

- Replace single date filter with start/end date range (max 6 months) in getOpenLead and downloadDateWiseLead
- Add new repository methods for date range queries with color/status/authIds filtering
- Fix selectLeadsScheduledBetweenDate SQL to use schedule_timestamp from latest-created activity instead of MAX(schedule_timestamp)
- Add source field to edit lead modal, CreateLeacdActivityRequest model, and EditLead controller
- Bump jsVersion to 318
 
35579 240 d 8 h aman /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Feat:add lead id in lead report  
35548 246 d 1 h aman /trunk/ Feat : Bulk uploader for lead reassign and update state and city for leads  
35508 260 d 5 h ranu /trunk/ lead repo done  
35507 260 d 5 h ranu /trunk/ lead repo done  
35458 271 d 0 h amit /trunk/ Revert @Transactional(readOnly=true) - keep @Transactional only at Controller level

Changes:
- profitmandi-web: Controllers use @Transactional(rollbackFor = Throwable.class) at class level, removed method-level @Transactional(readOnly = true)
- profitmandi-fofo: Controllers use @Transactional(rollbackFor = Throwable.class) at class level, removed method-level @Transactional
- profitmandi-dao: Removed @Transactional from services/repositories

Exceptions (called from interceptors, need own transaction):
- RoleManager: @Transactional(readOnly = true) - called from interceptor for auth
- PartnerTypeChangeServiceImpl.getBestPartner(): @Transactional - called from JWTUtil via interceptor

Fixed javax.transaction.Transactional to org.springframework.transaction.annotation.Transactional
Fixed rollbackOn to rollbackFor for Spring compatibility
 
35395 274 d 19 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fixed performance  
35252 317 d 9 h aman /trunk/ Feat:Expire Schemes by ids and lead assign to bgc too  
35223 334 d 8 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ arr view model  
35098 352 d 7 h ranu /trunk/profitmandi-fofo/src/main/ given amb in lead and also add protection logo for icici insurance  
35083 356 d 7 h vikas /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Lead List Error  
34963 378 d 3 h aman /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fix:Download All lead  
34894 393 d 5 h aman /trunk/ Fix:Download lead report by created timestamp  
34890 394 d 7 h aman /trunk/profitmandi-fofo/src/main/ Fix:Get lead by date  
34707 449 d 1 h aman.kumar /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Correct the lead report data to show all status data  
34671 457 d 3 h aman.kumar /trunk/profitmandi-fofo/src/main/ Duplicate entry for not interested lead  
34650 470 d 5 h aman.kumar /trunk/profitmandi-fofo/src/main/ Leads Download by data feature implemented