lmi-commits
[Top][All Lists]
Advanced

[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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]