lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [6590] State individual (not group total) spouse rider amo


From: gchicares
Subject: [lmi-commits] [6590] State individual (not group total) spouse rider amount
Date: Fri, 13 May 2016 14:14:39 +0000 (UTC)

Revision: 6590
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6590
Author:   chicares
Date:     2016-05-13 14:14:39 +0000 (Fri, 13 May 2016)
Log Message:
-----------
State individual (not group total) spouse rider amount

Modified Paths:
--------------
    lmi/trunk/ChangeLog
    lmi/trunk/group_quote_pdf_gen_wx.cpp

Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2016-05-13 14:04:33 UTC (rev 6589)
+++ lmi/trunk/ChangeLog 2016-05-13 14:14:39 UTC (rev 6590)
@@ -39115,3 +39115,39 @@
   https://github.com/vadz/lmi/pull/28
 for this commit and the next several.
 
+20160513T1352Z <address@hidden> [451]
+
+  group_quote_pdf_gen_wx.cpp
+  wx_table_generator.cpp
+  wx_table_generator.hpp
+Refactor: move total table cells drawing into wx_table_generator (VZ).
+
+20160513T1356Z <address@hidden> [451]
+
+  group_quote_pdf_gen_wx.cpp
+  wx_table_generator.cpp
+  wx_table_generator.hpp
+Suppress columns with only zeroes in group quote summary (VZ).
+
+20160513T1359Z <address@hidden> [451]
+
+  group_quote_pdf_gen_wx.cpp
+  wx_table_generator.cpp
+  wx_table_generator.hpp
+Refactor: add wx_table_generator::text_rect() helper (VZ).
+
+20160513T1402Z <address@hidden> [451]
+
+  group_quote_pdf_gen_wx.cpp
+Refactor: move some variables outside of the loop to allow reuse (VZ).
+
+20160513T1404Z <address@hidden> [451]
+
+  group_quote_pdf_gen_wx.cpp
+Add averages sub-header to the group quote report (VZ).
+
+20160513T1414Z <address@hidden> [451]
+
+  group_quote_pdf_gen_wx.cpp
+State individual (not group total) spouse rider amount.
+

Modified: lmi/trunk/group_quote_pdf_gen_wx.cpp
===================================================================
--- lmi/trunk/group_quote_pdf_gen_wx.cpp        2016-05-13 14:04:33 UTC (rev 
6589)
+++ lmi/trunk/group_quote_pdf_gen_wx.cpp        2016-05-13 14:14:39 UTC (rev 
6590)
@@ -749,9 +749,11 @@
         if(invar.HasSpouseRider)
             {
             std::pair<int, oenum_format_style> const f0(0, oe_format_normal);
+            double const number_of_lives = invar.GetInforceLives().at(0);
+            LMI_ASSERT(0.0 < number_of_lives);
             elected_riders_footnote_ +=
                   " The spouse coverage amount is $"
-                + ledger_format(invar.SpouseRiderAmount, f0)
+                + ledger_format(invar.SpouseRiderAmount / number_of_lives, f0)
                 + "."
                 ;
             }




reply via email to

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