templates/order/partials/direct.html.twig line 1

Open in your IDE?
  1. <div class="row">
  2.     <div class="col-lg-6 offset-lg-3" ng-controller="DirectController">
  3.         <div>
  4.             <div class="select__offer px-3 py-3 mb-3">
  5.                 <div class="d-flex" style="justify-content: space-between;">
  6.                     <h3 class"mb-0">Order</h3>
  7.                     <b class="h3 mb-0">{{get_currency()}}[{current_offer.Price}]</b>
  8.                 </div>
  9.                 <hr />
  10.                 <div class="d-flex d-row gap-3 mt-4 align-items-center">
  11.                     <span><i class="{{ icons[current_sub_service.Text] }}"></i></span>
  12.                     <span style="flex: auto;font-size: 16px;font-weight: bold;line-height: 18px;">
  13.                         [{current_offer.Quantity}] [{current_sub_service.Text}]
  14.                         <br />
  15.                         <em style="font-size: 13px;font-weight: normal;">[{current_offer.Quantity}] [{current_sub_service.Text}] / 1 profile</em>
  16.                     </span>
  17.                     <span style="font-size: 20px;font-weight: bold;">
  18.                         <sub style="bottom: -2px;margin-right: 5px;color: red;" class="text-decoration-line-through">
  19.                             [{truncateToTwoDecimals(current_offer.Price * (1 + (current_offer.Discount / 100)))}]
  20.                         </sub> 
  21.                         {{get_currency()}}[{current_offer.Price}]
  22.                     </span>
  23.                 </div>
  24.                 <hr />
  25.                 {% for item in 1..current_sub_service.max_links %}
  26.                     <div class="mb-3">
  27.                         {# <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}"> #}
  28.                         <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}">
  29.                         <p *ng-if="validation.links.length > 0" class="text-danger">
  30.                             [{validation.links[0]}]
  31.                         </p>
  32.                     </div>
  33.                 {% endfor %}
  34.                 <hr />    
  35.                 <div class="d-flex" style="justify-content: space-between;">
  36.                     <h3 class"mb-0">Total to pay</h3>
  37.                     <b class="h3 mb-0">{{get_currency()}}[{current_offer.Price}]</b>
  38.                 </div>
  39.             </div>
  40.             <div class="select__offer px-3 py-3 mb-3">
  41.                 <h2 class="text-center">Checkout</h2>
  42.                 <div class="mb-3">
  43.                     <label for="email" class="form-label">Enter your e-mail to receive the confirmation order</label>
  44.                     <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}">
  45.                     <p *ng-if="validation.email.length > 0" class="text-danger">
  46.                         [{validation.email[0]}]
  47.                     </p>
  48.                 </div>
  49.                 
  50.                 <div class="mb-3">
  51.                     {# <button class="btn btn-lg btn-primary d-block w-100" ng-click="proceedToCheckout()">Pay {{get_currency()}}[{current_offer.Price}]</button> #}
  52.                     <button class="btn btn-primary btn-lg d-block w-100" ng-click="proceedToCheckout()" ng-disabled="submitting" ng-class="{'loading': submitting}">
  53.                         <span ng-show="submitting">Please wait while submitting your order</span>
  54.                         <span ng-show="!submitting">Pay {{get_currency()}}[{current_offer.Price}]</span>
  55.                     </button>
  56.                 </div>
  57.                 <div class="text-center">
  58.                     <p>
  59.                         By completing your order, you agree to the <a href="/terms/terms" target="_blank">terms of services</a> 
  60.                         and <a href="/terms/privacy" target="_blank">privacy policy</a>.
  61.                     </p>
  62.                     <p>
  63.                         <strong>All pricing is in {{get_currency()}}.</strong> If paying with a different currency, the billed amount is 
  64.                         subject to exchange rates and additional fees.
  65.                     </p>
  66.                 </div>
  67.             </div>
  68.         </div>
  69.     </div>
  70. </div>