Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
37820 8 d 9 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 30 d 10 h ranu /trunk/ system generated leak bgc l2 can assign to l1 without any geo location  
37541 32 d 9 h ranu /trunk/ loi process added, revival and code changes process  
37498 38 d 11 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 79 d 11 h ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ WHATSAPP_CAMPAIGN added in lead  
37046 92 d 9 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 92 d 12 h ranu /trunk/ targeted calling count on today po rbm  
37021 94 d 15 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 100 d 9 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 101 d 14 h aman /trunk/ Add AI assistant lead intake endpoint (POST /add/lead) tagging source=AI Assistant in Lead Management  
36642 140 d 7 h ranu /trunk/ route plan map  
35769 235 d 10 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 235 d 12 h aman /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Fix:Add Webinar option in source  
35576 263 d 15 h aman /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Feat:Add lead id and auth id in respective data table  
35548 268 d 8 h aman /trunk/ Feat : Bulk uploader for lead reassign and update state and city for leads  
35252 339 d 15 h aman /trunk/ Feat:Expire Schemes by ids and lead assign to bgc too  
34890 416 d 14 h aman /trunk/profitmandi-fofo/src/main/ Fix:Get lead by date  
34650 492 d 11 h aman.kumar /trunk/profitmandi-fofo/src/main/ Leads Download by data feature implemented  
34392 548 d 12 h tejus.lohani /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ fix  
34269 583 d 13 h tejus.lohani /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ appreciate on 8 or more then 8  
34265 583 d 16 h ranu /trunk/ code committed for potential in lead  
33990 685 d 16 h tejus.lohani /trunk/ Purchase sale ratio graph related files  
33222 907 d 11 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ changed request to lead  
32666 1045 d 15 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Fixed lengthmenu for Lead  
32476 1114 d 9 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
32471 1114 d 11 h tejbeer /trunk/  
32464 1115 d 15 h tejbeer /trunk/profitmandi-fofo/src/main/  
31409 1374 d 9 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/  
31371 1379 d 11 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
31249 1397 d 16 h tejbeer /trunk/ visit changes  
31214 1409 d 9 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ fixed lead logic invalid for initialising data table  
30947 1486 d 12 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
30601 1583 d 16 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Added velocity  
29661 1768 d 16 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
29600 1781 d 15 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
29478 1813 d 9 h manish /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ commit  
29473 1814 d 15 h manish /trunk/profitmandi-fofo/src/main/  
29448 1817 d 12 h manish /trunk/profitmandi-fofo/src/main/ commit  
29445 1817 d 15 h manish /trunk/ commit  
29427 1822 d 9 h manish /trunk/profitmandi-fofo/src/main/webapp/ commit