[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master c7b809e 3/4: Refine {{UWTypeIsGuaranteedIssue
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master c7b809e 3/4: Refine {{UWTypeIsGuaranteedIssueInTexasWithFootnote}} |
Date: |
Thu, 30 Aug 2018 14:08:49 -0400 (EDT) |
branch: master
commit c7b809e86ae4fa120157ab9eedc5944fccdb3927
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Refine {{UWTypeIsGuaranteedIssueInTexasWithFootnote}}
---
ledger_pdf_generator_wx.cpp | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/ledger_pdf_generator_wx.cpp b/ledger_pdf_generator_wx.cpp
index 5a9fb61..84f432e 100644
--- a/ledger_pdf_generator_wx.cpp
+++ b/ledger_pdf_generator_wx.cpp
@@ -2515,9 +2515,14 @@ class pdf_illustration_nasd : public pdf_illustration
add_variable("ContractNameCap", s);
}
+ auto const& policy_name = invar.PolicyLegalName;
+ auto const& state_abbrev = invar.GetStatePostalAbbrev();
+
add_variable
("UWTypeIsGuaranteedIssueInTexasWithFootnote"
- ,invar.UWType == "Guaranteed issue"
+ , invar.UWType == "Guaranteed issue"
+ && policy_name == "Flexible Premium Variable Adjustable Life
Insurance Policy"
+ && state_abbrev == "TX"
);
add_variable
@@ -2525,7 +2530,6 @@ class pdf_illustration_nasd : public pdf_illustration
,test_variable("HasTerm") || test_variable("HasSupplSpecAmt")
);
- auto const& state_abbrev = invar.GetStatePostalAbbrev();
add_variable
("StateIsNewYork"
,state_abbrev == "NY"