message_transfer.tpl 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <div>
  2. <p>{{ 'DearUser'|get_lang }}</p>
  3. <p>{{ 'PurchaseDetailsIntro'|get_plugin_lang('BuyCoursesPlugin') }}</p>
  4. <dl>
  5. <dt>{{ 'OrderDate'|get_plugin_lang('BuyCoursesPlugin') }}</dt>
  6. <dd>{{ sale.date|api_convert_and_format_date(constant('DATE_TIME_FORMAT_LONG_24H')) }}</dd>
  7. <dt>{{ 'OrderReference'|get_plugin_lang('BuyCoursesPlugin') }}</dt>
  8. <dd>{{ sale.reference }}</dd>
  9. <dt>{{ 'UserName'|get_lang }}</dt>
  10. <dd>{{ user.complete_name }}</dd>
  11. <dt>{{ 'ProductName'|get_plugin_lang('BuyCoursesPlugin') }}</dt>
  12. <dd>{{ sale.product }}</dd>
  13. <dt>{{ 'SalePrice'|get_plugin_lang('BuyCoursesPlugin') }}</dt>
  14. <dd>{{ sale.currency ~ ' ' ~ sale.price }}</dd>
  15. </dl>
  16. <p>{{ 'BankAccountIntro'|get_plugin_lang('BuyCoursesPlugin')|format(sale.product) }}</p>
  17. <table>
  18. <thead>
  19. <tr>
  20. <th>{{ 'Name'|get_lang }}</th>
  21. <th>{{ 'BankAccount'|get_plugin_lang('BuyCoursesPlugin') }}</th>
  22. <th>{{ 'SWIFT'|get_plugin_lang('BuyCoursesPlugin') }}</th>
  23. </tr>
  24. </thead>
  25. <tbody>
  26. {% for account in transfer_accounts %}
  27. <tr>
  28. <td>{{ account.name }}</td>
  29. <td>{{ account.account }}</td>
  30. <td>{{ account.swift }}</td>
  31. </tr>
  32. {% endfor %}
  33. </tbody>
  34. </table>
  35. <p>{{ 'PurchaseDetailsEnd'|get_plugin_lang('BuyCoursesPlugin') }}</p>
  36. </div>