[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master d684bec 14/15: Move mce_ill_reg product descr
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master d684bec 14/15: Move mce_ill_reg product description into {{ProductDescription}} |
Date: |
Tue, 27 Aug 2019 13:50:20 -0400 (EDT) |
branch: master
commit d684beceafd82a392a533c2edcf44819a65a13d0
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Move mce_ill_reg product description into {{ProductDescription}}
Expunged the {{GroupCarveout}} variable, which is no longer needed
because product-specific variations are now handled in the product
database. Significantly, no remaining code parses 'PolicyLegalName'
in an attempt to deduce product characteristics.
---
ill_reg_narr_summary.mst | 35 +----------------------------------
pdf_command_wx.cpp | 10 ----------
2 files changed, 1 insertion(+), 44 deletions(-)
diff --git a/ill_reg_narr_summary.mst b/ill_reg_narr_summary.mst
index f7171e0..043259b 100644
--- a/ill_reg_narr_summary.mst
+++ b/ill_reg_narr_summary.mst
@@ -27,41 +27,8 @@
<font size="-1">
-{{!
-PDF !! The only effect of the 'GroupCarveout' conditional below is
-to produce the string:
- "group flexible premium adjustable life insurance contract"
-if 'PolicyLegalName' exactly matches this string:
- "Group Flexible Premium Adjustable Life Insurance Certificate"
-although probably "certificate" is desired instead of "contract".
-If it is actually considered useful to have two distinct strings
-that differ only in their capitalization, then both should reside
-in the '.policy' file.
-
-Even more surprisingly, 'AllowExperienceRating' has the same effect.
-}}
-
<p>
-{{^SinglePremium}}
- {{PolicyMktgName}} is a
- {{#AllowExperienceRating}}group{{/AllowExperienceRating}}
- {{#GroupCarveout}}group{{/GroupCarveout}}
- flexible premium adjustable life insurance {{ContractName}}.
- {{#AllowExperienceRating}}
- It is a no-load policy and is intended for large case sales.
- It is primarily marketed to financial institutions
- to fund certain corporate liabilities.
- {{/AllowExperienceRating}}
- It features accumulating account values, adjustable benefits,
- and flexible premiums.
-{{/SinglePremium}}
-{{#SinglePremium}}
- {{PolicyMktgName}} is a
- {{#ModifiedSinglePremium}}modified {{/ModifiedSinglePremium}}
- single premium adjustable life insurance {{ContractName}}.
- It features accumulating account values, adjustable benefits,
- and single premium.
-{{/SinglePremium}}
+{{ProductDescription}}
</p>
{{^IsInforce}}
diff --git a/pdf_command_wx.cpp b/pdf_command_wx.cpp
index 8680a30..249c704 100644
--- a/pdf_command_wx.cpp
+++ b/pdf_command_wx.cpp
@@ -1006,16 +1006,6 @@ class pdf_illustration : protected html_interpolator,
protected pdf_writer_wx
add_variable("ContractNameCap", s);
}
- // PDF !! Conditions of this ilk should become distinct entities in
- // the product files--or in this case, eliminated altogether: this
- // condition is used only in one place, in a really silly way.
- auto const& policy_name = invar.PolicyLegalName;
- add_variable
- ("GroupCarveout"
- , policy_name == "Group Flexible Premium Adjustable Life
Insurance Certificate"
- || policy_name == "Group Flexible Premium Variable Adjustable
Life Insurance Certificate"
- );
-
auto const& state_of_jurisdiction = invar.StateOfJurisdiction;
add_variable
("StateIsNorthOrSouthCarolina"
- [lmi-commits] [lmi] master 3d6e389 07/15: Simplify single-premium logic, (continued)
- [lmi-commits] [lmi] master 3d6e389 07/15: Simplify single-premium logic, Greg Chicares, 2019/08/27
- [lmi-commits] [lmi] master a74799d 06/15: Add a 'GuarCoiWhence' database entity, Greg Chicares, 2019/08/27
- [lmi-commits] [lmi] master e010c8f 04/15: Distinguish tabular minimum and target premiums, Greg Chicares, 2019/08/27
- [lmi-commits] [lmi] master 3e7a753 05/15: Resolve and document the policy-fee issue noted in the last commit, Greg Chicares, 2019/08/27
- [lmi-commits] [lmi] master 6b1abc0 11/15: Rework {flexible, single}-premium footnotes, Greg Chicares, 2019/08/27
- [lmi-commits] [lmi] master b2e4af3 08/15: Make 'IsSinglePremium' enumerative, Greg Chicares, 2019/08/27
- [lmi-commits] [lmi] master 6596a29 12/15: Reformat to highlight similarity, Greg Chicares, 2019/08/27
- [lmi-commits] [lmi] master 80e47f2 15/15: Substitute product-database strings for literal text, Greg Chicares, 2019/08/27
- [lmi-commits] [lmi] master 2994f27 13/15: Simplify and condense, Greg Chicares, 2019/08/27
- [lmi-commits] [lmi] master 04f9369 01/15: Add <MinPremFilename>, Greg Chicares, 2019/08/27
- [lmi-commits] [lmi] master d684bec 14/15: Move mce_ill_reg product description into {{ProductDescription}},
Greg Chicares <=
- [lmi-commits] [lmi] master 12f58cd 10/15: Simplify single-premium conditionals, Greg Chicares, 2019/08/27
- [lmi-commits] [lmi] master ed48b1d 09/15: Move a 'PolicyLegalName' adjustment into '.policy', Greg Chicares, 2019/08/27