Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
35912 73 d 5 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 75 d 22 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 75 d 23 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 76 d 4 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 170 d 0 h ranu /trunk/ code deploy with partners of loans  
35316 170 d 20 h ranu /trunk/ loan data showing  
34895 267 d 2 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/transaction/ donotcommit  
34892 267 d 2 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/transaction/ donotcommit  
34765 309 d 23 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/ Fixed issue with having to many loans to process  
34709 322 d 4 h amit.gupta /trunk/ Added Loan Related Changes  
34498 380 d 7 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/transaction/ Fixed loan  
34453 386 d 22 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Added Loan  
34212 449 d 4 h ranu /trunk/ loan transaction maping migration phase 1  
33827 590 d 0 h ranu /trunk/ loan sunnry test  
33696 629 d 7 h amit.gupta /trunk/ Added changes related to Narration and fixing loan creation while billing  
33532 679 d 5 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/transaction/ Fixed mail sender  
33529 679 d 6 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 679 d 6 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Fixed due and default should now be accessed via Loan.java  
32681 895 d 21 h amit.gupta /trunk/ added settled on field  
32074 1078 d 6 h tejbeer /trunk/ change  
31159 1274 d 6 h tejbeer /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/  
30929 1347 d 1 h tejbeer /trunk/ change  
30859 1359 d 0 h tejbeer /trunk/ sddirect loan