123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- <div class="actions">
- <a href="{{ _p.web }}main/auth/courses.php" title="{{ "Back"|get_lang }}">
- <img src="{{ "back.png"|icon(32) }}" width="32" height="32" alt="{{ "Back"|get_lang }}"
- title="{{ "Back"|get_lang }}"/>
- </a>
- </div>
- <div class="page-header">
- <h3>{{ 'PurchaseData'|get_plugin_lang('BuyCoursesPlugin') }}</h3>
- </div>
- <div class="row">
- <div class="col-md-12">
- <div class="panel panel-default panel-box-buy">
- <div class="panel-body">
- <div class="buy-info">
- {% if buying_service %}
- <div class="row">
- <div class="col-md-3">
- <a href='{{ _p.web }}service/{{ service.id }}'>
- <img alt="{{ service.name }}" class="img-rounded img-responsive"
- src="{{ service.image ? service.image : 'session_default.png'|icon() }}">
- </a>
- {% if service.tax_enable %}
- <div class="price-details-tax">
- {{ 'Price'|get_plugin_lang('BuyCoursesPlugin')}} :
- {{ service.currency == 'BRL' ? 'R$' : service.currency }} {{ service.price_without_tax }}
- <br>
- {{ service.tax_name }} ({{ service.tax_perc_show }}%):
- {{ service.currency == 'BRL' ? 'R$' : service.currency }} {{ service.tax_amount }}
- </div>
- <div class="price">
- {{ 'Total'|get_plugin_lang('BuyCoursesPlugin')}} :
- {{ service.currency == 'BRL' ? 'R$' : service.currency }} {{ service.price_with_tax }}
- </div>
- {% else %}
- <div class="price">
- {{ 'Total'|get_plugin_lang('BuyCoursesPlugin')}} :
- {{ service.currency == 'BRL' ? 'R$' : service.currency }} {{ service.price }}
- </div>
- {% endif %}
-
- </div>
- <div class="col-md-9">
- <div class="buy-item">
- <h3 class="title">
- <a href='{{ _p.web }}service/{{ service.id }}'>{{ service.name }}</a>
- </h3>
- {% if service.description %}
- <div class="description">
- {{ service.description }}
- </div>
- {% endif %}
- <ul class="fa-ul list-description">
- {% if service.applies_to %}
- <li>
- <em class="fa-li fa fa-hand-o-right" aria-hidden="true"></em>
- {% if service.applies_to == 0 %}
- {{ 'AppliesTo'|get_plugin_lang('BuyCoursesPlugin') ~ ' ' ~ 'None'|get_lang }}
- {% elseif service.applies_to == 1 %}
- {{ 'AppliesTo'|get_plugin_lang('BuyCoursesPlugin') ~ ' ' ~ 'User'|get_lang }}
- {% elseif service.applies_to == 2 %}
- {{ 'AppliesTo'|get_plugin_lang('BuyCoursesPlugin') ~ ' ' ~ 'Course'|get_lang }}
- {% elseif service.applies_to == 3 %}
- {{ 'AppliesTo'|get_plugin_lang('BuyCoursesPlugin') ~ ' ' ~ 'Session'|get_lang }}
- {% elseif service.applies_to == 4 %}
- {{ 'AppliesTo'|get_plugin_lang('BuyCoursesPlugin') ~ ' ' ~ 'TemplateTitleCertificate'|get_lang }}
- {% endif %}
- </li>
- {% endif %}
- <li>
- <em class="fa-li fa fa-money" aria-hidden="true"></em>
- {{ 'Price'|get_plugin_lang('BuyCoursesPlugin') }}
- {% if service.tax_enable %}
- : {{ service.currency == 'BRL' ? 'R$' : service.currency }} {{ service.price_with_tax }}
- {% else %}
- : {{ service.currency == 'BRL' ? 'R$' : service.currency }} {{ service.price }}
- {% endif %}
- / {{ service.duration_days == 0 ? 'NoLimit'|get_lang : service.duration_days ~ ' ' ~ 'Days'|get_lang }}
- </li>
- <li><em class="fa-li fa fa-user" aria-hidden="true"></em> {{ service.owner_name }}</li>
- </ul>
- </div>
- </div>
- </div>
- {% endif %}
- </div>
- <div class="buy-summary">
- <h3>{{ 'PaymentMethods'|get_plugin_lang('BuyCoursesPlugin') }}</h3>
- {{ form }}
- </div>
- </div>
- </div>
- </div>
- </div>
- <script>
- $(document).ready(function () {
- $("label").removeClass('control-label');
- $('.form_required').remove();
- $("small").remove();
- $("label[for=submit]").remove();
- });
- </script>
|