payout_panel.tpl 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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="" role="presentation">
  9. <a href="session_panel.php" aria-controls="buy-sessions" role="tab">{{ 'MySessions'| get_lang }}</a>
  10. </li>
  11. {% endif %}
  12. <li id="buy-courses-tab" class="active" role="presentation">
  13. <a href="payout_panel.php" aria-controls="buy-courses"
  14. role="tab">{{ 'MyPayouts'| get_plugin_lang('BuyCoursesPlugin') }}</a>
  15. </li>
  16. </ul>
  17. {% if not payout_list %}
  18. <p class="alert alert-info">
  19. {{ 'WantToSellCourses'|get_plugin_lang('BuyCoursesPlugin') }}
  20. <a href="#">{{ 'ClickHere'|get_plugin_lang('BuyCoursesPlugin') }}</a>
  21. </p>
  22. {% endif %}
  23. {% if payout_list %}
  24. <table class="table table-striped table-hover">
  25. <thead>
  26. <tr>
  27. <th class="text-center">{{ 'OrderReference'| get_plugin_lang('BuyCoursesPlugin') }}</th>
  28. <th class="text-center">{{ 'PayoutDate'| get_plugin_lang('BuyCoursesPlugin') }}</th>
  29. <th class="text-right">{{ 'Commission'| get_plugin_lang('BuyCoursesPlugin') }}</th>
  30. <th class="text-right">{{ 'PayPalAccount'| get_plugin_lang('BuyCoursesPlugin') }}</th>
  31. </tr>
  32. </thead>
  33. <tbody>
  34. {% for payout in payout_list %}
  35. <tr>
  36. <td class="text-center" style="vertical-align:middle"><a id="{{ payout.sale_id }}" class="saleInfo"
  37. data-toggle="modal" data-target="#saleInfo"
  38. href="#">{{ payout.reference }}</a></td>
  39. <td class="text-center" style="vertical-align:middle">{{ payout.payout_date }}</td>
  40. <td class="text-right"
  41. style="vertical-align:middle">{{ payout.currency ~ ' ' ~ payout.commission }}</td>
  42. <td class="text-right" style="vertical-align:middle">{{ payout.paypal_account }}</td>
  43. </tr>
  44. {% endfor %}
  45. </tbody>
  46. </table>
  47. {% endif %}
  48. </div>