<?php
/**
 * @var $auctionCommission int
 * @var $displayVatField string
 * @var $lotHelper LotHelper
 */

use auctionforge\inc\helpers\LotHelper;

?>
<script type="text/template" id="modal-post-sale-confirm-template">
    <header class="modal__header">
        <h2 class="modal__title modal__title_without-logo" id="modal-post-sale-confirm-title">
            <?= __('Confirm purchase', 'auctionforge') ?>:
        </h2>
    </header>
    <main class="modal__content bp-mb-30">
        <button class="modal__close" aria-label="Close modal" data-micromodal-close></button>
        <p class="modal__content__item modal__content__item-light bp-d-flex"><?= __('Thanks for your order', 'auctionforge') ?>!</p>
        <p class="modal__content__item modal__content__item-light bp-d-flex hidden">
            <?= sprintf(__('Auction house "%s" will contact you soon to set the payment and schedule the item delivery', 'auctionforge'), get_option('blogname')) ?>.
        </p>
        <p class="modal__content__item modal__content__item-light bp-d-flex"><?= __('We will send you an invoice for payment soon', 'auctionforge') ?>.</p>
        <p class="modal__content__item modal__content__item-light bp-d-flex modal__content__item-light-text">
            <span>Phone: <%- data.phone %></span>
            <span>Email: <%- data.email %></span>
        </p>
    </main>
    <footer class="modal__footer bp-d-flex"></footer>
</script>