{#
 # Admin Tier Row Template
 #
 # @package WC_Tier_Package_Prices
 # @var int index
 # @var array tier
 # @var string field_prefix (optional) - Prefix for field names (for variations)
 #}
{% set name_prefix = field_prefix is defined ? field_prefix : '_wc_tpp_tiers' %}
<tr class="wc-tpp-tier-row">
    <td>
        <input type="number"
               name="{{ name_prefix }}[{{ index|esc_attr }}][min_qty]"
               value="{{ tier.min_qty|default('')|esc_attr }}"
               placeholder="{{ 'e.g., 10'|__('wc-tier-package-prices') }}"
               min="1"
               step="1"
               class="short">
    </td>
    <td>
        <input type="text"
               name="{{ name_prefix }}[{{ index|esc_attr }}][price]"
               value="{{ tier.price|default('')|esc_attr }}"
               placeholder="{{ ('e.g., 9.99 ' ~ currency_symbol)|__('wc-tier-package-prices') }}"
               class="short wc_input_price">
    </td>
    <td>
        <input type="text"
               name="{{ name_prefix }}[{{ index|esc_attr }}][label]"
               value="{{ tier.label|default('')|esc_attr }}"
               placeholder="{{ 'e.g., Wholesale'|__('wc-tier-package-prices') }}"
               class="regular">
    </td>
    <td>
        <button type="button" class="button wc-tpp-remove-tier">{{ 'Remove'|__('wc-tier-package-prices') }}</button>
    </td>
</tr>
