[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [4963] Add a modified single premium nuance
From: |
Wendy Boutin |
Subject: |
[lmi-commits] [4963] Add a modified single premium nuance |
Date: |
Thu, 27 May 2010 01:53:19 +0000 |
Revision: 4963
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=4963
Author: wboutin
Date: 2010-05-27 01:53:18 +0000 (Thu, 27 May 2010)
Log Message:
-----------
Add a modified single premium nuance
Modified Paths:
--------------
lmi/trunk/ChangeLog
lmi/trunk/illustration_reg.xsl
Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2010-05-25 21:54:34 UTC (rev 4962)
+++ lmi/trunk/ChangeLog 2010-05-27 01:53:18 UTC (rev 4963)
@@ -25863,3 +25863,8 @@
tier_document.cpp
Refactor, deriving stratified_charges from xml_serializable.
+20100527T0152Z <address@hidden> [704]
+
+ illustration_reg.xsl
+Add a modified single premium nuance.
+
Modified: lmi/trunk/illustration_reg.xsl
===================================================================
--- lmi/trunk/illustration_reg.xsl 2010-05-25 21:54:34 UTC (rev 4962)
+++ lmi/trunk/illustration_reg.xsl 2010-05-27 01:53:18 UTC (rev 4963)
@@ -33,6 +33,9 @@
<xsl:variable name="ModifiedSinglePremium">
<xsl:call-template name="set_modified_single_premium"/>
</xsl:variable>
+ <xsl:variable name="ModifiedSinglePremium0">
+ <xsl:call-template name="set_modified_single_premium0"/>
+ </xsl:variable>
<xsl:variable name="SinglePremium">
<xsl:call-template name="set_single_premium"/>
</xsl:variable>
@@ -182,7 +185,7 @@
It features accumulating account values, adjustable benefits,
and flexible premiums.
</xsl:when>
- <xsl:when test="$ModifiedSinglePremium='1'">
+ <xsl:when test="$ModifiedSinglePremium='1' or
$ModifiedSinglePremium0='1'">
<xsl:value-of select="$scalars/PolicyMktgName"/>
is a modified single premium adjustable life
insurance contract. It features accumulating
@@ -795,7 +798,7 @@
</fo:block>
</xsl:if>
<!-- Single Premium Logic -->
- <xsl:if test="$ModifiedSinglePremium='1'">
+ <xsl:if test="$ModifiedSinglePremium='1' or
$ModifiedSinglePremium0='1'">
<fo:block padding-top="1em">
<fo:inline font-weight="bold">
Modified Single Premium:
@@ -823,7 +826,7 @@
or other premium payor.
</fo:block>
<!-- Single Premium Logic -->
- <xsl:if test="$SinglePremium='1' and $ModifiedSinglePremium!='1'">
+ <xsl:if test="$SinglePremium='1' and $ModifiedSinglePremium0='0'
and $ModifiedSinglePremium='0'">
<fo:block padding-top="1em">
<fo:inline font-weight="bold">
Single Premium:
@@ -840,7 +843,7 @@
<fo:inline font-weight="bold">
Ultimate Illustrated Crediting Rate:
</fo:inline>
- <xsl:value-of select="$scalars/UltCreditingRateFootnote"/>.
+ <xsl:value-of select="$scalars/UltCreditingRateFootnote"/>
</fo:block>
</xsl:if>
</fo:block>
@@ -1243,7 +1246,14 @@
<!-- Single Premium Logic -->
<fo:block>
Ultimate Illustrated Crediting Rate:
- <xsl:value-of
select="address@hidden'AnnGAIntRate_Current']/duration[6]/@column_value"/>
+ <xsl:choose>
+ <xsl:when test="$ModifiedSinglePremium0='1'">
+ <xsl:value-of
select="address@hidden'AnnGAIntRate_Current']/duration[11]/@column_value"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of
select="address@hidden'AnnGAIntRate_Current']/duration[6]/@column_value"/>
+ </xsl:otherwise>
+ </xsl:choose>
</fo:block>
</xsl:if>
<!-- Update with "FriendlyUWType" - Get From Greg -->
@@ -1733,7 +1743,7 @@
<xsl:template name="set_single_premium">
<xsl:variable name="A" select="string-length($scalars/PolicyMktgName) >
5"/>
- <xsl:variable name="B" select="substring($scalars/PolicyLegalName, 1, 6) =
'Single'"/>
+ <xsl:variable name="B" select="substring($scalars/PolicyLegalName, 1, 6) =
'Single' or substring($scalars/PolicyLegalName, 1, 8) = 'Modified'"/>
<xsl:value-of select="number($A and $B)"/>
</xsl:template>
@@ -1744,6 +1754,12 @@
<xsl:value-of select="number($A and $B and $C)"/>
</xsl:template>
+ <xsl:template name="set_modified_single_premium0">
+ <xsl:variable name="A" select="string-length($scalars/PolicyMktgName) >
5"/>
+ <xsl:variable name="B" select="substring($scalars/PolicyLegalName, 1, 8) =
'Modified'"/>
+ <xsl:value-of select="number($A and $B)"/>
+ </xsl:template>
+
<xsl:template name="set_group_experience_rating">
<xsl:value-of select="number($scalars/PolicyLegalName='Group Flexible
Premium Adjustable Life Insurance Policy')"/>
</xsl:template>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [4963] Add a modified single premium nuance,
Wendy Boutin <=