paymentsetup.tpl 4.9 KB

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