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 15 h ranu /trunk/profitmandi-fofo/src/main/ any rbm can see activity his partner ticket  
36040 51 d 16 h ranu /trunk/profitmandi-fofo/src/main/ filter and some other requirement addded in tickets view  
35640 102 d 16 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 15 h amit /trunk/ Ticket system: add unread tracking, pagination, search, and partner notifications  
35604 105 d 19 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 12 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 20 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 12 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 7 h ranu /trunk/profitmandi-fofo/src/main/ show all parties ticket to abm  
33081 793 d 20 h ranu /trunk/profitmandi-fofo/src/main/ ticket category internal and external  
32885 840 d 18 h shampa /trunk/profitmandi-fofo/src/main/webapp/resources/js/ remove refresh loader  
31771 1136 d 16 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/resources/js/  
31762 1140 d 17 h tejbeer /trunk/ ticket and imei wise scheme related changes  
31414 1224 d 10 h amit.gupta /trunk/profitmandi-fofo/src/main/ F  
31412 1224 d 15 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/resources/js/ Fixed formatting  
27755 1920 d 14 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/resources/js/ Fixed live with on  
27754 1920 d 15 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/resources/js/ Fixed live with on  
27410 1999 d 15 h tejbeer /trunk/ position related change  
27285 2021 d 23 h tejbeer /trunk/ change  
27270 2023 d 15 h tejbeer /trunk/ change  

Show All