<!--                                                                  -->
<!--  Copyright (C) 2006 RoyaltyShare, Inc.   All Rights Reserved     -->
<!--  $Id$  -->
<!--                                                                  -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:dyn="http://exslt.org/dynamic" extension-element-prefixes="dyn">
    <xsl:output method="html" indent="no" doctype-system="" encoding="utf-8" />

    <xsl:include href="/app/tools/rps/templates/help/help_layout.xsl" />

    <xsl:template name="helpHeader"><h1>Help - <xsl:if test="Params/oc = 'show'">View</xsl:if><xsl:if test="Params/oc = 'edit'">Edit</xsl:if> Artist/Producer Payee</h1></xsl:template>
    <xsl:template name="helpPage">
        <p>
            You can watch a video demo of all payee portal related features below.
        </p>
        <video id="my-video" class="video-js" controls="true" controlsList="nodownload" preload="auto" width="640" height="264" poster="/production/media/Payee_Portal_FINAL_20180222.jpg" data-setup="{{}}">
            <source src="/production/media/Payee_Portal_FINAL_20180222_720p.mp4" type='video/mp4'/>
            <p class="vjs-no-js">
                To view this video please enable JavaScript, and consider upgrading to a web browser that <a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a>
            </p>
        </video>

        <script src="http://vjs.zencdn.net/6.6.3/video.js"></script>

        <script type="text/javascript">
            var myVideo = document.getElementById("my-video");
            if (myVideo.addEventListener) {
                myVideo.addEventListener('contextmenu', function(e) {
                    e.preventDefault();
                }, false);
            } else {
                myVideo.attachEvent('oncontextmenu', function() {
                    window.event.returnValue = false;
                });
            }
        </script>

        <xsl:if test="Params/oc = 'show'">

            <p>The artist/producer payee page contains artist/producer contact information and contracts associated with the payee.</p>
        </xsl:if>
        <xsl:if test="Params/oc = 'edit'">
            <p>The edit artist/producer payee page allows you to edit information associated with the payee.</p>
        </xsl:if>

        <img alt="" class="HelpImage HelpImage-general-view" src="/production/redesign/images/help/rps/{Params/a}/{Params/oc}.png" />

        <xsl:if test="Params/oc = 'show'">
            <p>
                The artist/producer payee page is broken into three sections:
            </p>
            <h2>"Payee" section:</h2>

            <p>
                The payee section lists all information pertaining to a payee.
            </p>
        </xsl:if>

        <xsl:if test="Params/oc = 'edit'">
            <p>
                The following information can be edited on this page:
            </p>
        </xsl:if>

        <dl>
            <dt>Payee</dt>
            <dd>Notes the name of the payee.</dd>

            <dt>Client Account # </dt>
            <dd>Notes the account number for the payee.  The account number is for the customer’s internal use.  Typically, customers use the same account number for the payee that is seen in their general accounting applications to simplify the transfer of information.</dd>

            <dt>Status</dt>
            <dd>Status determines if a payee configured within the system is active, inactive or on-hold.
                <ul>
                    <li>Active – Statements are generated for active payees and a statement balance is reported in the royalty run.
                        <ul>
                            <li>Only statements committed when a payee is active will appear in the payee portal.</li>
                        </ul>
                    </li>
                    <li>Inactive – Statements are not generated for an inactive payee.  All associated contracts for the payee will not be processed during royalty runs.
                        <ul>
                            <li>If the payee is set back to "Active" all non-processed sales will hit the next royalty statement.</li>
                            <li>Inactive payees cannot be invited to the payee portal for statement distribution.</li>
                        </ul>
                    </li>
                    <li>On-hold – Statements are generated for a payee that is set to on-hold with the statement balance reporting that the payee is "On-hold".
                        <ul>
                            <li>Statements are generated with sales being processed against associated contracts.</li>
                            <li>Balance is noted as "On-hold" with the outstanding balance being automatically forwarded to the next period.</li>
                            <li>Statements for payees on-hold will not appear in the payee portal.</li>
                        </ul>
                    </li>
                </ul>
            </dd>

            <dt>Address</dt>
            <dd>Notes the street address for the payee.  Address information is noted on statements that are generated for the payee.</dd>

            <dt>City</dt>
            <dd>Notes the city address for the payee.  City information is noted on statements that are generated for the payee.</dd>

            <dt>State/Province</dt>
            <dd>Notes the State/Province address for the payee.  State/Province information is noted on statements that are generated for the payee.</dd>

            <dt>ZIP/Postal </dt>
            <dd>Notes the zip or postal code address for  the payee.  Zip/postal information is noted on statements that are generated for the payee.</dd>

            <dt>Country</dt>
            <dd>Notes the country address for the payee.  Country information is noted on statements that are generated for the payee.</dd>

            <dt>Email</dt>
            <dd>The email address of the payee.  Must be valid in order to set a payee to online statement distribution.  Note that once a payee is confirmed for the payee portal, their email address cannot be changed.</dd>

            <dt>Phone</dt>
            <dd>Notes the phone number for the contact of the payee.  Phone number is informational only and is not noted on statements that are generated for the payee.</dd>

            <dt>Fax</dt>
            <dd>Notes the fax number for the contact of the payee.  Fax number is informational only and is not noted on statements that are generated for the payee.</dd>

            <dt>Tax ID</dt>
            <dd>Notes the Tax ID number for the payee.  The Tax ID number is informational only and is not noted on statements that are generated for the payee.</dd>

            <dt>Comments</dt>
            <dd>The comments section provides an area for additional information to be noted concerning a payee.  The comments section is informational only.</dd>

            <dt>Statement Distribution</dt>
            <dd>method for distributing statements to this payee.
                <ul>
                    <li>Manual -  by default, meaning simply that you are manually distributing statements for this payee outside of the RoyaltyShare system.</li>
                    <li>Online through Payee Portal - The payee portal is an area of the application where statement recipients can receive their royalty statements directly from your RoyaltyShare website.  Invite payees will be asked to create an account, and once logged in, will be able to view and download statements from their next committed royalty run.
                        <ul>
                            <li>When changed to have statements distributed online, you’ll see a message stating that “An invite will be sent when this payee is updated.”</li>
                            <li>A valid email address is required; you cannot send an invite without one.</li>
                        </ul>
                    </li>
                </ul>
            </dd>

            <xsl:if test="Params/oc = 'show'">
                <dt>Statement Distribution Status</dt>
                <dd>present if distribution method is “Online through Payee Portal.”</dd>

                <img class="HelpImage" src="/production/redesign/images/help/rps/{Params/a}/waiting.png" alt="" />
                <ul>
                    <li>Waiting on confirmation - an invite has been sent to the payee, but they have not yet created their account and/or confirmed their receipt of this statement.
                        <ul>
                            <li>“Resend” link - available for payee who have not yet confirmed.  Resend the invite.  Note that you cannot resend an invite more than once in a 24-hour period.</li>
                        </ul>
                    </li>
                </ul>
                <img class="HelpImage" src="/production/redesign/images/help/rps/{Params/a}/confirmed.png" alt="" />
                <ul>
                    <li>Confirmed - the payee has created their account and/or confirmed that they will receive this statement through the payee portal.</li>
                </ul>
            </xsl:if>

        </dl>

        <xsl:if test="Params/oc = 'show'">
            <h2>"Contracts" section:</h2>

            <p>
                The contracts section shows all contracts associated with the payee, along with basic contract information.
            </p>
            <img class="HelpImage" src="/production/redesign/images/help/rps/{Params/a}/show-contracts.png" alt="" />
            <dl>

                <dt>Contract Title</dt>
                <dd>The name of the contract as configured in the system that is attached to the payee.  The title also functions as a direct link to the View Artist/Producer contract page.</dd>

                <dt>Artist</dt>
                <dd>The name of the artist as it appears on the contract.  This field is informational only.</dd>

                <dt>Contract ID</dt>
                <dd>The contract ID that appears on the contract.  This field is informational only.</dd>

                <dt>Issue Date</dt>
                <dd>The issue date entered on the contract.   This field is informational only.</dd>
            </dl>

            <h2>"Payors" section:</h2>

            <p>
                The payor section provides the ability to note and access transactions that are applied to a statement at a payor level.
            </p>

            <img class="HelpImage" src="/production/redesign/images/help/rps/{Params/a}/show-payors.png" alt="" />

            <dl>

                <dt>Payor</dt>
                <dd>The payor column within this view lists all payors that have been configured within the system.
                    <ul>
                        <li>It is possible for a payee to be included on two separate payor runs.  If a payee is associated with two payor runs, separate balances are kept for each payor run for that payee.</li>
                        <li>A payee level transaction is applied to the payor where the payee balance is adjusted.</li>
                    </ul>
                </dd>

                <dt>Minimum Payment</dt>
                <dd>The minimum payment for the payee associated with a specific payor sets the minimum payment level for their statement.
                    <ul>
                        <li>If the "Ending Balance" on a statement is less than the assigned "Minimum Payment", the "Amount Payable" will be $0.00, and the balance will be forwarded to subsequent statements until the Minimum Payment is surpassed.</li>
                        <li>Minimum payments are configured separately for each payor.</li>
                    </ul>
                </dd>

                <dt>Pending Transactions</dt>
                <dd>
                    Notes the total of all payee level transactions, including adjustments, payments, and advances, that have not been committed as part of a mechanical royalty run.  Adjustments, payments, and advances can be viewed, created, and edited by selecting the icon next to the "Pending Transactions" total.
                    <xsl:call-template name="icon">
                        <xsl:with-param name="type" select="'edit'" />
                    </xsl:call-template>
                </dd>
            </dl>

        </xsl:if>
    </xsl:template>


</xsl:stylesheet>

