<div class="form_section"> <h1> <span>Non-HMS Card Plans</span> </h1> <div class="form_row_for_tables"> <table class="non_global_card_plans_table" border="0" cellpadding="0" cellspacing="0" > <thead> <tr> <th class="col1" > <xsl:text disable-output-escaping="yes">&nbsp;</xsl:text> </th> <th class="col2">Card Program</th> <th class="col3">Merchant Number</th> <th class="col4">Clearance Indicator</th> <th class="no_border">Rate</th> </tr> </thead> <tbody> <xsl:for-each select="/M2:Cards/M2:SalesUnit/M2:NonGlobalCards/M2:Card"> <tr> <td> <asp:CheckBox ID="cb_Non{M2:Name}" runat="server"/> </td> <td > <xsl:value-of select="./M2:Name"/> </td> <td class="no_border"> <asp:TextBox ID="txt_NonMerchantNo{M2:Name}" CssClass="text_medium" MaxLength="17" Enabled="false" runat="server" onkeypress="return checkStringNumber(event,this);"></asp:TextBox> </td> <td> <xsl:choose> <xsl:when test="count(./M2:Options[@Display = 'dropdown']) > 0"> <asp:DropDownList ID="ddl_NonClearanceInd{M2:Name}" Enabled="false" runat="server"> <xsl:for-each select="./M2:Options/M2:Option[@Name = 'CardName']"> <asp:ListItem Value="{@ProviderName}"> <xsl:value-of select="."/> </asp:ListItem> </xsl:for-each> </asp:DropDownList> </xsl:when> <xsl:otherwise> <asp:label id="lbl_NonClearanceInd{M2:Name}" runat="server" text="{./M2:Options/M2:Option[@Name = 'CardName']/@ProviderName}" ></asp:label> </xsl:otherwise> </xsl:choose> </td> <xsl:if test="/M2:Cards/M2:SalesUnit/M2:NonGlobalCards/M2:Card[@CardID='5006']"> <td class="no_border"> <asp:TextBox ID="txt_Rate{M2:Name}" CssClass="text_medium" MaxLength="17" Enabled="true" runat="server" Text="2.75%" onkeypress="return checkStringNumber(event,this);"></asp:TextBox> </td> </xsl:if> </tr> </xsl:for-each> <!--<xsl:if test="/M2:Cards/M2:SalesUnit/M2:NonGlobalCards/M2:Card[@CardID='5006']"> <td class="no_border"> <asp:TextBox ID="txt_Rate{M2:Name}" CssClass="text_medium" MaxLength="17" Enabled="true" runat="server" Text="2.75%" onkeypress="return checkStringNumber(event,this);"></asp:TextBox> </td> </xsl:if>--> </tbody> </table> </div>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)