<?php

if ( !defined( 'ABSPATH' ) ) {
    exit;
}
 $templ = WooZnd_Util::GetPostTypeOption('wznd_giftcard');
 
?><div class="input-box">
    <div class="label">
        <span><?php echo esc_html__('PDF Template', 'woo-smart-pack'); ?></span>
    </div>
    <div class="input select-box">
        <select name="pdf_template_id" class="wc-enhanced-select">
            <?php
            foreach ($templ as $key => $value) {
                ?>
                <option value="<?php echo esc_attr($key); ?>"><?php echo esc_html($value); ?></option>
                <?php
            }
            ?>
        </select>
    </div>
</div>   
<div class="input-box">
    <div class="label">
        <span><?php echo esc_html__('Email Template', 'woo-smart-pack'); ?></span>
    </div>
    <div class="input select-box">
        <select name="email_template_id"> 
            <option value=""><?php echo esc_html__('Default', 'woo-smart-pack'); ?></option>
            <?php
            foreach ($templ as $key => $value) {
                ?>
                <option value="<?php echo esc_attr($key); ?>"><?php echo esc_html($value); ?></option>
                <?php
            }
            ?>
        </select>
    </div>
</div>   
<div class="input-box last">
    <div class="label" style="vertical-align: top">
        <span><?php echo esc_html__('Message', 'woo-smart-pack'); ?></span>
    </div>
    <div class="input text-area">
        <textarea name="message" placeholder="<?php echo esc_html__('Message', 'woo-smart-pack'); ?>" style="height: 123px;"></textarea>
    </div>
</div>
