message_transfer.html.twig 1.4 KB

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