예제 #1
0
파일: Cash.cs 프로젝트: Ramazanov/FomsNet
        private static OCurrency _CashStockBalance(Loan pCredit)
        {
            OCurrency balance = 0;
            if (!pCredit.Disbursed) return balance;

            balance += pCredit.GetPaidFees();
            balance += pCredit.GetPaidInterest();
            balance += pCredit.GetPaidPrincipal();

            return balance - pCredit.Amount;
        }