﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/">
        <div id="div_ListInviteCodes">
            <table class="tableMaster">
                <tr>
                    <td width="25%">
                        <span class="labelHeader" style="color: rgb(55, 96, 146);">Code</span>
                    </td>
                    <td>
                        <span class="labelHeader" style="color: rgb(55, 96, 146);">Issue Quantity</span>
                    </td>
                    <td>
                        <span class="labelHeader" style="color: rgb(55, 96, 146);">Used Quantity</span>
                    </td>
                </tr>
                <xsl:for-each select="InviteCodes/Code">
                    <tr>
                        <td class="label">
                            <xsl:value-of select="CouponCode"/>
                        </td>
                        <td class="label">
                            <xsl:value-of select="IssueQuantity"/>
                        </td>
                        <td class="label">
                            <xsl:value-of select="UsedQuantity"/>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="3" class="labelComment" style="padding-bottom: 20px;">
                            <xsl:value-of select="Description"/>
                        </td>
                    </tr>
                </xsl:for-each>
            </table>
        </div>
    </xsl:template>
</xsl:stylesheet>
