Skip to content

Commit

Permalink
defaultně vypnutý VAT exempt checkbox (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
vyskoczilova committed Jan 3, 2024
1 parent 668f68c commit cec00e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion includes/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function woolab_icdic_icdic_general_settings($settings) {

$vat_desc = __( 'Enable VAT exemption for valid EU VAT numbers', 'woolab-ic-dic' );
if ( wc_tax_enabled() ) {
$vat_check = 'yes';
$vat_check = 'no';
} else {
$vat_desc = $vat_desc . '<br><span style="color:#ca4a1f">' . __( 'To enable this feature, turn on taxes in your store.', 'woolab-ic-dic' ) . '</span>';
$vat_check = 'no';
Expand Down
4 changes: 4 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ Either post it on [GitHub](https://github.com/vyskoczilova/kybernaut-ic-dic) or

== Changelog ==

= 1.8.0 () =

* Fix: VAT exempt checkbox default to off.

= 1.7.5 (2023-12-19) =

* Fix: Accidentaly broken toggle switch in 1.7.4.
Expand Down

0 comments on commit cec00e9

Please sign in to comment.