paymentsetup.html.twig 4.4 KB

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