Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37779 13 d 1 h amit /trunk/profitmandi-dao/src/main/ feat(cs): demo partner access for sales team

New cs.demo_partner_access binding (sales auth user -> partner) used only to
open a partner's dashboard/app for demos. Read only at partner-view entry
points; CsService position mappings are untouched, so performance, targets,
reports and cron mails are unaffected.

- DemoPartnerAccess entity + repository
- DemoPartnerAccessService: grant (sales-only, active store, skips duplicate
and position-mapped), soft revoke, isAllowed (position OR demo),
demo emails for app lists, canManage (mirrors sidebar menu rule)
- AdminUser.ALL_MENU_EMAILS extracted so canManage and the sidebar share it
- migration_demo_partner_access.sql: table + "Demo Partner Access" menu
under Admin Control (NOT yet applied on hadb1)
 
37145 73 d 1 h ranu /trunk/ level l1 to l9 commited  
37120 82 d 20 h vikas /trunk/ Added leads in Beat Creation  
36190 185 d 1 h ranu /trunk/ agent insights tracking  
35969 212 d 20 h vikas /trunk/ Support: Add callback, Thread reply and update, and Store Image Upload on Check In  
35953 215 d 23 h ranu /trunk/ breaking time given to rbm call log  
35948 216 d 1 h vikas /trunk/ Support Apis: Added/Updated new  
35926 219 d 13 h vikas /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/ Update Existing Shopify Product  
35724 240 d 1 h ranu /trunk/ now recording also fetching  
35686 242 d 14 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/ code commit for calling target / retailer contact  
35679 242 d 20 h ranu /trunk/ calling webhook updated  
35659 245 d 21 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/ ticket subcategory intoduce active or incative  
35626 250 d 20 h amit /trunk/ Ticket system: add unread tracking, pagination, search, and partner notifications  
35618 252 d 18 h amit /trunk/ Fix: Apply visibility filter only for CRM users in viewRecentTickets

- Reverted named query visibility filter (was filtering all users)
- Added role-based filtering in viewRecentTickets and viewRecentTickets/{fofoId}
- CRM users: Filter by visible subcategory names
- Sales/RBM/ABM users: See all tickets without filtering
 
35617 252 d 19 h amit /trunk/ Filter invisible subcategory tickets for CRM and end users only

- CRM users: Cannot see tickets with visibility=0 subcategories
- Sales/RBM/ABM users: Can see all tickets (no filtering)
- End users in web module: CRM users filtered, others see all
- Uses getTicketSubCategoryMap() for efficient batch lookup
- Named query filters by tbc.visibility=true for recent tickets
 
35614 252 d 20 h amit /trunk/ Hide RBM and Sales escalation tickets from end user ticket view

- Filter out subcategory IDs 83 (RBM_L2_ESCALATION) and 84 (SALES_ESCALATION) in viewTickets endpoints
- Update selectRecentClosedTicket named query to exclude these escalation types
 
35583 259 d 19 h ranu /trunk/ code updated by  
35567 264 d 2 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Ticket system improvements: working days service and batch queries

- Add WorkingDaysService for centralized working days calculation
- Excludes Sundays and public holidays from database
- Saturdays are counted as working days
- Methods: isWorkingDay, countWorkingDays, addWorkingDays, isDeadlineExceeded
- Add new escalation constants in Ticket.java (L2=3, L3=3, Final=2 working days)
- Add selectByIds batch query to TicketAssignedRepository to eliminate N+1 queries

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
 
35549 266 d 1 h ranu /trunk/ bulletin updated on dashboard and give access category department  
34530 519 d 1 h ranu /trunk/ push log working api knowlarity  

Show All