<!--                                                                  -->
<!--  Copyright (C) 2006 RoyaltyShare, Inc.   All Rights Reserved     -->
<!--  $Id$  -->
<!--                                                                  -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">


    <xsl:template name="productsNoPricesLayout">
        <div class="section" id="auditReport">
            <xsl:choose>
                <xsl:when test="Report/Product">
                    <div class="reportNavWrapper">
                        <h2>
                            Products Without Prices
                            <xsl:call-template name="helpIcon">
                                <xsl:with-param name="tip">
                                    Lists products that do not have prices entered where a contract configured<xsl:value-of select="$tipBreak" />
                                    with % Wholesale or % Retail terms is attached to that album or track
                                </xsl:with-param>
                            </xsl:call-template> 
                        </h2>
                        <xsl:call-template name="reportHeading" />
                        <xsl:call-template name="reportNav" />
                    </div>
                    <xsl:call-template name="productsNoPricesTable" />
                    <xsl:call-template name="reportNav" />
                    <br class="superBreak" />
                    <br />
                </xsl:when>
                <xsl:otherwise>
                    <p>No products without prices were found.</p>
                </xsl:otherwise>
            </xsl:choose>
        </div>
        <xsl:call-template name="backToStatementsHome" />
    </xsl:template>


    <xsl:template name="productsNoPricesTable">
        <table class="textChart hiOn">
            <tr>
                <th>Label</th>
                <th>Catalog&#160;#</th>
                <th>Album&#160;Title</th>
                <th>Artist</th>
                <th>Product&#160;Type</th>
                <th>Product&#160;ID</th>
                <th>UPC</th>
                <th>Missing&#160;Price&#160;Level</th>
            </tr>
            <xsl:for-each select="Report/Product">
                <tr class="row{position() mod 2}">
                    <td><xsl:value-of select="LabelName" /></td>
                    <td><xsl:value-of select="CatalogNumber" /></td>
                    <td>
                        <a href="product?c=show&amp;ProductID={ProductID}"><xsl:value-of select="AlbumTitle" /></a>
                    </td>
                    <td><xsl:value-of select="ArtistName" /></td>
                    <td><xsl:value-of select="ProductType" /></td>
                    <td>
                        <a href="product?c=show&amp;ProductID={ProductID}"><xsl:value-of select="ProductCode" /></a>
                    </td>
                    <td><xsl:value-of select="UPC_EAN" /></td>
                    <td><xsl:value-of select="MissingPriceLevel" /></td>
                </tr>
            </xsl:for-each>
        </table>
    </xsl:template>


</xsl:stylesheet>
