Ejemplo n.º 1
0
 public List <EntryFee> GetProductEntryFees(LoanProduct product, IClient client)
 {
     if (product.UseEntryFeesCycles)
     {
         int loanCycle = _productManager.SelectSuitableEntryFeeCycle(product.Id, client.LoanCycle + 1);
         return(_productManager.SelectEntryFeesAccordingCycle(product.Id, loanCycle, false));
     }
     else
     {
         return(_productManager.SelectEntryFeesWithoutCycles(product.Id, false));
     }
 }