Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html th:replace="~{layout :: layout(~{:: header/content() }, ~{:: section/content() }) }" xmlns:th="http://www.thymeleaf.org">
- <head>
- <title>
- Payments Processed on [(${sellerPayments.latestPaymentDate})]
- </title>
- </head>
- <body>
- <header> </header>
- <section>
- <style>
- .greyp {
- color: rgb(103, 115, 130);
- font-size: 14px;
- margin: 2px 0;
- }
- .boldp {
- font-weight: bold;
- color: rgb(0, 0, 0);
- font-size: 14px;
- }
- .subtitle {
- color: rgb(0, 0, 0);
- font-family: HelveticaNeue-Bold;
- font-size: 16px;
- font-weight: bold;
- padding: 20px 0;
- }
- .eventTitle {
- color: rgb(0, 0, 0);
- font-family: HelveticaNeue-Bold;
- font-size: 16px;
- font-weight: bold;
- }
- .centerp {
- text-align: center;
- }
- hr {
- color: rgb(103, 115, 130);
- margin: 50px 0 20px 0;
- opacity: 0.5;
- }
- </style>
- <div class="body">
- <table width="100%" style="vertical-align: middle; border: none; border-spacing: 0;border-collapse:collapse;max-width: 600px;word-break: break-word;">
- <tr>
- <td>
- <div>
- <span th:if="${userLocale eq 'de_DE'}">
- Hi, [(${firstName})] [(${lastName})].
- </span>
- <span th:unless="${userLocale eq 'de_DE'}">
- Hi, [(${firstName})].
- </span>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div>
- <p class="introduction">On [(${sellerPayments.latestPaymentDate})], we processed the following payments to you.</p>
- <div class="center">
- <a class="btn primary" th:href="'https://www.' + ${ #store.domain } + '/my/payments/'">
- View payment info
- </a>
- </div>
- <div class="centerp greyp">
- <span>Total of all payments:</span>
- <span class="em contrast" th:text="${ #currencies.format(sellerPayments.totalTransactionAmt, sellerPayments.currencyCode) }"></span>
- </div>
- <hr />
- <span th:if="${sellerPayments.hasCheckPayments} =='true'">
- <div class="subtitle">
- Cheque payments
- </div>
- <div class="greyp">
- Note: Adjustments to check payments are not reflected and may have affected your total payout. Please refer to your check stubs to see any adjustments or charges that may have been applied to your check payments.
- </div>
- <br/>
- <table width="100%" cellspacing="0" cellpadding="0" border="0" style="color:#222222;font-size:10pt; line-height:12pt;margin:0;padding:0;">
- <tbody>
- <th:block th:each="paymentDetail:${sellerPayments.checkPayments.paymentDetail}" style="color:#858585; font-size:16px;">
- <tr>
- <td height="28" bgcolor="#EBEBEB" style="color: rgb(103, 115, 130);font: bold 11pt Arial,Helvetica,sans-serif;height: 28px;padding: 10px 0 10px 10px;" colspan="3">
- <div><span class="boldp">Check # </span><span th:text="${paymentDetail.referenceNumber}"></span></div>
- <div th:if="${paymentDetail.checkToCompany} =='true'"><span class="boldp">Paid to: </span><span th:text="${paymentDetail.payeeName}"></span></div>
- <div th:unless="${paymentDetail.checkToCompany} =='true'"><span class="boldp">Paid to: </span><span th:text="${sellerPayments.sellerFirstName}"></span> <span th:text="${sellerPayments.sellerLastName}"></span></div>
- </td>
- </tr>
- <div th:include="~{payment_processed_detail}" th:with="paymentDetail=${paymentDetail},currencyCode=${sellerPayments.currencyCode}"></div>
- </th:block>
- <tr>
- <td height="37" align="right">
- <div class="boldp">
- <span >Total of all check payments  </span>
- <span class="em contrast" th:text="${ #currencies.format(sellerPayments.totalCheckAmt, sellerPayments.currencyCode) }"></span>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </span>
- <span th:if="${sellerPayments.hasPaypalPayments} == 'true'">
- <div class="subtitle">
- PayPal payments
- </div>
- <table width="100%" cellspacing="0" cellpadding="0" border="0" style="color:#222222; line-height:12pt;margin:0;padding:0;">
- <tbody>
- <th:block th:each="paymentDetail:${sellerPayments.paypalPayments.paymentDetail}" style="color:#858585;">
- <tr>
- <td height="28" bgcolor="#EBEBEB" style="color: rgb(103, 115, 130);font: bold 11pt Arial,Helvetica,sans-serif;height: 28px;padding: 10px 0 10px 10px; " colspan="3">
- <div><span class="boldp">PayPal reference # </span><span th:text="${paymentDetail.referenceNumber}"></span></div>
- <div><span class="boldp">Paid to: </span><span th:text="${paymentDetail.payeeEmailId}"></span></div>
- </td>
- </tr>
- <div th:include="~{payment_processed_detail}" th:with="paymentDetail=${paymentDetail},currencyCode=${sellerPayments.currencyCode}"></div>
- </th:block>
- <tr>
- <td height="37" align="right" colspan="3">
- <div class="boldp">
- <span>Total of all PayPal payments </span>
- <span class="em contrast" th:text="${ #currencies.format(sellerPayments.totalPaypalAmt, sellerPayments.currencyCode) }"></span>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </span>
- <span th:if="${sellerPayments.hasAchPayments} =='true'">
- <div class="subtitle">
- Direct deposit payments
- </div>
- <table width="100%" cellspacing="0" cellpadding="0" border="0" style="line-height:12pt;margin:0;padding:0;">
- <tbody>
- <th:block th:each="paymentDetail:${sellerPayments.achPayments.paymentDetail}" style="color:#858585; font-size:16px; font-family:Source Sans Pro, Helvetica, Arial, sans-serif;">
- <tr>
- <td height="28" bgcolor="#EBEBEB" style="color: rgb(103, 115, 130);height: 28px;padding: 10px 0 10px 10px; " colspan="3">
- <div class="boldp" th:text="${paymentDetail.bankName}"></div>
- <div><span class="boldp">Account # ending in </span><span th:text="${paymentDetail.accLastFourDigits}"></span></div>
- <div><span class="boldp">Reference # </span><span th:text="${paymentDetail.referenceNumber}"></span></div>
- <div><span class="boldp">Paid to: </span><span th:text="${paymentDetail.payeeName}"></span></div>
- </td>
- </tr>
- <div th:include="~{payment_processed_detail}" th:with="paymentDetai=${paymentDetail},currencyCode=${sellerPayments.currencyCode}"></div>
- </th:block>
- <tr>
- <td height="37" align="right" colspan="3">
- <div class="boldp">
- <span>Total of all direct deposit payments </span>
- <span class="em contrast" th:text="${ #currencies.format(sellerPayments.totalAchAmt, sellerPayments.currencyCode) }"></span>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </span>
- <span th:if="${sellerPayments.hasCreditMyTeamAccountPayments} =='true'">
- <div class="subtitle">
- Account credits
- </div>
- <table width="100%" cellspacing="0" cellpadding="0" border="0" style="line-height:12pt;margin:0;padding:0;">
- <tbody>
- <th:block th:each="paymentDetail:${sellerPayments.creditMyTeamAccountPayments.paymentDetail}" style="color:#858585; font-size:16px; font-family:Source Sans Pro, Helvetica, Arial, sans-serif;">
- <tr>
- <td height="28" bgcolor="#EBEBEB" style="color: rgb(103, 115, 130);height: 28px;padding: 10px 0 10px 10px; " colspan="3">
- <div><span class="boldp">Account # </span><span th:text="${paymentDetail.referenceNumber}"></span></div>
- <div><span class="boldp" th:text="${paymentDetail.payeeName}"></span></div>
- </td>
- </tr>
- <div th:include="~{payment_processed_detail}" th:with="paymentDetail=${paymentDetail},currencyCode=${sellerPayments.currencyCode}"></div>
- <span th:if="${paymentDetail.transactionTotal != ''}">
- <tr>
- <td height="37" align="right" colspan="3">
- <div class="boldp">
- <span>Total </span>
- <span class="em contrast" th:text="${ #currencies.format(sellerPayments.transactionTotal, sellerPayments.currencyCode) }"></span>
- </div>
- </td>
- </tr>
- <tr><td height="10" align="right" colspan="3"></td></tr>
- </span>
- </th:block>
- <tr>
- <td height="37" align="right" colspan="3">
- <div class="boldp">
- <span>Total of all account credits </span>
- <span class="em contrast" th:text="${ #currencies.format(sellerPayments.totalAccCreditAmt, sellerPayments.currencyCode) }"></span>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </span>
- <span th:if="${sellerPayments.hasCharityPayments} =='true'">
- <div class="subtitle">
- Charitable donations
- </div>
- <table width="605" cellspacing="0" cellpadding="0" border="0" style="line-height:12pt;margin:0;padding:0;">
- <tbody>
- <th:block th:each="paymentDetail:${sellerPayments.charityPayments.paymentDetail}" style="color:#858585; font-size:16px; font-family:Source Sans Pro, Helvetica, Arial, sans-serif;">
- <tr>
- <td height="28" bgcolor="#EBEBEB" style="color: #444444;font: bold 11pt Arial,Helvetica,sans-serif;height: 28px;padding: 10px 0 10px 10px; " colspan="3">
- <span class="boldp">Charity </span><span th:text="${paymentDetail.payeeName}"></span>
- </td>
- </tr>
- <div th:include="~{payment_processed_detail}" th:with="paymentDetail=${paymentDetail},currencyCode=${sellerPayments.currencyCode}"></div>
- <span th:if="${paymentDetail.transactionTotal != ''}">
- <tr>
- <td height="37" align="right" colspan="3">
- <div class="boldp">
- <span>Total </span>
- <span class="em contrast" th:text="${ #currencies.format(sellerPayments.transactionTotal, sellerPayments.currencyCode) }"></span>
- </div>
- </td>
- </tr>
- <tr><td height="10" align="right" colspan="3"> </td></tr>
- </span>
- </th:block>
- <tr>
- <td height="37" align="right" colspan="3">
- <div class="boldp">
- <span>Total of all charitable donations </span>
- <span class="em contrast" th:text="${ #currencies.format(sellerPayments.totalCharityAmt, sellerPayments.currencyCode) }"></span>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </span>
- <div style="margin:15px 0;">
- <table width="100%" cellspacing="0" cellpadding="0" border="0" bgcolor="#f6f7f8" style="padding:10px 10px;border:1px solid #6c49c4;">
- <tbody>
- <tr>
- <td height="37">
- <span >Payment processed on [(${sellerPayments.latestPaymentDate})]</span>
- </td>
- <td height="37" align="right">
- <div class="boldp">
- <span>Grand total </span>
- <span class="em contrast" th:text="${ #currencies.format(sellerPayments.totalTransactionAmt, sellerPayments.currencyCode) }"></span>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <span th:if="${#strings.containsIgnoreCase(domain,'.com') or #strings.containsIgnoreCase(domain,'.ca')}">
- <div class="greyp" th:if="${not #arrays.isEmpty(sellerPayments.paypalPayments) or not #arrays.isEmpty(sellerPayments.checkPayments)}">
- PayPal processes most payments within 5 business days after the buyer receives the tickets.
- </div>
- </span>
- <span th:unless="${#strings.containsIgnoreCase(domain,'.com') or #strings.containsIgnoreCase(domain,'.ca')}">
- <div class="greyp">
- Note: StubHub's service fee includes VAT where applicable. This is not a VAT invoice.
- </div>
- </span>
- </div>
- </td>
- </tr>
- </table>
- <div th:replace="~{ SIGNATURE }"></div>
- </div>
- </section>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement