Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
36645 56 d 19 h vikas /trunk/ Added Beat Report  
36644 57 d 5 h ranu /trunk/ route plan map  
36643 57 d 11 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/enumuration/dtr/ route plan map  
36642 57 d 11 h ranu /trunk/ route plan map  
36641 57 d 11 h ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ route plan map  
36640 57 d 12 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/warehouse/ Fix NPE in addQuantity when inventory snapshot missing for partner warehouse - use addAvailability which creates snapshot if absent  
36639 57 d 14 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/pricing/ Add documentation to getInventoryForPriceDrop validation method

Javadoc and inline comments explaining the three eligibility checks:
purchase return, effective DP (hike-reversal guard), and billing timestamp.
 
36638 57 d 15 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/pricing/ fix: price drop processing - prevent incorrect credits and priceDropAmount inflation

Two fixes in PriceDropServiceImpl:
1. Use approvedList instead of pendingList in updatePriceDrop call - rejected items
no longer get their priceDropAmount inflated when other items in the same batch
are approved
2. Add effectiveDP eligibility check for PENDING items - rejects IMEIs where
unitPrice - priceDropAmount <= newDp, preventing partners billed at pre-hike
price from receiving reversal drop credits. Check is skipped for APPROVED items
to allow legitimate re-processing and brand-driven rejections
 
36637 57 d 15 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/warehouse/ fix: use full item description in PO bulk upload instead of raw modelName  
36636 57 d 15 h aman /trunk/profitmandi-dao/src/main/resources/ Fix:Email letter head image  
36635 58 d 11 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/v2/controller/fofo/ Fix offer activation cache race: use activateOffers service, catch notification failures  
36634 58 d 11 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fix offer activation cache race: use activateOffers service, catch notification failures  
36633 58 d 11 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/offers/ Fix offer activation cache race: REQUIRES_NEW ensures DB commit before cache eviction, notification failures no longer rollback activation  
36632 58 d 11 h ranu /trunk/profitmandi-fofo/src/main/ route plan map  
36631 58 d 14 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/payment/ Delete dead WalletPaymentService.java (Thrift RPC, zero callers)  
36630 58 d 14 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/util/ Delete dead LogisticsService.java (Thrift RPC, zero callers)  
36629 58 d 15 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ fix: validate extend date is not before scheme start date

extendAllSchemes and extendSchemeById now reject extend dates that would create inverted date ranges (end before start). Prevents bad scheme data that bypasses scheme_item date constraints.
 
36628 58 d 15 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ fix: /schemes/update endpoint now uses addSchemeItemWithDates to prevent duplicate scheme_item rows

The old code directly persisted SchemeItem with NULL start_date/end_date, which bypassed the unique constraint (MySQL treats NULLs as distinct). Now uses the same service method as /addItemToScheme, which sets dates from scheme window and checks for overlapping entries before insert.
 
36627 58 d 17 h amit /trunk/profitmandi-cron/ Thrift cleanup: remove ThriftConfig from settings, clean unused Thrift imports

- Removed ThriftConfig from settings.gradle
- TransactionRelatedTasks: removed unused Scan import
- POScheduler: removed unused PurchaseOrder import
 
36626 58 d 17 h amit /trunk/profitmandi-fofo/ Thrift cleanup: remove ThriftConfig from settings, clean Thrift imports

- Removed ThriftConfig from settings.gradle
- IndentController: removed Thrift client and type imports
- InventoryController: removed Thrift imports
 

Show All