lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 4cd0122 2/4: Improve detection of {{GroupCarv


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 4cd0122 2/4: Improve detection of {{GroupCarveout}}
Date: Thu, 30 Aug 2018 14:08:49 -0400 (EDT)

branch: master
commit 4cd0122606633731799c62df760e98964c98993c
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Improve detection of {{GroupCarveout}}
    
    Detected this property in the same way as the union of
      illustration_reg.xsl
      nasd.xsl
    while noting that this more complete translation of the bad XSL-FO
    design is only a stopgap, and the real solution will be to replace
    a bad design with a good one.
---
 ledger_pdf_generator_wx.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ledger_pdf_generator_wx.cpp b/ledger_pdf_generator_wx.cpp
index 6e52889..5a9fb61 100644
--- a/ledger_pdf_generator_wx.cpp
+++ b/ledger_pdf_generator_wx.cpp
@@ -880,10 +880,13 @@ class pdf_illustration : protected html_interpolator
             ,invar.UWClass == "Rated"
             );
 
+        // PDF !! Conditions of this ilk should become distinct entities in
+        // the product files.
         auto const& policy_name = invar.PolicyLegalName;
         add_variable
             ("GroupCarveout"
-            ,policy_name == "Group Flexible Premium Adjustable Life Insurance 
Certificate"
+            ,    policy_name == "Group Flexible Premium Adjustable Life 
Insurance Certificate"
+              || policy_name == "Group Flexible Premium Variable Adjustable 
Life Insurance Certificate"
             );
 
         auto const& state_abbrev = invar.GetStatePostalAbbrev();



reply via email to

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