<?php
// Exit if accessed directly
if (! defined('ABSPATH')) exit; ?>
<div id="customer-payment" class="bookingor-ft bookingor-d-none   f-height">
    <div class="t-b-set">
        <div class="customer-book-details bk-pd-all f-height">
            <?php if (get_option("bookingor_settings_customer_payment_active") === "on") {
            ?>
                <div id="front-customer-pay">
                    <div class="mb-3 full-head-1 bookingor-payment-heading"><?php echo esc_html(get_option('bookingor_settings_customer_payment_name')); ?></div>
                    <div id="on-visit-is-active" class="mb-4">
                        <div class="cont-rd">
                            <div>
                                <input type="radio" id="on-visit" name="customer_pay" value="on-visit" />
                                <span class="checkmark-1"></span>
                            </div>
                            <div class="t-ic">
                                <div class="d-c-icon"><img src="<?php echo esc_url(plugin_dir_url(dirname(dirname(__FILE__))) . './../assets/images/icons8-wallet-32.png'); ?>" alt="" /></div>
                                <label class="bookingor-pay-visit-label"><?php echo esc_html(get_option("bookingor_settings_pay_on_visit_name")); ?></label>
                            </div>
                        </div>
                    </div>


                    <div class="cs-pay-valid"></div>
                </div>

            <?php } else {
            ?>
                <input class="bookingor-d-none" type="radio" id="on-visit" name="customer_pay" value="NIL" checked />
                <div class="bookingor-d-none cs-pay-valid"></div>

            <?php
            }
            if (get_option("bookingor_settings_cart_payment_information_required") === "on") { ?>
                <div class="mbg" id="customer-pay-details">
                    <div id="front-customer-comp-pay">

                    </div>
                </div>
            <?php } ?>
        </div>
        <div class="two-tbs main_botm progress-bar-to-show">
            <div class="bookingor-flex justify-content-between" id="bookingor-paying-now">
                <button type="button" id="customer-book-back" class="bookingor-btn_back bookingor-button"><?php echo esc_html(get_option("bookingor_settings_back_button_text")); ?></button>
                <button type="submit" id="customer-design-finish" class="btn_orange bookingor-button bookingor-cont-btn"><?php esc_html_e("Confirm Payment", "bookingor"); ?></button>
            </div>
        </div>
    </div>
</div>