Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
36231 102 d 10 h ranu /trunk/profitmandi-fofo/src/main/ any rbm can see activity his partner ticket  
36040 119 d 11 h ranu /trunk/profitmandi-fofo/src/main/ filter and some other requirement addded in tickets view  
35640 170 d 11 h amit /trunk/profitmandi-fofo/src/main/ Skip escalations in ticket overview Message column, compact escalation styling in detail dialog

- Pass lastMessageMap to ticket overview templates for all three views
(myTicket, managerTicket, myPartnerTicket)
- Template Message column prefers lastMessageMap over activityMap
- Escalation activities in detail dialog render as compact centered
system messages with pill styling instead of chat bubbles
- Add .system-activity CSS for compact centered gray pill style
 
35626 171 d 10 h amit /trunk/ Ticket system: add unread tracking, pagination, search, and partner notifications  
35604 173 d 13 h amit /trunk/profitmandi-fofo/src/main/webapp/resources/js/ Fix modal backdrop not removing after ticket assignment

- Close modal and remove backdrop in changeTicket callback before reloading page
- Same fix applied to changeMyPartnerTicket function
 
35594 174 d 6 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 174 d 14 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
 
35569 183 d 6 h amit /trunk/profitmandi-fofo/src/main/ CRM-only external communication + performance & security improvements

Feature:
- Restrict external communication (COMMUNICATION_OUT) to CRM team only (category_id=9)
- Non-CRM users can only send internal communications
- Hide internal/external checkbox for non-CRM users in UI

Performance:
- Eliminate duplicate AuthUser fetch in getTicket() - reuse variable
- Eliminate duplicate activity query (selectAll called twice)
- Fetch only needed AuthUsers instead of all users for activity display
- Same optimizations applied to getMyPartyTicketTicket()

Security:
- Add escapeHtml() function to prevent XSS in activity messages
- Applied to all user-generated content display

UX:
- Add loading spinner while fetching activities

Code Quality:
- Add ActivityType constants for consistent usage
- Add toBool() helper for cleaner boolean checks
- Refactored loadActivities() for better readability
 
34913 327 d 2 h ranu /trunk/profitmandi-fofo/src/main/ show all parties ticket to abm  
33081 861 d 14 h ranu /trunk/profitmandi-fofo/src/main/ ticket category internal and external  
32885 908 d 12 h shampa /trunk/profitmandi-fofo/src/main/webapp/resources/js/ remove refresh loader  
31771 1204 d 10 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/resources/js/  
31762 1208 d 11 h tejbeer /trunk/ ticket and imei wise scheme related changes  
31414 1292 d 5 h amit.gupta /trunk/profitmandi-fofo/src/main/ F  
31412 1292 d 9 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/resources/js/ Fixed formatting  
27755 1988 d 8 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/resources/js/ Fixed live with on  
27754 1988 d 9 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/resources/js/ Fixed live with on  
27410 2067 d 9 h tejbeer /trunk/ position related change  
27285 2089 d 17 h tejbeer /trunk/ change  
27270 2091 d 9 h tejbeer /trunk/ change  
27169 2109 d 13 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/resources/js/  
27167 2109 d 14 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/resources/js/  
27165 2110 d 9 h amit.gupta /trunk/profitmandi-fofo/src/main/ Added changes to ticket js.. Removing name  
27149 2110 d 17 h amit.gupta /trunk/profitmandi-fofo/src/main/ Added ticket related fix, partner messages shown as sd team messages.  
27141 2112 d 8 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/resources/js/  
27124 2113 d 8 h amit.gupta /trunk/ Fixed escalation  
26014 2403 d 9 h amit.gupta /trunk/ Added Access management on admin  
25570 2502 d 9 h tejbeer /trunk/ mapping change  
24840 2663 d 15 h govind /trunk/profitmandi-fofo/src/main/  
24836 2664 d 12 h govind /trunk/  
24824 2667 d 16 h govind /trunk/ Internal Communication  
24787 2674 d 10 h govind /trunk/  
24751 2679 d 15 h govind /trunk/  
24748 2679 d 16 h govind /trunk/profitmandi-fofo/src/main/webapp/  
24747 2679 d 16 h govind /trunk/ Search for Manager Ticket  
24699 2685 d 13 h govind /trunk/  
24620 2698 d 10 h govind /trunk/ closing ticket  
24574 2702 d 9 h govind /trunk/profitmandi-fofo/src/main/webapp/resources/js/ Modification in ticket  
24557 2705 d 15 h govind /trunk/ Changes in ticket  
24534 2707 d 14 h govind /trunk/profitmandi-fofo/src/main/webapp/ Modification in Ticket not showing assignee