Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
37820 7 d 5 h aman /trunk/ Lead Management: make Excel/CSV download honour the same filters as the on-screen list. V2 download no longer folds followUp into the status list when All is chosen (it skipped the status/color/date query and exported only follow-ups); fofo lead page re-selects every chosen status so Download sends the statuses the table was loaded with.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JjVXnkrysiXEa2YYRn4BqL
 
37558 29 d 7 h ranu /trunk/ system generated leak bgc l2 can assign to l1 without any geo location  
37541 31 d 6 h ranu /trunk/ loi process added, revival and code changes process  
37498 37 d 8 h amit /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Fix: namespace document-level handlers in remaining vm fragments

Completes the sweep started in r37493/r37494. These fragments are injected
with .html(), which re-executes their inline <script>, so every load stacked
another $(document) delegated handler. Mutating handlers then fired N
identical requests and were rejected as duplicates; read-only ones silently
fired N GETs (never deduped, so no alert - just N times the load).

35 fragments, 70 bindings. Adopts the create-purchase-return.vm convention:
one $(document).off('.ns') before the first binding, every event namespaced,
so only the newest binding survives a re-injection.

Notes:
- ticket.vm binds via jQuery(document).on, which the earlier passes did not
match, and its clear must sit OUTSIDE ready() - that callback fires async,
so an inside-ready clear would wipe the top-level binds registered before it.
- agreement-esign-panel, full-stock-payment-panel and create-purchase-return
were left alone; they already clear their handlers (selector-targeted
.off('click', sel) and .off('.createpr') respectively).

Behaviour-preserving: every diff line is either a namespace suffix on an
event string or a new off() call. Selectors, handlers and ordering untouched.
Verified no unprotected document-level bindings remain in any fragment.
 
37131 78 d 8 h ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ WHATSAPP_CAMPAIGN added in lead  
37046 91 d 6 h aman /trunk/profitmandi-fofo/src/main/ Lead Management: add a bottom global search box mirroring the top lead-table search (name/mobile/outlet/city, any date) so users don't need to scroll back up on a long list; bump asset version to 375  
37042 91 d 9 h ranu /trunk/ targeted calling count on today po rbm  
37021 93 d 12 h aman /trunk/profitmandi-fofo/src/main/ Lead Dashboard: make the lead-table Search box a global partner search (search-as-you-type, debounced) - matches any lead by name/mobile/outlet/city across ALL statuses and dates via /globalLeadSearch; add placeholder + results heading; bump asset version to 371  
36984 99 d 6 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.  
36957 100 d 11 h aman /trunk/ Add AI assistant lead intake endpoint (POST /add/lead) tagging source=AI Assistant in Lead Management  
36642 139 d 4 h ranu /trunk/ route plan map  
35769 234 d 7 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
 
35768 234 d 9 h aman /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Fix:Add Webinar option in source  
35576 262 d 12 h aman /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Feat:Add lead id and auth id in respective data table  
35548 267 d 5 h aman /trunk/ Feat : Bulk uploader for lead reassign and update state and city for leads  
35252 338 d 12 h aman /trunk/ Feat:Expire Schemes by ids and lead assign to bgc too  
34890 415 d 11 h aman /trunk/profitmandi-fofo/src/main/ Fix:Get lead by date  
34650 491 d 8 h aman.kumar /trunk/profitmandi-fofo/src/main/ Leads Download by data feature implemented  
34392 547 d 9 h tejus.lohani /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ fix  
34269 582 d 10 h tejus.lohani /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ appreciate on 8 or more then 8  

Show All