Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
36557 62 d 7 h amit /trunk/ feat: Flagship Credit - 30 interest-free days for flagship models with billing split, expiry conversion, API-driven T&C  
35912 137 d 1 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
 
35880 139 d 18 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/ Remove dead blocked loan methods: selectBlockedLoans(retailerId) and getAllBlockedLoans() - zero callers. Keep selectAllBlockedLoans() as canonical. Remove unused Loan.findBlockedLoans named query (was buggy - missing settledOn filter).  
35876 139 d 19 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ 3-tier interest calculation, partner-aware dueDate, selectAllActiveLoan excludes limit blocks.

- Loan.java: add getPenaltyDate(), update isOverdue()/isDefault() to use it
- LoanRepositoryImpl: add limitBlock=false to selectAllActiveLoan queries
- SDCreditServiceImpl: add getTier1Days(), partner-aware dueDate in createLoan, rewrite addInterest/checkLoans with 3-tier rates, remove redundant isLimit filters
 
35864 140 d 0 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Add limit_block column to Loan, replace freeDays >= 365 hack, fix free days resolution with sanction override  
35320 233 d 20 h ranu /trunk/ code deploy with partners of loans  
35316 234 d 16 h ranu /trunk/ loan data showing  
34895 330 d 22 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/transaction/ donotcommit  
34892 330 d 22 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/transaction/ donotcommit  
34765 373 d 19 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/ Fixed issue with having to many loans to process  
34709 386 d 0 h amit.gupta /trunk/ Added Loan Related Changes  
34498 444 d 3 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/transaction/ Fixed loan  
34453 450 d 18 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Added Loan  
34212 513 d 0 h ranu /trunk/ loan transaction maping migration phase 1  
33827 653 d 20 h ranu /trunk/ loan sunnry test  
33696 693 d 3 h amit.gupta /trunk/ Added changes related to Narration and fixing loan creation while billing  
33532 743 d 1 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/transaction/ Fixed mail sender  
33529 743 d 2 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/transaction/ Fixed due and default should now be accessed via Loan.java  
33528 743 d 2 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Fixed due and default should now be accessed via Loan.java  
32681 959 d 17 h amit.gupta /trunk/ added settled on field  

Show All