[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master db81cdc 12/16: Correct a guaranteed-premium f
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master db81cdc 12/16: Correct a guaranteed-premium footnote |
Date: |
Sat, 11 Apr 2020 20:36:04 -0400 (EDT) |
branch: master
commit db81cdc92b657a0ba006c600264e2b7a791e20a9
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Correct a guaranteed-premium footnote
Guaranteed premium reflects individual mode, not corporation mode.
This footnote has always incorrectly stated the corporation mode.
---
ill_reg_narr_summary.mst | 9 +++++----
pdf_command_wx.cpp | 19 ++++++++++++-------
2 files changed, 17 insertions(+), 11 deletions(-)
diff --git a/ill_reg_narr_summary.mst b/ill_reg_narr_summary.mst
index 8513cb9..53ce52e 100644
--- a/ill_reg_narr_summary.mst
+++ b/ill_reg_narr_summary.mst
@@ -54,7 +54,8 @@
}}
{{^SinglePremium}}
- Premiums are assumed to be paid on {{ErModeLCWithArticle}}
+ Premiums are assumed to be paid on
+ {{InitErModeWithIndefiniteArticle}}
basis and received at the beginning of the premium paying period.
{{/SinglePremium}}
{{#SinglePremium}}
@@ -70,9 +71,9 @@ overhead expenses is the fully allocated expense method.
{{^SinglePremium}}
<p>
- In order to guarantee coverage to age
- {{EndtAge}}, {{ErModeLCWithArticle}} premium
- of ${{GuarPrem}} must be paid.
+ In order to guarantee coverage to age {{EndtAge}},
+ {{InitEeModeWithIndefiniteArticle}}
+ premium of ${{GuarPrem}} must be paid.
This amount is based on the guaranteed monthly charges
and the guaranteed interest crediting rate.
{{#DefnLifeInsIsGPT}}
diff --git a/pdf_command_wx.cpp b/pdf_command_wx.cpp
index 06be801..96cb575 100644
--- a/pdf_command_wx.cpp
+++ b/pdf_command_wx.cpp
@@ -2228,14 +2228,19 @@ class pdf_illustration_naic : public pdf_illustration
,oe_limited_flexible_premium == invar.IsSinglePremium
);
- // Variable representing the premium payment frequency with the
- // appropriate indefinite article preceding it, e.g. "an annual"
- // or "a monthly".
- std::string mode0 = invar.InitErMode;
- mode0[0] = lmi_tolower(mode0[0]);
+ // Lowercase initial payment mode with prepended indefinite
+ // article: e.g., "an annual" or "a monthly".
+ std::string eemode0 = invar.InitEeMode;
+ eemode0[0] = lmi_tolower(eemode0[0]);
add_variable
- ("ErModeLCWithArticle"
- ,(std::strchr("aeiou", mode0[0]) ? "an " : "a ") + mode0
+ ("InitEeModeWithIndefiniteArticle"
+ ,(std::strchr("aeiou", eemode0[0]) ? "an " : "a ") + eemode0
+ );
+ std::string ermode0 = invar.InitErMode;
+ ermode0[0] = lmi_tolower(ermode0[0]);
+ add_variable
+ ("InitErModeWithIndefiniteArticle"
+ ,(std::strchr("aeiou", ermode0[0]) ? "an " : "a ") + ermode0
);
add_variable
- [lmi-commits] [lmi] master 95c2f88 02/16: Declutter, (continued)
- [lmi-commits] [lmi] master 95c2f88 02/16: Declutter, Greg Chicares, 2020/04/11
- [lmi-commits] [lmi] master ce9d6b8 04/16: Change compositing for some string members, Greg Chicares, 2020/04/11
- [lmi-commits] [lmi] master df9c566 07/16: Sort nonscalable scalar members together in declaration order, Greg Chicares, 2020/04/11
- [lmi-commits] [lmi] master a7a9404 05/16: Simplify [348], Greg Chicares, 2020/04/11
- [lmi-commits] [lmi] master 359c74c 09/16: Treat 'InitErMode' the same as any other ledger string, Greg Chicares, 2020/04/11
- [lmi-commits] [lmi] master 255b816 15/16: Mark ledger members dubiously ignored in compositing, Greg Chicares, 2020/04/11
- [lmi-commits] [lmi] master ed9a11d 16/16: Address ledger members formerly ignored in compositing, Greg Chicares, 2020/04/11
- [lmi-commits] [lmi] master 2e134db 11/16: Add 'InitEeMode' to ledger, Greg Chicares, 2020/04/11
- [lmi-commits] [lmi] master bb389e4 10/16: Alphabetize members of enumerative type, Greg Chicares, 2020/04/11
- [lmi-commits] [lmi] master 5dfa890 13/16: Reorder and label for greater uniformity, Greg Chicares, 2020/04/11
- [lmi-commits] [lmi] master db81cdc 12/16: Correct a guaranteed-premium footnote,
Greg Chicares <=
- [lmi-commits] [lmi] master 1f6064d 14/16: Fix index-origin errors in port from XSL-FO, Greg Chicares, 2020/04/11