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