Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
35912 64 d 20 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 67 d 14 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 67 d 15 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 67 d 20 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 161 d 15 h ranu /trunk/ code deploy with partners of loans  
35316 162 d 12 h ranu /trunk/ loan data showing  
34895 258 d 17 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/transaction/ donotcommit  
34892 258 d 18 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/transaction/ donotcommit  
34765 301 d 15 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/ Fixed issue with having to many loans to process  
34709 313 d 20 h amit.gupta /trunk/ Added Loan Related Changes  
34498 371 d 23 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/transaction/ Fixed loan  
34453 378 d 14 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Added Loan  
34212 440 d 20 h ranu /trunk/ loan transaction maping migration phase 1  
33827 581 d 16 h ranu /trunk/ loan sunnry test  
33696 620 d 23 h amit.gupta /trunk/ Added changes related to Narration and fixing loan creation while billing  
33532 670 d 21 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/transaction/ Fixed mail sender  
33529 670 d 22 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 670 d 22 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Fixed due and default should now be accessed via Loan.java  
32681 887 d 13 h amit.gupta /trunk/ added settled on field  
32074 1069 d 22 h tejbeer /trunk/ change  

Show All