paymentsetup.tpl 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <script type='text/javascript' src="../js/buycourses.js"></script>
  2. <link rel="stylesheet" type="text/css" href="../resources/css/style.css"/>
  3. {{ curency_form }}
  4. <p class="alert alert-info">
  5. {{ 'PluginInstruction'|get_plugin_lang('BuyCoursesPlugin') }}
  6. <a href="{{ _p.web_main }}admin/configure_plugin.php?name=buycourses">{{ 'ClickHere'|get_plugin_lang('BuyCoursesPlugin') }}</a>
  7. </p>
  8. {% if paypal_enable == "true" %}
  9. <div class="panel panel-default">
  10. <div class="panel-heading">
  11. <h3 class="panel-title">{{ 'PayPalConfig'|get_plugin_lang('BuyCoursesPlugin') }}</h3>
  12. </div>
  13. <div class="panel-body">
  14. <div class="row">
  15. <div class="col-md-5">
  16. <p>{{ 'InfoApiCredentials'|get_plugin_lang('BuyCoursesPlugin') }}</p>
  17. <ul>
  18. <li>{{ 'InfoApiStepOne'|get_plugin_lang('BuyCoursesPlugin') }}</li>
  19. <li>{{ 'InfoApiStepTwo'|get_plugin_lang('BuyCoursesPlugin') }}</li>
  20. <li>{{ 'InfoApiStepThree'|get_plugin_lang('BuyCoursesPlugin') }}</li>
  21. </ul>
  22. </div>
  23. <div class="col-md-7">
  24. {{ paypal_form }}
  25. </div>
  26. </div>
  27. </div>
  28. </div>
  29. {% endif %}
  30. {% if commissions_enable == "true" %}
  31. <div class="panel panel-default">
  32. <div class="panel-heading">
  33. <h3 class="panel-title">{{ 'CommissionsConfig'|get_plugin_lang('BuyCoursesPlugin') }}</h3>
  34. </div>
  35. <div class="panel-body">
  36. <div class="row">
  37. <div class="col-md-5">
  38. <p>{{ 'InfoCommissions'|get_plugin_lang('BuyCoursesPlugin') }}</p>
  39. </div>
  40. <div class="col-md-7">
  41. {{ commission_form }}
  42. </div>
  43. </div>
  44. </div>
  45. </div>
  46. {% endif %}
  47. {% if transfer_enable == "true" %}
  48. <div class="panel panel-default">
  49. <div class="panel-heading">
  50. <h3 class="panel-title">{{ 'TransfersConfig'|get_plugin_lang('BuyCoursesPlugin') }}</h3>
  51. </div>
  52. <div class="panel-body">
  53. <div class="row">
  54. <div class="col-md-5">
  55. {{ transfer_form }}
  56. </div>
  57. <div class="col-md-7">
  58. <div class="table-responsive">
  59. <table class="table table-striped table-hover">
  60. <thead>
  61. <tr>
  62. <th>{{ 'Name'|get_lang }}</th>
  63. <th>{{ 'BankAccount'|get_plugin_lang('BuyCoursesPlugin') }}</th>
  64. <th>{{ 'SWIFT'|get_plugin_lang('BuyCoursesPlugin') }}</th>
  65. <th>{{ 'Actions'|get_lang }}</th>
  66. </tr>
  67. </thead>
  68. <tbody>
  69. {% for account in transfer_accounts %}
  70. <tr>
  71. <td>{{ account.name }}</td>
  72. <td>{{ account.account }}</td>
  73. <td>{{ account.swift }}</td>
  74. <td>
  75. <a href="{{ _p.web_self ~ '?' ~ {'action':'delete_taccount', 'id': account.id}|url_encode() }}" class="btn btn-danger btn-sm">
  76. <em class="fa fa-remove"></em> {{ 'Delete'|get_lang }}
  77. </a>
  78. </td>
  79. </tr>
  80. {% endfor %}
  81. </tbody>
  82. </table>
  83. </div>
  84. </div>
  85. </div>
  86. </div>
  87. </div>
  88. {% endif %}