blend_spreadsheet_loan_generator 0.1.30 → 0.1.31

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: c65bb8dcbc3561cd3fa134d4eac3153934937c0de336afd2f41054a87e87a1e0
4
- data.tar.gz: d90db3f308d1b6580f70d3c898e9ff38c0dc2fdbb59cd5c688b08a12169b232d
3
+ metadata.gz: 398e368c7cf8e095e275942ec8d8f5375a3452f947bd97bba30cb06520a4437b
4
+ data.tar.gz: d9d40882295305ad46b49d5b76abeaa2ca89a89c5f0ffac453bc0fc095592873
5
5
  SHA512:
6
- metadata.gz: 531b9805eb3433e1835010a33fda24014e7071b5a21692bf8e66c78aeebe6cd45a1d05048158d97ccb484c2e9b3b76315034aad73efd7923b6b511a5e695331d
7
- data.tar.gz: 0c2e0a0d93fff9c3620abbf6cea28750f7375e1fb4becc799447e481ec655b02c94ca07907712aef2aed350bd5a798b03ffc22ce85a7f3d184294de0336ebaf8
6
+ metadata.gz: c790e70c21a56c50463428a037b3dfb472e086ff8c739fd36f0a9342914091e54253e2c415139c94c3559ee89e8a65f7ee2b0f2df0467b0ca43bcd2a1f1bc790
7
+ data.tar.gz: 03243acbdc2824c7102c59858a8bdd206376a0941a727ad3328877aed9d7a0b675f68e4e748c53a17ae55d19ed1cf0b72ade2f6e047562a2a1692b7c6e9072f6
@@ -191,8 +191,8 @@ module BlendSpreadsheetLoanGenerator
191
191
  def capitalized_fees_end_formula(line:)
192
192
  term = line - 1
193
193
  if term <= loan.deferred_and_capitalized
194
- with_fees = "#{remaining_capital_start_formula(line)} * (1 + #{period_fees_rate(line)} + #{period_rate(line)})^#{index(line)}"
195
- without_fees = "#{remaining_capital_start_formula(line)} * (1 + #{period_rate(line)})^#{index(line)}"
194
+ with_fees = "#{remaining_capital_start(line)} * (1 + #{period_fees_rate(line)} + #{period_rate(line)})^#{index(line)}"
195
+ without_fees = "#{remaining_capital_start(line)} * (1 + #{period_rate(line)})^#{index(line)}"
196
196
  "=ARRONDI(#{with_fees} - #{without_fees})"
197
197
  else
198
198
  "=ARRONDI(#{capitalized_fees_start(line)} - #{period_reimbursed_capitalized_fees(line)}; 2)"
@@ -1,7 +1,7 @@
1
1
  require 'dry/cli'
2
2
 
3
3
  module BlendSpreadsheetLoanGenerator
4
- VERSION = '0.1.30'.freeze
4
+ VERSION = '0.1.31'.freeze
5
5
 
6
6
  class Version < Dry::CLI::Command
7
7
  desc 'Print version'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blend_spreadsheet_loan_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.30
4
+ version: 0.1.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - MZiserman