<?php
if (!defined('ABSPATH')) exit; // Exit if accessed directly 
?>

<div class="iwbvel-tab-content-item" data-content="set_schedule">
    <?php
    if (!defined('IWBVE_ACTIVE') || !IWBVE_ACTIVE):
        include IWBVEL_VIEWS_DIR . 'alerts/warning-active-pro.php';
    else:
    ?>
        <div class="iwbvel-alert iwbvel-alert-default" style="padding-bottom: 10px;">
            <span><?php esc_html_e('The current Bulk Form will be saved as a job and applied on specific date/time.', 'ithemeland-bulk-variation-editing-for-woocommerce'); ?>
                <button type="button" class="iwbvel-schedule-current-time-update-button"><i class="iwbvel-icon-refresh-cw"></i></button>
                <div style="float: right;">
                    <span style="color: #444;"><?php esc_html_e('Universal time is:', 'ithemeland-bulk-variation-editing-for-woocommerce'); ?> </span>
                    <span class="iwbvel-set-schedule-current-time"><?php echo esc_html(current_datetime()->format('Y-m-d H:i')); ?></span>
                </div>
            </span>
        </div>
        <div class="iwbvel-wrap">
            <div class="iwbvel-form-group">
                <label><?php esc_html_e('Enable Schedule Bulk Edit', 'ithemeland-bulk-variation-editing-for-woocommerce'); ?></label>
                <input type="checkbox" class="iwbvel-set-schedule-enable-schedule required" value="yes">
            </div>
            <?php include IWBVEL_DIR . "classes/services/scheduler/views/job_form/job_form.php"; ?>
        </div>
    <?php endif; ?>
</div>