blend_spreadsheet_loan_generator 0.1.107 → 0.1.108
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: 999f9a70b2ee5829f4bc50ecfa6a4c08c59cc1e4fbc2e3a2cc47f9dffa8fab8b
|
4
|
+
data.tar.gz: 1c9dbdb0d08d1ab2c74f2f85dd71847ea9b5ef96e6f89f17c3d8af4bb9e35b49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb2750a4d3c49e6dca99455a7b445d345c9abd52d031a936e29786d377e3b62ce0bfbbfcd164a919af98b168e0f2b49f5babf9fb789ce7b09537c1be442b588a
|
7
|
+
data.tar.gz: e2b921596a0b1c95ad84e2a80d9f44cb214a4f8a2a2cfc5fa01629294ed36e8c14adf1f3f5c91728a39b78b87a526c261159828d2e80aeec17c447739066d3a5
|
@@ -80,8 +80,10 @@ module BlendSpreadsheetLoanGenerator
|
|
80
80
|
due_on = values[last_paid_line + 1][:due_on] + 1.month
|
81
81
|
|
82
82
|
capital_paid = amount_paid.to_f - (
|
83
|
-
values[last_paid_line + 1][:
|
84
|
-
values[last_paid_line + 1][:
|
83
|
+
values[last_paid_line + 1][:capitalized_interests_start] +
|
84
|
+
values[last_paid_line + 1][:capitalized_fees_start] +
|
85
|
+
values[last_paid_line + 1][:period_calculated_interests] +
|
86
|
+
values[last_paid_line + 1][:period_calculated_fees]
|
85
87
|
)
|
86
88
|
capital_paid_for_ratio = amount_paid.to_f - (
|
87
89
|
values[last_paid_line + 1][:period_interests] +
|