[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [6330] Use input effective date
From: |
Greg Chicares |
Subject: |
[lmi-commits] [6330] Use input effective date |
Date: |
Wed, 07 Oct 2015 21:56:49 +0000 |
Revision: 6330
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6330
Author: chicares
Date: 2015-10-07 21:56:47 +0000 (Wed, 07 Oct 2015)
Log Message:
-----------
Use input effective date
Modified Paths:
--------------
lmi/trunk/group_quote_pdf_gen_wx.cpp
Modified: lmi/trunk/group_quote_pdf_gen_wx.cpp
===================================================================
--- lmi/trunk/group_quote_pdf_gen_wx.cpp 2015-10-07 19:48:51 UTC (rev
6329)
+++ lmi/trunk/group_quote_pdf_gen_wx.cpp 2015-10-07 21:56:47 UTC (rev
6330)
@@ -297,6 +297,7 @@
std::string plan_type_;
std::string premium_mode_;
std::string contract_state_;
+ std::string effective_date_;
std::string footer_;
};
global_report_data report_data_;
@@ -371,6 +372,8 @@
available_riders_ = "Waiver, ADB, ABR, Spouse or Child"; // FIXME
premium_mode_ = ledger.InitErMode;
contract_state_ = ledger.GetStatePostalAbbrev();
+ jdn_t eff_date = jdn_t(static_cast<int>(ledger.EffDateJdn));
+ effective_date_ = ConvertDateToWx(eff_date).FormatDate().ToStdString();
footer_ = ledger.MarketingNameFootnote;
// Input::Comments will replace these two:
guarantee_issue_max_ = "$500,000"; // FIXME
@@ -830,7 +833,7 @@
"<td align=\"right\"><b>Number of
participants: </b></td><td>%d</td>"
"</tr>"
"</table>"
- ,wxDateTime::Today().FormatDate()
+ ,escape_for_html_elem(report_data_.effective_date_)
,escape_for_html_elem(report_data_.plan_type_)
,escape_for_html_elem(report_data_.guarantee_issue_max_)
,escape_for_html_elem(report_data_.premium_mode_)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [6330] Use input effective date,
Greg Chicares <=