| Rev |
Age |
Author |
Path |
Log message |
Diff |
| 35925 |
5 h 0 m |
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 |
5 h 2 m |
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 |
5 h 6 m |
aman |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Fix:Offer activation error |
|
| 35922 |
5 h 10 m |
ranu |
/trunk/profitmandi-fofo/src/main/webapp/ |
internal warehouse id was selected null it fixed |
|
| 35921 |
7 h 11 m |
vikas |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ |
Support Apis: Added new |
|
| 35920 |
7 h 19 m |
ranu |
/trunk/ |
now inactive partners also showing on target page |
|
| 35919 |
7 h 40 m |
amit |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ |
Set partnerType in SD Credit status endpoint for partner app |
|
| 35918 |
7 h 40 m |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/ |
Add cash discount tradeoff term to buildCreditTerms |
|
| 35917 |
7 h 40 m |
amit |
/trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/services/mandii/ |
Add partnerType field to AccountStatusResponseOut for partner app credit status |
|
| 35916 |
8 h 9 m |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ |
Add partnerType field to SD Credit page response for partner app |
|
| 35915 |
10 h 3 m |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
Notifications: use loan-level overdue/penalty rates instead of global constants |
|
| 35914 |
10 h 3 m |
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 |
10 h 3 m |
amit |
/trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/services/mandii/ |
Add overdueRateOfInterest, freeDays, creditTerms to AccountStatusResponseOut for dynamic TnC |
|
| 35912 |
10 h 3 m |
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 |
10 h 13 m |
vikas |
/trunk/ |
Update Existing Shopify Product |
|
| 35910 |
10 h 30 m |
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 |
11 h 35 m |
amit |
/trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/ |
Fixed selectById issue |
|
| 35908 |
11 h 45 m |
amit |
/trunk/profitmandi-dao/src/main/ |
Fix NPE in getTotalSaleByGst when retailer has null GST number; add ALTER TABLE to migration script |
|
| 35907 |
23 h 40 m |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/pricing/ |
Fix N+1 queries in PriceDropServiceImpl: batch-fetch purchases, orders, and FofoStores; replace System.out.println with LOGGER |
|
| 35906 |
1 d 0 h |
amit |
/trunk/profitmandi-fofo/ |
Add svn:ignore for build artifacts: .gradle, build, .idea, out, *.iml |
|