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
35928 140 d 10 h vikas /trunk/ Update Existing Shopify Product  
35927 140 d 11 h vikas /trunk/ Support Apis: Added new  
35926 140 d 11 h vikas /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/ Update Existing Shopify Product  
35925 140 d 18 h amit /trunk/profitmandi-fofo/src/main/ Per-criteria offer editing UI + fix cache eviction bugs

- Add POST /offer/updateSlabs endpoint with JSON body for per-slab target+payout editing
- Replace flat target editor with grouped table (Models, Slab, Target, Payout columns)
- Fix: publishedOffersWithAchievement evicted from wrong cache manager (redisShort->oneDay)
- Fix: todayOffers cache never evicted on offer mutations — added to all mutating operations
- Extract evictOfferCaches() helper for update endpoints
 
35924 140 d 18 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Per-criteria target and payout editing for offers

- Add UpdateSlabRequest/UpdateOfferSlabsRequest models for per-slab updates
- Add id field to PayoutSlab, populate from TargetSlabEntity.id
- Add updateOfferSlabs() service method: validates slab ownership, updates payoutTarget and payoutValue independently
- Keep updateOfferTargets() for backward compatibility
 
35923 140 d 18 h aman /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fix:Offer activation error  
35922 140 d 18 h ranu /trunk/profitmandi-fofo/src/main/webapp/ internal warehouse id was selected null it fixed  
35921 140 d 20 h vikas /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Support Apis: Added new  
35920 140 d 20 h ranu /trunk/ now inactive partners also showing on target page  
35919 140 d 21 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Set partnerType in SD Credit status endpoint for partner app  
35918 140 d 21 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/ Add cash discount tradeoff term to buildCreditTerms  
35917 140 d 21 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/services/mandii/ Add partnerType field to AccountStatusResponseOut for partner app credit status  
35916 140 d 21 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Add partnerType field to SD Credit page response for partner app  
35915 140 d 23 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ Notifications: use loan-level overdue/penalty rates instead of global constants  
35914 140 d 23 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ GatewayController: resolve effective credit days by partner type, add overdue rate and credit terms to SDDIRECT status API  
35913 140 d 23 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/services/mandii/ Add overdueRateOfInterest, freeDays, creditTerms to AccountStatusResponseOut for dynamic TnC  
35912 140 d 23 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Store loan-level overdue/penalty rates, dynamic credit terms and TnC via APIs

- Add overdue_rate and penalty_rate columns to Loan entity (frozen at creation)
- addInterest()/checkLoans() read from loan instead of global constants
- SDCreditResponseOut: add overdueRate, penaltyRate, creditTerms fields
- sdDirectService(): resolve effective credit days by partner type (20 for Diamond/Platinum)
- InvoiceService: build credit terms from loan rates instead of hardcoded strings
- Add reusable buildCreditTerms() helper in SDCreditServiceImpl
 
35911 140 d 23 h vikas /trunk/ Update Existing Shopify Product  
35910 140 d 23 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/ Fix credit limit bypass: use sdCreditRequirement.getAvailableLimit() instead of creditSummary.getAvailableLimit() in processLoanRequest and getAvailableAmount. The CreditSummary excluded limitBlock loans from utilization, allowing partners to exceed their credit limit by placing rapid successive orders.  
35909 141 d 0 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/ Fixed selectById issue  

Show All