Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
36220 3 d 0 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Cron: add --genDNs CLI arg for monthly debit note generation. Use SDCreditServiceImpl.computeInterestStartDate for daily interest accrual (single source of truth, fixes off-by-one that delayed accrual by 1 day).  
36197 4 d 17 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Add --recoverCreditNote and --resendCNReport CLI args for credit note recovery and report resend  
36188 6 d 21 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Revert rerenderCNs CLI option - downloadCN already re-renders on the fly  
36187 6 d 21 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Add --rerenderCNs CLI option to re-generate old CN PDFs with new format  
36115 10 d 18 h ranu /trunk/ rbm rating consolidate mail  
36063 16 d 17 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ process pending mail method autowired in application java for mannually run  
36060 16 d 17 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Add mail outbox scheduler and SMTP timeouts to prevent thread hangs  
36058 16 d 19 h ranu /trunk/ web socket done for agent status  
36053 17 d 18 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 18 d 21 h amit /trunk/ Fix app config  
36003 24 d 23 h aman /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Fix:Delay report  
35929 39 d 11 h vikas /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Update Existing Shopify Product  
35832 46 d 20 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 46 d 21 h amit /trunk/ Remove 6 dead property files (dao + cron), remove hardcoded shared-dev from cron config  
35803 50 d 16 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Support WebApplicationType.NONE for non-web cron runs, add sendCreditNote log line  
35788 51 d 18 h vikas /trunk/ Schedule Shopify Product Sync  
35568 84 d 0 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 94 d 2 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Added migration for 2 parties for gold  
35524 94 d 18 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Added migration for 2 parties for gold  
35521 94 d 19 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Added migration for 2 parties for gold  

Show All