Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
37058 7 d 12 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Add regenerateBilledInvoices CLI task (--fromTime/--toTime) to re-generate invoice PDFs over a billing window; qualify InvoicePdfModel reference after the PdfUtils/DocumentRenderer refactor  
36863 31 d 1 h vikas /trunk/ Updated Redesigned Tracking Report  
36585 60 d 14 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/migrations/ code commit for levwel wise trcking report  
36584 60 d 14 h ranu /trunk/ code commit for levwel wise trcking report  
36554 62 d 19 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ feat: one-off credit note posting for duplicate invoice NSNOI8965 against NSNOI8966  
36420 80 d 7 h amit /trunk/profitmandi-cron/ OkHttp→RestClient migration for IMEI activation services (Itel, Tecno, Vivo). Added test deps. Updated RunOnceTasks, ScheduledTasks, OrderTrackingService.  
36402 81 d 11 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Replace mailSender (SendGrid) with gmailRelaySender - SendGrid API key expired/revoked  
36053 115 d 8 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
 
35848 142 d 10 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  
35797 148 d 8 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
 
35613 170 d 8 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/migrations/ Fix: Remove method-level @Transactional, use class-level transaction management  
35612 170 d 8 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  
35610 170 d 8 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
 
35267 249 d 9 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ without invoice cancel request  
35266 249 d 9 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ without invoice cancel request  
35179 278 d 7 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/migrations/ Added SD Credit Scheduler  
35161 281 d 12 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/migrations/ Fixed SD Credit HardLimit Check  
35159 281 d 12 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/migrations/ Fixed SD Credit HardLimit Check  
35150 283 d 2 h vikas /trunk/ Oppo Sale Rewards Duration Wise  
35146 283 d 7 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/migrations/ Fixed the build  
35132 284 d 7 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Added scheduled Tasks  
35105 286 d 12 h vikas /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Oppo Sale Rewards  
34946 317 d 11 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ abm sender  
34836 351 d 6 h vikas /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Employee task wise report scheduled at 04:00 PM, 09:00 PM  
34770 373 d 6 h vikas.jangra /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Employee task wise report  
34710 386 d 12 h amit.gupta /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Added Credit Related changes  
34563 428 d 14 h vikas.jangra /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Consolidated Bid Message  
34547 430 d 9 h vikas.jangra /trunk/profitmandi-cron/src/main/ Bidding push notifications  
34443 451 d 23 h vikas.jangra /trunk/ Bidding/Liquidation Initial Code  
34420 459 d 6 h amit.gupta /trunk/ Added Realme Activation capture logic  
34326 485 d 6 h amit.gupta /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/migrations/ Added CN Diff  
34318 485 d 12 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ proceess transaction added loan id 0  
34208 514 d 13 h ranu /trunk/ created a method for cancel insurance by membership number  
33994 599 d 5 h amit.gupta /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Fixed migration  
33629 718 d 14 h tejus.lohani /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/migrations/ Scheduled Task,remove error  
33526 744 d 13 h amit.gupta /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Added move orders  
33452 763 d 6 h amit.gupta /trunk/ Fixed changes regarding SD/SIDBI credit  
33395 786 d 14 h amit.gupta /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/migrations/ Added  
33260 814 d 13 h amit.gupta /trunk/ Fixed Application  
33203 828 d 7 h amit.gupta /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/migrations/ Fixed invoices