[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 865fe55 4/9: Make all columns fit for an exot
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 865fe55 4/9: Make all columns fit for an exotic product |
Date: |
Wed, 29 Aug 2018 11:07:54 -0400 (EDT) |
branch: master
commit 865fe5591328fb368049187759b4ec6200d377da
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Make all columns fit for an exotic product
---
ledger_pdf_generator_wx.cpp | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/ledger_pdf_generator_wx.cpp b/ledger_pdf_generator_wx.cpp
index 62bf3bf..344843e 100644
--- a/ledger_pdf_generator_wx.cpp
+++ b/ledger_pdf_generator_wx.cpp
@@ -2377,19 +2377,26 @@ class nasd_supplemental : public
page_with_tabular_report
return "nasd_supp";
}
+ // When invar.SplitMinPrem is true, this report has twelve columns
+ // rather than eleven, and it's not generally possible to fit all
+ // twelve. Ideally the net-premium column would be omitted in this
+ // case because it's just not useful. Instead, for now at least,
+ // the columns that are unique to this case are narrowed on the
+ // assumption that premiums won't reach $100M even for composites.
+
illustration_table_columns const& get_table_columns() const override
{
static illustration_table_columns const columns =
{{ "PolicyYear" , "Policy\nYear" ,
"999" }
,{ "AttainedAge" , "End of\nYear\nAge" ,
"999" }
- ,{ "ErGrossPmt" , "ER Gross\nPayment" ,
"999,999,999" }
- ,{ "EeGrossPmt" , "EE Gross\nPayment" ,
"999,999,999" }
+ ,{ "ErGrossPmt" , "ER Gross\nPayment" ,
"99,999,999" }
+ ,{ "EeGrossPmt" , "EE Gross\nPayment" ,
"99,999,999" }
,{ "GrossPmt" , "Premium\nOutlay" ,
"999,999,999" }
,{ "PolicyFee_Current" , "Admin\nCharge" ,
"999,999,999" }
,{ "PremTaxLoad_Current" , "Premium\nTax Load" ,
"999,999,999" }
,{ "DacTaxLoad_Current" , "DAC\nTax Load" ,
"999,999,999" }
- ,{ "ErModalMinimumPremium" , "ER Modal\nMinimum\nPremium" ,
"999,999,999" }
- ,{ "EeModalMinimumPremium" , "EE Modal\nMinimum\nPremium" ,
"999,999,999" }
+ ,{ "ErModalMinimumPremium" , "ER Modal\nMinimum\nPremium" ,
"99,999,999" }
+ ,{ "EeModalMinimumPremium" , "EE Modal\nMinimum\nPremium" ,
"99,999,999" }
,{ "NetPmt_Current" , "Net\nPremium" ,
"999,999,999" }
,{ "COICharge_Current" , "Cost of\nInsurance\nCharges" ,
"999,999,999" }
,{ "AcctVal_Current" , "Current\nAccount\nValue" ,
"999,999,999" }
- [lmi-commits] [lmi] master updated (34570c6 -> 5930d89), Greg Chicares, 2018/08/29
- [lmi-commits] [lmi] master 87d4f89 1/9: Fix commas and spacing in some illustration headers, Greg Chicares, 2018/08/29
- [lmi-commits] [lmi] master 08ce595 2/9: Move {{StateMarketingImprimatur}} slightly northeastward, Greg Chicares, 2018/08/29
- [lmi-commits] [lmi] master 887b85f 6/9: Remove a stray , Greg Chicares, 2018/08/29
- [lmi-commits] [lmi] master 738fa21 7/9: Add missing period, Greg Chicares, 2018/08/29
- [lmi-commits] [lmi] master 865fe55 4/9: Make all columns fit for an exotic product,
Greg Chicares <=
- [lmi-commits] [lmi] master 8b9b020 3/9: Make an illustration column narrower, Greg Chicares, 2018/08/29
- [lmi-commits] [lmi] master 6fe7458 5/9: Fix "annnual" in output, Greg Chicares, 2018/08/29
- [lmi-commits] [lmi] master 4916a46 8/9: Do not show lapse years on an 'naic' composite, Greg Chicares, 2018/08/29
- [lmi-commits] [lmi] master 5930d89 9/9: Add a line below 'dollar_units' for user-designed supplemental reports, Greg Chicares, 2018/08/29