session_panel.tpl 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <link rel="stylesheet" type="text/css" href="../resources/css/style.css"/>
  2. <div id="buy-courses-tabs">
  3. <ul class="nav nav-tabs buy-courses-tabs" role="tablist">
  4. <li id="buy-courses-tab" class="" role="presentation">
  5. <a href="course_panel.php" aria-controls="buy-courses" role="tab">{{ 'MyCourses'| get_lang }}</a>
  6. </li>
  7. {% if sessions_are_included %}
  8. <li id="buy-sessions-tab" class="active" role="presentation">
  9. <a href="session_panel.php" aria-controls="buy-sessions" role="tab">{{ 'MySessions'| get_lang }}</a>
  10. </li>
  11. {% endif %}
  12. {% if services_are_included %}
  13. <li id="buy-services-tab" class="" role="presentation">
  14. <a href="service_panel.php" aria-controls="buy-services" role="tab">{{ 'MyServices'| get_plugin_lang('BuyCoursesPlugin') }}</a>
  15. </li>
  16. {% endif %}
  17. <li id="buy-courses-tab" class="" role="presentation">
  18. <a href="payout_panel.php" aria-controls="buy-courses" role="tab">{{ 'MyPayouts'| get_plugin_lang('BuyCoursesPlugin') }}</a>
  19. </li>
  20. </ul>
  21. <table class="table table-striped table-hover">
  22. <thead>
  23. <tr>
  24. <th>{{ 'Session'|get_lang }}</th>
  25. <th class="text-center">{{ 'PaymentMethod'|get_plugin_lang('BuyCoursesPlugin') }}</th>
  26. <th class="text-center">{{ 'Price'|get_plugin_lang('BuyCoursesPlugin') }}</th>
  27. <th class="text-center">{{ 'OrderDate'|get_plugin_lang('BuyCoursesPlugin') }}</th>
  28. <th class="text-center">{{ 'OrderReference'|get_plugin_lang('BuyCoursesPlugin') }}</th>
  29. </tr>
  30. </thead>
  31. <tbody>
  32. {% for sale in sale_list %}
  33. <tr>
  34. <td>{{ sale.product_name }}</td>
  35. <td class="text-center">{{ sale.payment_type }}</td>
  36. <td class="text-right">{{ sale.currency ~ ' ' ~ sale.price }}</td>
  37. <td class="text-center">{{ sale.date }}</td>
  38. <td class="text-center">{{ sale.reference }}</td>
  39. </tr>
  40. {% endfor %}
  41. </tbody>
  42. </table>
  43. </div>