import { condition_options } from '../../helper'; declare var acfw_edit_coupon: any; /** * Return cart subtotal condition field template markup. * * @since 1.15 * * @param data */ export default function cart_subtotal_template(data: any): string { const { condition, value, include_tax } = data; const { cart_condition_fields, condition_label, default_include_tax } = acfw_edit_coupon; const { title, desc, field, tax_label } = cart_condition_fields.cart_subtotal; // if include_tax is undefined, get the value from the woocommerce settings backend const include_tax_value = include_tax ?? default_include_tax; return `
`; }