blend_spreadsheet_loan_generator 0.1.111 → 0.1.112
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 526e63e619b84d693c93294a98fd9354c9b35f4eb3c47b6d0e4ff49b533f30cd
|
4
|
+
data.tar.gz: 81192d4e8cd832a94f83948beb8b513463456a92cedf3f5d8501cc4f11179345
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f159a1b328f8b3def5613359277911aa27183eeed5d27140a54ce4fbf7d0dc79e59ec0bee630ff71c9dc20939de21c3b843f7c5e375276907a9187d5f2820ada
|
7
|
+
data.tar.gz: 15a5ef2042d922da1421c2d367961aa4f0f8667b2ff3a2956def5ad95ad1e6ad3a63ba2190e075e00629e1ec33c24373222fea743a4414e1865177d738628119
|
@@ -81,14 +81,11 @@ module BlendSpreadsheetLoanGenerator
|
|
81
81
|
|
82
82
|
capital_paid = amount_paid.to_f - (
|
83
83
|
values[last_paid_line + 1][:period_interests] +
|
84
|
+
values[last_paid_line + 1][:period_reimbursed_capitalized_interests] +
|
84
85
|
values[last_paid_line + 1][:period_fees] +
|
85
|
-
values[last_paid_line + 1][:
|
86
|
+
values[last_paid_line + 1][:period_reimbursed_capitalized_fees] +
|
86
87
|
values[last_paid_line + 1][:capitalized_fees_end]
|
87
88
|
)
|
88
|
-
# capital_paid_for_ratio = amount_paid.to_f - (
|
89
|
-
# values[last_paid_line + 1][:period_interests] +
|
90
|
-
# values[last_paid_line + 1][:period_fees]
|
91
|
-
# )
|
92
89
|
remaining_capital_for_ratio = (
|
93
90
|
values[last_paid_line + 1][:remaining_capital_start] +
|
94
91
|
values[last_paid_line + 1][:capitalized_interests_end]
|