Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
36058 41 d 12 h ranu /trunk/ web socket done for agent status  
36053 42 d 11 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Fix cancelDn: bug fixes, wallet reversal, RETURNED guard, recreatePri option

- Fix itemId bug in CurrentInventorySnapshot (was using inventoryItem PK instead of catalog itemId)
- Fix NoSuchElementException on missing PURCHASE_RET scan record (findFirst().get() -> ifPresent)
- Reverse wallet refund via consumeAmountFromWallet if DN was already refunded
- Block cancellation if any PRI has RETURNED status (already refunded to wallet)
- Add recreatePri flag: true resets PRIs to CREATED for re-initiation, false deletes them
 
36035 43 d 14 h amit /trunk/ Fix app config  
36003 49 d 16 h aman /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Fix:Delay report  
35929 64 d 3 h vikas /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Update Existing Shopify Product  
35832 71 d 13 h amit /trunk/ Unify property loading: all modules use runtime profile with shared properties from dao, remove duplicated DB/Hibernate/HikariCP/integration keys from module files  
35830 71 d 14 h amit /trunk/ Remove 6 dead property files (dao + cron), remove hardcoded shared-dev from cron config  
35803 75 d 9 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Support WebApplicationType.NONE for non-web cron runs, add sendCreditNote log line  
35788 76 d 11 h vikas /trunk/ Schedule Shopify Product Sync  
35568 108 d 17 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Refactor ticket scheduled tasks: fix bugs, add test mode, improve performance

Bug fixes:
- Remove break statement in alertforTicket that stopped after first user
- Remove duplicate ticketClosed() method (used 7 calendar days vs 8 working days)
- Update Application.java CLI handler to use refactored escalateTicket()

New features:
- Add email test mode: redirect all emails to tester via config
- ticket.email.testMode.enabled=true/false
- ticket.email.testMode.recipient=tester@email.com
- Add configurable auto-escalation: ticket.autoEscalation.enabled
- Working days calculation using WorkingDaysService (excludes Sun + holidays)

Performance improvements:
- Batch fetch ticketSubCategoryMap once per job, not per email
- All repository calls moved outside loops (N+1 query fix)

Escalation thresholds updated:
- L1 -> L2: 3 working days
- L2 -> L3: 3 working days
- L3 -> Final: 2 working days

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
 
35532 118 d 18 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Added migration for 2 parties for gold  
35524 119 d 11 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Added migration for 2 parties for gold  
35521 119 d 12 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Added migration for 2 parties for gold  
35520 119 d 12 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Fixed method Number to comma for Cr. Values  
35393 140 d 3 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Fixed MongoDB close method  
35277 174 d 11 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Migrations  
35276 174 d 12 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Migrations  
35267 176 d 12 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ without invoice cancel request  
35266 176 d 13 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ without invoice cancel request  
35250 186 d 11 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Migrations  

Show All