← All changes
|
src/Addons/RequestAQuote/Integration/PricingRulesIntegration.php
+2
-2
7.1.1
→
8.0.2
View file →
| @@ -245,15 +245,15 @@ | ||
| 245 | 245 | 'class' => 'select short tpt-quote-form-select', |
| 246 | 246 | ) ); |
| 247 | 247 | |
| 248 | 248 | $wrapperStyle = ( ! empty( $currentFormId ) ) ? '' : 'display:none;'; |
| 249 | - echo '<div id="tpt-quote-entity-settings-wrapper' . esc_attr( $idSuffix ) . '" class="tpt-quote-settings-wrapper" style="' . $wrapperStyle . '">'; | |
| 249 | + echo '<div id="tpt-quote-entity-settings-wrapper' . esc_attr( $idSuffix ) . '" class="tpt-quote-settings-wrapper" style="' . esc_attr( $wrapperStyle ) . '">'; | |
| 250 | 250 | |
| 251 | 251 | $labelStyle = 'display:none;'; |
| 252 | 252 | if ( ! empty( $currentFormId ) && isset( $formsData[ $currentFormId ] ) && $formsData[ $currentFormId ]['display_position'] === 'integrated' ) { |
| 253 | 253 | $labelStyle = ''; |
| 254 | 254 | } |
| 255 | - echo '<div id="tpt-quote-integrated-label-wrapper' . esc_attr( $idSuffix ) . '" class="tpt-quote-label-wrapper" style="' . $labelStyle . '">'; | |
| 255 | + echo '<div id="tpt-quote-integrated-label-wrapper' . esc_attr( $idSuffix ) . '" class="tpt-quote-label-wrapper" style="' . esc_attr( $labelStyle ) . '">'; | |
| 256 | 256 | woocommerce_wp_text_input( array( |
| 257 | 257 | 'id' => '_tier_pricing_table_quote_integrated_label_text' . $idSuffix, |
| 258 | 258 | 'name' => $nameLabel, |
| 259 | 259 | 'value' => $labelVal, |