Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
37326 15 d 17 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Add --backfillMissingEwb cron arg

Runs InvoiceService.backfillMissingEwb over an explicit invoice list:
--backfillMissingEwb --invoiceNumbers=A,B,C [--dryRun]

Explicit list rather than a date window so the backfill only touches the invoices known
to have lost their EWB. NOT_SUPPORTED on the RunOnceTasks wrapper suspends the
class-level transaction, keeping the NIC lookups outside one.
 
37058 53 d 20 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 77 d 10 h vikas /trunk/ Updated Redesigned Tracking Report  
36585 106 d 22 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/migrations/ code commit for levwel wise trcking report  
36584 106 d 22 h ranu /trunk/ code commit for levwel wise trcking report  
36554 109 d 4 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ feat: one-off credit note posting for duplicate invoice NSNOI8965 against NSNOI8966  
36420 126 d 16 h amit /trunk/profitmandi-cron/ OkHttp→RestClient migration for IMEI activation services (Itel, Tecno, Vivo). Added test deps. Updated RunOnceTasks, ScheduledTasks, OrderTrackingService.  
36402 127 d 19 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Replace mailSender (SendGrid) with gmailRelaySender - SendGrid API key expired/revoked  
36053 161 d 16 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 188 d 19 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 194 d 17 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 216 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 216 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  
35610 216 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
 
35267 295 d 18 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ without invoice cancel request  
35266 295 d 18 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ without invoice cancel request  
35179 324 d 15 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/migrations/ Added SD Credit Scheduler  
35161 327 d 20 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/migrations/ Fixed SD Credit HardLimit Check  
35159 327 d 20 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/migrations/ Fixed SD Credit HardLimit Check  
35150 329 d 11 h vikas /trunk/ Oppo Sale Rewards Duration Wise  
35146 329 d 16 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/migrations/ Fixed the build  
35132 330 d 16 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Added scheduled Tasks  
35105 332 d 20 h vikas /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Oppo Sale Rewards  
34946 363 d 20 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ abm sender  
34836 397 d 14 h vikas /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Employee task wise report scheduled at 04:00 PM, 09:00 PM  
34770 419 d 14 h vikas.jangra /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Employee task wise report  
34710 432 d 21 h amit.gupta /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Added Credit Related changes  
34563 474 d 23 h vikas.jangra /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Consolidated Bid Message  
34547 476 d 18 h vikas.jangra /trunk/profitmandi-cron/src/main/ Bidding push notifications  
34443 498 d 7 h vikas.jangra /trunk/ Bidding/Liquidation Initial Code  
34420 505 d 15 h amit.gupta /trunk/ Added Realme Activation capture logic  
34326 531 d 14 h amit.gupta /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/migrations/ Added CN Diff  
34318 531 d 21 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ proceess transaction added loan id 0  
34208 560 d 22 h ranu /trunk/ created a method for cancel insurance by membership number  
33994 645 d 13 h amit.gupta /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Fixed migration  
33629 764 d 23 h tejus.lohani /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/migrations/ Scheduled Task,remove error  
33526 790 d 21 h amit.gupta /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Added move orders  
33452 809 d 14 h amit.gupta /trunk/ Fixed changes regarding SD/SIDBI credit  
33395 832 d 22 h amit.gupta /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/migrations/ Added  
33260 860 d 22 h amit.gupta /trunk/ Fixed Application