Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
36231 34 d 19 h ranu /trunk/profitmandi-fofo/src/main/ any rbm can see activity his partner ticket  
36040 51 d 20 h ranu /trunk/profitmandi-fofo/src/main/ filter and some other requirement addded in tickets view  
35640 102 d 21 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 103 d 20 h amit /trunk/ Ticket system: add unread tracking, pagination, search, and partner notifications  
35604 105 d 23 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 106 d 16 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 107 d 0 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 115 d 16 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 259 d 11 h ranu /trunk/profitmandi-fofo/src/main/ show all parties ticket to abm  
33081 794 d 0 h ranu /trunk/profitmandi-fofo/src/main/ ticket category internal and external  
32885 840 d 22 h shampa /trunk/profitmandi-fofo/src/main/webapp/resources/js/ remove refresh loader  
31771 1136 d 20 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/resources/js/  
31762 1140 d 21 h tejbeer /trunk/ ticket and imei wise scheme related changes  
31414 1224 d 15 h amit.gupta /trunk/profitmandi-fofo/src/main/ F  
31412 1224 d 19 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/resources/js/ Fixed formatting  
27755 1920 d 18 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/resources/js/ Fixed live with on  
27754 1920 d 19 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/resources/js/ Fixed live with on  
27410 1999 d 19 h tejbeer /trunk/ position related change  
27285 2022 d 3 h tejbeer /trunk/ change  
27270 2023 d 19 h tejbeer /trunk/ change  
27169 2041 d 23 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/resources/js/  
27167 2041 d 23 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/resources/js/  
27165 2042 d 19 h amit.gupta /trunk/profitmandi-fofo/src/main/ Added changes to ticket js.. Removing name  
27149 2043 d 2 h amit.gupta /trunk/profitmandi-fofo/src/main/ Added ticket related fix, partner messages shown as sd team messages.  
27141 2044 d 18 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/resources/js/  
27124 2045 d 18 h amit.gupta /trunk/ Fixed escalation  
26014 2335 d 19 h amit.gupta /trunk/ Added Access management on admin  
25570 2434 d 19 h tejbeer /trunk/ mapping change  
24840 2596 d 1 h govind /trunk/profitmandi-fofo/src/main/  
24836 2596 d 22 h govind /trunk/  
24824 2600 d 2 h govind /trunk/ Internal Communication  
24787 2606 d 20 h govind /trunk/  
24751 2612 d 1 h govind /trunk/  
24748 2612 d 2 h govind /trunk/profitmandi-fofo/src/main/webapp/  
24747 2612 d 2 h govind /trunk/ Search for Manager Ticket  
24699 2617 d 22 h govind /trunk/  
24620 2630 d 20 h govind /trunk/ closing ticket  
24574 2634 d 19 h govind /trunk/profitmandi-fofo/src/main/webapp/resources/js/ Modification in ticket  
24557 2638 d 1 h govind /trunk/ Changes in ticket  
24534 2640 d 0 h govind /trunk/profitmandi-fofo/src/main/webapp/ Modification in Ticket not showing assignee