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
35851 150 d 15 h amit /trunk/profitmandi-cron/ Revert OpenCV from 4.9.0 to 3.4.2 - native libs not compatible with server environment  
35848 150 d 18 h amit /trunk/ Refactor investment logic to use own investment (total - utilized), remove minimumInvestmentOld, add OK_INVESTMENT_SHORT_PERCENTAGE constant, update thresholds CUTOFF_INVESTMENT=10 MIN_INVESTMENT_PERCENTAGE=5  
35832 152 d 17 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  
35831 152 d 18 h amit /trunk/profitmandi-cron/src/main/resources/META-INF/ Restore cron env property files - needed by copyEnv build task for env switching  
35830 152 d 18 h amit /trunk/ Remove 6 dead property files (dao + cron), remove hardcoded shared-dev from cron config  
35828 152 d 19 h amit /trunk/ Optimize order creation: reduce DB queries, fix Hibernate batching, move filters to SQL  
35811 155 d 11 h amit /trunk/ Centralize credit/loan summary: CreditSummary DTO, bulk query, fix stale utilization, re-enable overdue check, fix interestPaid bug, optimize fresh money (3 queries vs 21), remove dead code  
35803 156 d 14 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Support WebApplicationType.NONE for non-web cron runs, add sendCreditNote log line  
35797 156 d 16 h amit /trunk/ Margin scheme (Rule 32(5)) support for refurbished category (10007)

- FofoSolr: Add 10007 to CATEGORY_MASTER, stop remapping to categoryId 3
- TransactionServiceImpl: Use RF- invoice prefix (fits NIC 16-char limit)
- InvoiceService: Margin calculation (GST on margin only), separate regular/margin items, purchase price lookup, restructured saveInvoice flow
- GstProService: Use InvoicePdfModel for correct taxable values, OthChrg for non-taxable component so TotInvVal = full selling price (GSTR1 & EWB compliance), safe Optional check for EWBPPD, email alert on missing EWB
- LogisticsServiceImpl: Null checks for shipment sequence and provider to prevent NPE in EWB details
- RunOnceTasks: Fix testIrnLive to generate InvoicePdfModel before calling getEInvoice
 
35788 157 d 16 h vikas /trunk/ Schedule Shopify Product Sync  
35666 169 d 18 h vikas /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ Fetch PineLabs Offers Daily by Items  
35633 175 d 20 h amit /trunk/ Add hikari.keepaliveTime property to all environment configs  
35616 178 d 15 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ Fixed delay to 5  
35613 178 d 16 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/migrations/ Fix: Remove method-level @Transactional, use class-level transaction management  
35612 178 d 16 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/migrations/ Fix: Add @Transactional(propagation=REQUIRES_NEW) to resolveOldEscalationTickets to fix Hibernate session error  
35611 178 d 16 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/controller/ Fix: Use ResponseEntity.status(500) for Spring Boot 2.0 compatibility  
35610 178 d 16 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Add endpoint to resolve old escalation tickets created before Sept 30, 2025

- Added resolveOldEscalationTickets method in RunOnceTasks.java
- Added GET /resolveOldEscalationTickets endpoint in ExposeController.java
- Supports dryRun=true (preview) and dryRun=false (execute)
- Marks Sales/RBM Escalation tickets (subcategory 83, 84) as RESOLVED on behalf of Gaurav CRM
 
35609 178 d 16 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/config/ Add resolveOldEscalationTickets endpoint to security whitelist  
35598 179 d 12 h amit /trunk/profitmandi-cron/src/main/resources/META-INF/ Migrate from C3P0 to HikariCP connection pooling

- Replace C3P0 properties with HikariCP settings
- New settings: maximumPoolSize=20, minimumIdle=2, idleTimeout=30s, maxLifetime=30min
 
35591 179 d 20 h aman /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ Fix:Remove Account team from default partner and partner credit report and only send to neeraj sir  

Show All