<div class="row">
<div class="col-lg-6 offset-lg-3" ng-controller="DirectController">
<div>
<div class="select__offer px-3 py-3 mb-3">
<div class="d-flex" style="justify-content: space-between;">
<h3 class"mb-0">Order</h3>
<b class="h3 mb-0">{{get_currency()}}[{current_offer.Price}]</b>
</div>
<hr />
<div class="d-flex d-row gap-3 mt-4 align-items-center">
<span><i class="{{ icons[current_sub_service.Text] }}"></i></span>
<span style="flex: auto;font-size: 16px;font-weight: bold;line-height: 18px;">
[{current_offer.Quantity}] [{current_sub_service.Text}]
<br />
<em style="font-size: 13px;font-weight: normal;">[{current_offer.Quantity}] [{current_sub_service.Text}] / 1 profile</em>
</span>
<span style="font-size: 20px;font-weight: bold;">
<sub style="bottom: -2px;margin-right: 5px;color: red;" class="text-decoration-line-through">
[{truncateToTwoDecimals(current_offer.Price * (1 + (current_offer.Discount / 100)))}]
</sub>
{{get_currency()}}[{current_offer.Price}]
</span>
</div>
<hr />
{% for item in 1..current_sub_service.max_links %}
<div class="mb-3">
{# <input type="text" class="form-control" placeholder="Enter link" aria-describedby="basic-addon2" ng-model="order.links[0]" ng-class="{'is-invalid': validation.links.length > 0}"> #}
<input type="text" class="form-control" id="links" placeholder="Enter your link" required ng-model="order.links[0]" ng-class="{'is-invalid ng-invalid': validation.links.length > 0}">
<p *ng-if="validation.links.length > 0" class="text-danger">
[{validation.links[0]}]
</p>
</div>
{% endfor %}
<hr />
<div class="d-flex" style="justify-content: space-between;">
<h3 class"mb-0">Total to pay</h3>
<b class="h3 mb-0">{{get_currency()}}[{current_offer.Price}]</b>
</div>
</div>
<div class="select__offer px-3 py-3 mb-3">
<h2 class="text-center">Checkout</h2>
<div class="mb-3">
<label for="email" class="form-label">Enter your e-mail to receive the confirmation order</label>
<input type="text" class="form-control" id="email" placeholder="Enter your email" required ng-model="order.email" ng-class="{'is-invalid': validation.email.length > 0}">
<p *ng-if="validation.email.length > 0" class="text-danger">
[{validation.email[0]}]
</p>
</div>
<div class="mb-3">
{# <button class="btn btn-lg btn-primary d-block w-100" ng-click="proceedToCheckout()">Pay {{get_currency()}}[{current_offer.Price}]</button> #}
<button class="btn btn-primary btn-lg d-block w-100" ng-click="proceedToCheckout()" ng-disabled="submitting" ng-class="{'loading': submitting}">
<span ng-show="submitting">Please wait while submitting your order</span>
<span ng-show="!submitting">Pay {{get_currency()}}[{current_offer.Price}]</span>
</button>
</div>
<div class="text-center">
<p>
By completing your order, you agree to the <a href="/terms/terms" target="_blank">terms of services</a>
and <a href="/terms/privacy" target="_blank">privacy policy</a>.
</p>
<p>
<strong>All pricing is in {{get_currency()}}.</strong> If paying with a different currency, the billed amount is
subject to exchange rates and additional fees.
</p>
</div>
</div>
</div>
</div>
</div>