Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
35626 103 d 12 h amit /trunk/ Ticket system: add unread tracking, pagination, search, and partner notifications  
35606 105 d 12 h amit /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Fix JavaScript errors: $ is not defined and $retailers is not defined

- ticket.vm, managerTicket.vm, my-partner-tickets.vm: Wrap all jQuery code in $(document).ready() to ensure jQuery is loaded before executing
- admin.vm: Check each variable independently (retailers, warehouses, authId) before assigning to prevent undefined variable errors
 
35602 105 d 16 h amit /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Fix modal backdrop not being removed on close in ticket pages

- Add cleanup handlers for #theModal and #theModal2 on hidden.bs.modal event
- Add global fallback to remove backdrop when all modals are closed
- Add proper modal attributes (tabindex, role, data-backdrop, data-keyboard)
- Prevents screen from becoming unusable after closing assign ticket dialog

Affected pages: My Ticket, My Partner Tickets, Manager Ticket
 
35594 106 d 8 h amit /trunk/ Ticket system: CRM access, category filtering, UI improvements

CRM Team Access:
- CRM users can see all tickets in myticket and managerTicket views
- CRM users can assign/edit tickets from all views
- Only CRM can mark tickets as resolved

Category Filtering (hidden from CRM):
- Sales category (ID 4) and Sales Escalation subcategory (ID 84)
- RBM category (ID 18) and RBM Escalation subcategory (ID 83)

UI Improvements:
- Partner name link opens partnerPerformance in new tab (reusable via .partner-link class)
- Edit modal shows ticket ID and partner name in title
- Resolve confirm shows ticket ID and partner name
- Fixed duplicate class attributes in buttons
- Modal shows after content loads (removed data-toggle conflicts)

Version bump: JS 313, CSS 34
 
35592 106 d 16 h amit /trunk/ Ticket system improvements: N+1 query fixes, authorization checks, CRM access, UI fixes

- Fix N+1 queries in getSubCategoryIdAndCategoryMap and getAuthUserAndEsclationByPartnerId
- Add authorization checks to ticket endpoints (getActivities, closeTicket, createActivity, editTicket, editPartnerTicket, createLastActivity)
- CRM users can now see all tickets to handle partner communications
- Only CRM team members can mark tickets as resolved
- Fix duplicate HTML IDs in ticket templates (changed to classes)
- Fix getSubCategoryId() bug in edit-ticket modals
- Add message field to create-ticket form
- Update cs.js to use class selectors
 
33779 603 d 16 h ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ tickt created by showed  
33778 603 d 16 h ranu /trunk/profitmandi-fofo/src/main/ created by showed on manager tickets  
33653 646 d 17 h ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ manager ticket assigned to added auth user last name and emp code  
31762 1140 d 13 h tejbeer /trunk/ ticket and imei wise scheme related changes  
26318 2287 d 12 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ change  
24824 2599 d 18 h govind /trunk/ Internal Communication  
24788 2606 d 11 h govind /trunk/  
24748 2611 d 18 h govind /trunk/profitmandi-fofo/src/main/webapp/  
24747 2611 d 18 h govind /trunk/ Search for Manager Ticket  
24699 2617 d 15 h govind /trunk/  
24640 2626 d 17 h govind /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
24620 2630 d 12 h govind /trunk/ closing ticket  
24569 2634 d 16 h govind /trunk/ Issues resolved in ticket  
24530 2640 d 19 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ 1. Fixed styling issues in dialogs
2. Added count to the IMEIS
 
24500 2651 d 13 h govind /trunk/ Ticket Changes  

Show All