﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl">

    <xsl:output method="xml" indent="yes" omit-xml-declaration ="yes"/>
    <xsl:include href="../GenericTemplates/Notes_LineBreak.xslt" />
    <xsl:template match="/">
        <xsl:for-each select ="PackDetail/Item">
            <div style="background-color:White;">
                <table class="tableMaster" cellpadding="0" cellspacing="5" border="0">
                    <tr>
                        <td>
                            <span class="labelNormalSize11" style="padding-bottom:10px;">
                                Thank you for your purchase! We are excited to have the opportunity to work with you to help you succeed with
                                your goals. Here are the details of your purchase:
                            </span>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div>
                                <div>
                                    <span class="labelSize12" style="margin-top:10px;">
                                        <xsl:value-of select="Package"/>
                                    </span>
                                </div>
                                <div>
                                    <span class="labelNormalSize11">
                                        <xsl:call-template name="break">
                                            <xsl:with-param name="text" select="Description"></xsl:with-param>
                                        </xsl:call-template>
                                    </span>
                                </div>
                                <div style="margin-top:15px;">
                                    <div>
                                        <span class="labelNormalSize11">
                                            <b>This package includes:</b>
                                        </span>
                                    </div>
                                    <div style="margin-left:15px;">
                                        <xsl:if test ="ChbPackageServices = 1 and ServiceName != ''">
                                            <div>
                                                <span class="labelSmall" style="margin-left:10px;">
                                                    Coaching Services for&#xa0;<xsl:value-of select ="ServiceName"/>
                                                </span>
                                            </div>
                                        </xsl:if>
                                        <xsl:if test ="ChbCallMins = 1 and TxtCallMins != ''">
                                            <div>
                                                <span class="labelSmall" style="margin-left:10px;">
                                                    Introduction/Kickoff Phone Call up to&#xa0;<xsl:value-of select ="TxtCallMins"/>&#xa0;Minutes
                                                </span>
                                            </div>
                                        </xsl:if>
                                        <xsl:if test ="ChbAccTrack = 1">
                                            <div>
                                                <span class="labelSmall" style="margin-left:10px;">Accountability Tracking Using LifeSpace Goals and Templates</span>
                                            </div>
                                        </xsl:if>
                                        <xsl:if test ="ChbCheckCalls = 1 and CheckInCallsName != ''">
                                            <div>
                                                <span class="labelSmall" style="margin-left:10px;">
                                                    Additional&#xa0;<xsl:value-of select ="CheckInCallsName"/>&#xa0;Check-In Calls
                                                </span>
                                            </div>
                                        </xsl:if>
                                        <xsl:if test ="ChbEmail = 1">
                                            <div>
                                                <span class="labelSmall" style="margin-left:10px;">Unlimited E-Mail Support</span>
                                            </div>
                                        </xsl:if>
                                        <xsl:if test ="ChbFocus = 1 and FocusName != ''">
                                            <div>
                                                <span class="labelSmall" style="margin-left:10px;">
                                                    We Will Focus on&#xa0;<xsl:value-of select ="FocusName"/>
                                                </span>
                                            </div>
                                        </xsl:if>
                                        <xsl:if test ="LSHelpYN = 1">
                                            <div>
                                                <span class="labelSmall" style="margin-left:10px;">
                                                    I need assistance. Have a LifeSpace account representative contact me
                                                </span>
                                            </div>
                                        </xsl:if>
                                    </div>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span class="labelNormalSize11" style="padding-bottom:10px;">
                                Package Amount:&#xa0;$<xsl:value-of select="PackageFeeDisplay"/>
                            </span>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span class="labelNormalSize11" style="padding-bottom:10px;">
                                Transaction Date:&#xa0;<xsl:value-of select="TransDate"/>
                            </span>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span class="labelNormalSize11" style="padding-bottom:10px;">
                                Transaction ID:&#xa0;<xsl:value-of select="TxnID"/>
                            </span>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span class="labelNormalSize11" style="margin-bottom:10px;">
                                Package ID:&#xa0;<xsl:value-of select="PackageID"/>
                            </span>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="labelNormalSize11" style="padding-bottom:10px;">
                                <b>Instructions:</b>
                                <div class="labelNormalSize11">1. You will be contacted by your LifeSpace Coach within 24 hours via e-mail with additional instructions on how to get started.</div>
                                <div class="labelNormalSize11">
                                    2. If you haven't already done so, please register an account with LifeSpace using the e-mail address you used for your payment. Your coaching package will be linked with that e-mail address.
                                </div>
                                <div class="labelNormalSize11">3. If you have questions or comments, please contact coaches@lifespace.com</div>

                                <div style="padding-top:10px;" class="labelNormalSize11">Thank you for using the LifeSpace Coaching Services</div>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </xsl:for-each>
    </xsl:template>
</xsl:stylesheet>
