Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
35912 140 d 4 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 142 d 21 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 142 d 22 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 143 d 3 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 236 d 23 h ranu /trunk/ code deploy with partners of loans  
35316 237 d 19 h ranu /trunk/ loan data showing  
34895 334 d 1 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/transaction/ donotcommit  
34892 334 d 2 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/transaction/ donotcommit  
34765 376 d 22 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/ Fixed issue with having to many loans to process  
34709 389 d 3 h amit.gupta /trunk/ Added Loan Related Changes  
34498 447 d 6 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/transaction/ Fixed loan  
34453 453 d 21 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Added Loan  
34212 516 d 3 h ranu /trunk/ loan transaction maping migration phase 1  
33827 656 d 23 h ranu /trunk/ loan sunnry test  
33696 696 d 6 h amit.gupta /trunk/ Added changes related to Narration and fixing loan creation while billing  
33532 746 d 5 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/transaction/ Fixed mail sender  
33529 746 d 5 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 746 d 5 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Fixed due and default should now be accessed via Loan.java  
32681 962 d 20 h amit.gupta /trunk/ added settled on field  
32074 1145 d 5 h tejbeer /trunk/ change  

Show All