lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [5492] Untangle a variable formerly used for tracking numb


From: Wendy Boutin
Subject: [lmi-commits] [5492] Untangle a variable formerly used for tracking numbers
Date: Fri, 08 Jun 2012 16:45:15 +0000

Revision: 5492
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5492
Author:   wboutin
Date:     2012-06-08 16:45:14 +0000 (Fri, 08 Jun 2012)
Log Message:
-----------
Untangle a variable formerly used for tracking numbers

Modified Paths:
--------------
    lmi/trunk/ChangeLog
    lmi/trunk/fo_common.xsl

Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2012-06-08 16:31:18 UTC (rev 5491)
+++ lmi/trunk/ChangeLog 2012-06-08 16:45:14 UTC (rev 5492)
@@ -30255,8 +30255,13 @@
   mc_enum_types.xpp
 Change the headings of certain exotic columns.
 
-20120606T1626Z <address@hidden> [578]
+20120608T1631Z <address@hidden> [578]
 
   nasd.xsl
 Specify basis of three columns.
 
+20120608T1645Z <address@hidden> [578]
+
+  fo_common.xsl
+Untangle a variable formerly used for tracking numbers.
+

Modified: lmi/trunk/fo_common.xsl
===================================================================
--- lmi/trunk/fo_common.xsl     2012-06-08 16:31:18 UTC (rev 5491)
+++ lmi/trunk/fo_common.xsl     2012-06-08 16:45:14 UTC (rev 5492)
@@ -158,21 +158,26 @@
   </xsl:template>
 
   <!--
-  The field 'InsCoPhone' contains two compliance tracking numbers.
-  The first one is for new business, which could start at 1st position.
-  The second one is for inforce, which always starts at the 20-th.
+  Formerly, the field 'InsCoPhone' contained two compliance tracking numbers,
+  but more were needed to distinguish inforce and new business composites.
   -->
   <xsl:variable name="compliance_tracking_string">
     <xsl:choose>
       <xsl:when test="$scalars/IsInforce!='1'">
-        <xsl:if test="string-length($scalars/InsCoPhone) &gt; 19">
-          <xsl:value-of select="substring($scalars/InsCoPhone, 1, 20)"/>
+        <xsl:if test="$scalars/Composite='1'">
+          <xsl:value-of select="$scalars/CompositeTrackingNumber"/>
         </xsl:if>
+        <xsl:if test="$scalars/Composite!='1'">
+          <xsl:value-of select="$scalars/PresaleTrackingNumber"/>
+        </xsl:if>
       </xsl:when>
       <xsl:otherwise>
-        <xsl:if test="string-length($scalars/InsCoPhone) &gt; 21">
-          <xsl:value-of select="substring($scalars/InsCoPhone, 21)"/>
+        <xsl:if test="$scalars/Composite='1'">
+          <xsl:value-of select="$scalars/InforceCompositeTrackingNumber"/>
         </xsl:if>
+        <xsl:if test="$scalars/Composite!='1'">
+          <xsl:value-of select="$scalars/InforceTrackingNumber"/>
+        </xsl:if>
       </xsl:otherwise>
     </xsl:choose>
   </xsl:variable>




reply via email to

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