paymentsetup.tpl 4.7 KB

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